Macros
protocol1_packet_handler.cpp File Reference
#include <string.h>
#include <stdlib.h>
Include dependency graph for protocol1_packet_handler.cpp:

Go to the source code of this file.

Macros

#define ERRBIT_ANGLE   2
 
#define ERRBIT_CHECKSUM   16
 
#define ERRBIT_INSTRUCTION   64
 
#define ERRBIT_OVERHEAT   4
 
#define ERRBIT_OVERLOAD   32
 
#define ERRBIT_RANGE   8
 
#define ERRBIT_VOLTAGE   1
 
#define PKT_ERROR   4
 
#define PKT_HEADER0   0
 
#define PKT_HEADER1   1
 
#define PKT_ID   2
 
#define PKT_INSTRUCTION   4
 
#define PKT_LENGTH   3
 
#define PKT_PARAMETER0   5
 
#define RXPACKET_MAX_LEN   (250)
 
#define TXPACKET_MAX_LEN   (250)
 

Macro Definition Documentation

#define ERRBIT_ANGLE   2

Definition at line 47 of file protocol1_packet_handler.cpp.

#define ERRBIT_CHECKSUM   16

Definition at line 50 of file protocol1_packet_handler.cpp.

#define ERRBIT_INSTRUCTION   64

Definition at line 52 of file protocol1_packet_handler.cpp.

#define ERRBIT_OVERHEAT   4

Definition at line 48 of file protocol1_packet_handler.cpp.

#define ERRBIT_OVERLOAD   32

Definition at line 51 of file protocol1_packet_handler.cpp.

#define ERRBIT_RANGE   8

Definition at line 49 of file protocol1_packet_handler.cpp.

#define ERRBIT_VOLTAGE   1

Definition at line 46 of file protocol1_packet_handler.cpp.

#define PKT_ERROR   4

Definition at line 42 of file protocol1_packet_handler.cpp.

#define PKT_HEADER0   0

Definition at line 37 of file protocol1_packet_handler.cpp.

#define PKT_HEADER1   1

Definition at line 38 of file protocol1_packet_handler.cpp.

#define PKT_ID   2

Definition at line 39 of file protocol1_packet_handler.cpp.

#define PKT_INSTRUCTION   4

Definition at line 41 of file protocol1_packet_handler.cpp.

#define PKT_LENGTH   3

Definition at line 40 of file protocol1_packet_handler.cpp.

#define PKT_PARAMETER0   5

Definition at line 43 of file protocol1_packet_handler.cpp.

#define RXPACKET_MAX_LEN   (250)

Definition at line 34 of file protocol1_packet_handler.cpp.

#define TXPACKET_MAX_LEN   (250)

Definition at line 33 of file protocol1_packet_handler.cpp.



dynamixel_sdk
Author(s): Gilbert , Zerom , Darby Lim , Leon
autogenerated on Fri Apr 16 2021 02:25:55