Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Macros
cmt3.cpp File Reference

Detailed Description

For information about objects in this file, see the appropriate header:
\ref Cmt3.h

\section FileCopyright Copyright Notice
Copyright (C) Xsens Technologies B.V., 2006.  All rights reserved.

This source code is intended for use only by Xsens Technologies BV and
those that have explicit written permission to use it from
Xsens Technologies BV.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

\section FileChangelog      Changelog
\par 2006-04-28, v0.0.1
\li Job Mulder:     Created
\par 2006-07-21, v0.1.0
\li Job Mulder:     Updated file for release 0.1.0

Definition in file cmt3.cpp.

#include "cmt3.h"
#include <math.h>
#include "xsens_janitors.h"
Include dependency graph for cmt3.cpp:

Go to the source code of this file.

Namespaces

 xsens
 The namespace of all Xsens software since 2006.
 

Macros

#define CMT3LOG(...)
 
#define CMT3EXITLOG
 
#define CMT3LOGDAT(...)
 
#define CMT3EXITLOGDAT
 
#define CMT3F_DEVINFO_SIZE   (sizeof(CmtDeviceId) + sizeof(CmtDataFormat))
 
#define DO_DATA_REQUEST_BID(req, bid)
 
#define DO_DATA_REQUEST(req)
 
#define DO_DATA_SET_BID(req, size, type, data, bid)
 
#define DO_DATA_SET(req, size, type, data)
 
#define HANDLE_ERR_RESULT
 

Macro Definition Documentation

◆ CMT3EXITLOG

#define CMT3EXITLOG

Definition at line 45 of file cmt3.cpp.

◆ CMT3EXITLOGDAT

#define CMT3EXITLOGDAT

Definition at line 55 of file cmt3.cpp.

◆ CMT3F_DEVINFO_SIZE

#define CMT3F_DEVINFO_SIZE   (sizeof(CmtDeviceId) + sizeof(CmtDataFormat))

Definition at line 58 of file cmt3.cpp.

◆ CMT3LOG

#define CMT3LOG (   ...)

Definition at line 44 of file cmt3.cpp.

◆ CMT3LOGDAT

#define CMT3LOGDAT (   ...)

Definition at line 54 of file cmt3.cpp.

◆ DO_DATA_REQUEST

#define DO_DATA_REQUEST (   req)
Value:
uint8_t bid = getBusIdInternal(deviceId); \
DO_DATA_REQUEST_BID(req, bid);

Definition at line 246 of file cmt3.cpp.

◆ DO_DATA_REQUEST_BID

#define DO_DATA_REQUEST_BID (   req,
  bid 
)

Definition at line 210 of file cmt3.cpp.

◆ DO_DATA_SET

#define DO_DATA_SET (   req,
  size,
  type,
  data 
)
Value:
uint8_t bid = getBusIdInternal(deviceId); \
if (bid == CMT_BID_INVALID) return (m_lastResult = XRV_INVALIDID); \
DO_DATA_SET_BID(req, size, type, data, bid);

Definition at line 298 of file cmt3.cpp.

◆ DO_DATA_SET_BID

#define DO_DATA_SET_BID (   req,
  size,
  type,
  data,
  bid 
)

Definition at line 252 of file cmt3.cpp.

◆ HANDLE_ERR_RESULT

#define HANDLE_ERR_RESULT
Value:
if (rcv.getMessageId() == CMT_MID_ERROR) \
{ \
m_lastHwErrorDeviceId = m_config.m_masterDeviceId; \
if (rcv.getDataSize() >= 2) \
{ \
uint8_t biddy = rcv.getDataByte(1); \
getDeviceId(biddy, m_lastHwErrorDeviceId); \
} \
return m_lastResult = m_lastHwError = \
(XsensResultValue)rcv.getDataByte(0); \
}

Definition at line 303 of file cmt3.cpp.

uint8_t
unsigned char uint8_t
Definition: rptypes.h:41
type
GLuint GLuint GLsizei GLenum type
Definition: glext.h:3528
XRV_INVALIDID
@ XRV_INVALIDID
Definition: xsens_std.h:130
CMT_MID_ERROR
#define CMT_MID_ERROR
Definition: cmtdef.h:474
data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:3547
XsensResultValue
XsensResultValue
Xsens return values.
Definition: xsens_std.h:31
CMT_BID_INVALID
#define CMT_BID_INVALID
Definition: cmtdef.h:1294
deviceId
#define deviceId
Definition: CIMUXSens.cpp:40
size
GLsizeiptr size
Definition: glext.h:3923



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST