5namespace RoboidControl {
13 static const unsigned char id = 0x10;
55 virtual unsigned char Serialize(
char* buffer)
override;
Root structure for all communcation messages.
Definition IMessage.h:6
Message to communicate the pose of the thing The pose is in local space relative to the parent....
Definition PoseMsg.h:10
static const unsigned char Pose_Position
Bit pattern for a pose with position.
Definition PoseMsg.h:25
Spherical angularVelocity
The angular velocity of the thing in local space.
Definition PoseMsg.h:41
SwingTwist orientation
The orientation of the thing in local space.
Definition PoseMsg.h:36
static const unsigned char Pose_AngularVelocity
Bit pattern for a pose with angular velocity.
Definition PoseMsg.h:31
unsigned char networkId
The network ID of the thing.
Definition PoseMsg.h:18
virtual ~PoseMsg()
Destructor for the message.
Definition PoseMsg.cpp:42
static const unsigned char Pose_Orientation
Bit pattern for a pose with orientation.
Definition PoseMsg.h:27
Spherical linearVelocity
The linear velocity of the thing in local space in meters per second.
Definition PoseMsg.h:39
virtual unsigned char Serialize(char *buffer) override
Serialize the message into a byte array for sending.
Definition PoseMsg.cpp:44
unsigned char thingId
The ID of the thing.
Definition PoseMsg.h:20
unsigned char length
The length of the message in bytes.
Definition PoseMsg.h:15
Spherical position
The position of the thing in local space in meters.
Definition PoseMsg.h:34
static const unsigned char Pose_LinearVelocity
Bit pattern for a pose with linear velocity.
Definition PoseMsg.h:29
unsigned char poseType
Bit pattern stating which pose components are available.
Definition PoseMsg.h:23
A thing is the primitive building block.
Definition Thing.h:20