24 #include "rnr/rnrconfig.h" 25 #include "rnr/netmsgs.h" 27 #include "botsense/BotSense.h" 982 #endif // _BSDYNAMSGS_H INLINE_IN_H int BsDynaPackReqSyncWrite(BsDynaReqSyncWrite_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqSyncWrite ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaPackReqSetHalfDuplexCtl(BsDynaReqSetHalfDuplexCtl_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqSetHalfDuplexCtl ITV message in big-endian byte order into the output buffer...
byte_t m_data_size
data_size
INLINE_IN_H int BsDynaPackRspRead16(BsDynaRspRead16_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaRspRead16 ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaPackReqWrite8(BsDynaReqWrite8_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqWrite8 ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaPackRspWrite8(BsDynaRspWrite8_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaRspWrite8 ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaUnpackReqRead8(byte_t buf[], size_t uMsgLen, BsDynaReqRead8_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqRead8 ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackRspWrite8(byte_t buf[], size_t uMsgLen, BsDynaRspWrite8_T *pStruct, bool_t bTrace)
Unpack a BsDynaRspWrite8 ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackReqSyncWrite(byte_t buf[], size_t uMsgLen, BsDynaReqSyncWrite_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqSyncWrite ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaPackReqReset(BsDynaReqReset_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqReset ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaUnpackReqSetHalfDuplexCtl(byte_t buf[], size_t uMsgLen, BsDynaReqSetHalfDuplexCtl_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqSetHalfDuplexCtl ITV message in big-endian byte order from the input buffer...
INLINE_IN_H int BsDynaPackReqOpenArgs(BsDynaReqOpenArgs_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqOpenArgs ITV message in big-endian byte order into the output buffer.
byte_t m_servo_id
servo_id
uint_t m_baudrate
baudrate
byte_t m_servo_id
servo_id
byte_t m_servo_id
servo_id
INLINE_IN_H int BsDynaPackRspRead8(BsDynaRspRead8_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaRspRead8 ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaUnpackReqPing(byte_t buf[], size_t uMsgLen, BsDynaReqPing_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqPing ITV message in big-endian byte order from the input buffer.
size_t BsDynaMsgMaxLenLookupTbl[]
int BsDynaPackMsg(BsDynaMsgId_T eMsgId, void *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a ITV message in big-endian byte order.
#define DYNA_ID_NUMOF
number of unique servo id's
INLINE_IN_H int BsDynaUnpackRspRead8(byte_t buf[], size_t uMsgLen, BsDynaRspRead8_T *pStruct, bool_t bTrace)
Unpack a BsDynaRspRead8 ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackReqReset(byte_t buf[], size_t uMsgLen, BsDynaReqReset_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqReset ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackReqSetBaudRate(byte_t buf[], size_t uMsgLen, BsDynaReqSetBaudRate_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqSetBaudRate ITV message in big-endian byte order from the input buffer...
const NMMsgDef_T * BsDynaLookupMsgDef(BsDynaMsgId_T eMsgId)
Look up the message definition associated with the message id.
INLINE_IN_H int BsDynaPackReqRead8(BsDynaReqRead8_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqRead8 ITV message in big-endian byte order into the output buffer.
int BsDynaUnpackMsg(BsDynaMsgId_T eMsgId, byte_t buf[], size_t uMsgLen, void *pStruct, bool_t bTrace)
Unpack a ITV message in big-endian byte order.
INLINE_IN_H int BsDynaPackReqWrite16(BsDynaReqWrite16_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqWrite16 ITV message in big-endian byte order into the output buffer.
INLINE_IN_H int BsDynaPackRspWrite16(BsDynaRspWrite16_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaRspWrite16 ITV message in big-endian byte order into the output buffer.
uint_t m_baudrate
baudrate
size_t m_count
vector item count
byte_t m_servo_id
servo_id
INLINE_IN_H int BsDynaUnpackRspWrite16(byte_t buf[], size_t uMsgLen, BsDynaRspWrite16_T *pStruct, bool_t bTrace)
Unpack a BsDynaRspWrite16 ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackReqOpenArgs(byte_t buf[], size_t uMsgLen, BsDynaReqOpenArgs_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqOpenArgs ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaPackReqPing(BsDynaReqPing_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqPing ITV message in big-endian byte order into the output buffer. ...
INLINE_IN_H int BsDynaUnpackRspRead16(byte_t buf[], size_t uMsgLen, BsDynaRspRead16_T *pStruct, bool_t bTrace)
Unpack a BsDynaRspRead16 ITV message in big-endian byte order from the input buffer.
byte_t m_servo_id
servo_id
INLINE_IN_H int BsDynaUnpackRspPing(byte_t buf[], size_t uMsgLen, BsDynaRspPing_T *pStruct, bool_t bTrace)
Unpack a BsDynaRspPing ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaPackReqRead16(BsDynaReqRead16_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqRead16 ITV message in big-endian byte order into the output buffer.
byte_t m_servo_id
servo_id
const NMMsgDef_T * BsDynaMsgDefLookupTbl[]
RoadNarrows Dynamixel Top-Level Package Header File.
size_t BsDynaLookupMsgMaxLen(BsDynaMsgId_T eMsgId)
Look up the message maximum length associated with the message id.
INLINE_IN_H int BsDynaPackRspPing(BsDynaRspPing_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaRspPing ITV message in big-endian byte order into the output buffer. ...
INLINE_IN_H int BsDynaPackReqSetBaudRate(BsDynaReqSetBaudRate_T *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace)
Pack a BsDynaReqSetBaudRate ITV message in big-endian byte order into the output buffer.
byte_t m_servo_id
servo_id
INLINE_IN_H int BsDynaUnpackReqRead16(byte_t buf[], size_t uMsgLen, BsDynaReqRead16_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqRead16 ITV message in big-endian byte order from the input buffer.
INLINE_IN_H int BsDynaUnpackReqWrite8(byte_t buf[], size_t uMsgLen, BsDynaReqWrite8_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqWrite8 ITV message in big-endian byte order from the input buffer.
void * m_pAlign
force alignment
INLINE_IN_H int BsDynaUnpackReqWrite16(byte_t buf[], size_t uMsgLen, BsDynaReqWrite16_T *pStruct, bool_t bTrace)
Unpack a BsDynaReqWrite16 ITV message in big-endian byte order from the input buffer.