Skip to content
Snippets Groups Projects
Commit 78be5ae7 authored by Compiler bot's avatar Compiler bot
Browse files

autogen lib 2021-06-23T16:46:57+02:00

parent 7e38c10a
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@ namespace mccd_msgs
_y_type y;
typedef float _theta_type;
_theta_type theta;
typedef float _linear_speed_type;
_linear_speed_type linear_speed;
typedef float _angular_speed_type;
_angular_speed_type angular_speed;
typedef float _left_wheel_linear_speed_type;
_left_wheel_linear_speed_type left_wheel_linear_speed;
typedef float _right_wheel_linear_speed_type;
......@@ -27,6 +31,8 @@ namespace mccd_msgs
x(0),
y(0),
theta(0),
linear_speed(0),
angular_speed(0),
left_wheel_linear_speed(0),
right_wheel_linear_speed(0)
{
......@@ -38,6 +44,8 @@ namespace mccd_msgs
offset += serializeAvrFloat64(outbuffer + offset, this->x);
offset += serializeAvrFloat64(outbuffer + offset, this->y);
offset += serializeAvrFloat64(outbuffer + offset, this->theta);
offset += serializeAvrFloat64(outbuffer + offset, this->linear_speed);
offset += serializeAvrFloat64(outbuffer + offset, this->angular_speed);
offset += serializeAvrFloat64(outbuffer + offset, this->left_wheel_linear_speed);
offset += serializeAvrFloat64(outbuffer + offset, this->right_wheel_linear_speed);
return offset;
......@@ -49,13 +57,15 @@ namespace mccd_msgs
offset += deserializeAvrFloat64(inbuffer + offset, &(this->x));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->y));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->theta));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->linear_speed));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->angular_speed));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->left_wheel_linear_speed));
offset += deserializeAvrFloat64(inbuffer + offset, &(this->right_wheel_linear_speed));
return offset;
}
virtual const char * getType() override { return "mccd_msgs/Odometry"; };
virtual const char * getMD5() override { return "b38882eca1cebf6837c7619e762604a5"; };
virtual const char * getMD5() override { return "91e73613a6e74d209ced154280ca0b87"; };
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment