MRPT  1.9.9
cmt3.cpp File Reference

Detailed Description

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

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.

Changelog

2006-04-28, v0.0.1
  • Job Mulder: Created
2006-07-21, v0.1.0
  • 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);
#define deviceId
Definition: CIMUXSens.cpp:40
unsigned char uint8_t
Definition: rptypes.h:41

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);
#define CMT_BID_INVALID
Definition: cmtdef.h:1294
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:3547
GLuint GLuint GLsizei GLenum type
Definition: glext.h:3528
GLsizeiptr size
Definition: glext.h:3923
@ XRV_INVALIDID
Definition: xsens_std.h:130

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); \
}
#define CMT_MID_ERROR
Definition: cmtdef.h:474
XsensResultValue
Xsens return values.
Definition: xsens_std.h:31

Definition at line 303 of file cmt3.cpp.




Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 814d80880 Fri Aug 24 01:51:28 2018 +0200 at mar 26 may 2026 12:30:59 CEST