Skip to content

Commit

Permalink
Mecanum Wheel Odom message (#3)
Browse files Browse the repository at this point in the history
* add msg definition for Mecanum Wheel Odometry

Signed-off-by: Aleksander Szymański <[email protected]>

* include new msg file in CMakeLists file

Signed-off-by: Aleksander Szymański <[email protected]>

* fix field type in message definition

Signed-off-by: Aleksander Szymański <[email protected]>

---------

Signed-off-by: Aleksander Szymański <[email protected]>
  • Loading branch information
Bitterisland6 authored Sep 13, 2023
1 parent 9ba77ab commit 0c044b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions leo_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ find_package(builtin_interfaces REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Imu.msg"
"msg/WheelOdom.msg"
"msg/WheelOdomMecanum.msg"
"msg/WheelStates.msg"
"srv/SetImuCalibration.srv"
DEPENDENCIES builtin_interfaces
Expand Down
14 changes: 14 additions & 0 deletions leo_msgs/msg/WheelOdomMecanum.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This message represents the pose and velocity of a mecanum wheeled robot, estimated from the wheel encoders.
#
# The velocity_* fields represent the linear and angular velocity of the robot.
# The pose_* fields represent the x, y and yaw pose of the robot w.r.t. the starting pose.
#
# The coordinate frame that represents the robot is located at the center of rotation.

builtin_interfaces/Time stamp
float32 velocity_lin_x
float32 velocity_lin_y
float32 velocity_ang
float32 pose_x
float32 pose_y
float32 pose_yaw

0 comments on commit 0c044b4

Please sign in to comment.