4namespace RoboidControl {
12 static const unsigned char id = 0x10;
62 virtual unsigned char Serialize(
char* buffer)
override;
Root structure for all communcation messages.
Definition Messages.h:12
Message to communicate the pose of the thing The pose is in local space relative to the parent....
Definition PoseMsg.h:9
Spherical16 linearVelocity
The linear velocity of the thing in local space in meters per second.
Definition PoseMsg.h:37
virtual ~PoseMsg()
Destructor for the message.
Definition PoseMsg.cpp:26
unsigned char networkId
The network ID of the thing.
Definition PoseMsg.h:17
SwingTwist16 orientation
The orientation of the thing in local space.
Definition PoseMsg.h:35
unsigned char thingId
The ID of the thing.
Definition PoseMsg.h:19
static const unsigned char Pose_Position
Bit pattern for a pose with position.
Definition PoseMsg.h:24
Spherical16 position
The position of the thing in local space in meters.
Definition PoseMsg.h:33
static const unsigned char Pose_LinearVelocity
Bit pattern for a pose with linear velocity.
Definition PoseMsg.h:28
unsigned char length
The length of the message.
Definition PoseMsg.h:14
Spherical16 angularVelocity
The angular velocity of the thing in local space.
Definition PoseMsg.h:39
virtual unsigned char Serialize(char *buffer) override
Serialize the message into a byte array for sending.
Definition PoseMsg.cpp:28
static const unsigned char Pose_Orientation
Bit pattern for a pose with orientation.
Definition PoseMsg.h:26
unsigned char poseType
Bit pattern stating which pose components are available.
Definition PoseMsg.h:22
static const unsigned char Pose_AngularVelocity
Bit pattern for a pose with angular velocity.
Definition PoseMsg.h:30