Skip to content

Commit

Permalink
Add WheelOdomMecanum message type (#3)
Browse files Browse the repository at this point in the history
* Adjust wheel odom message to mecannum wheels

Signed-off-by: Bitterisland6 <[email protected]>

* Revert "Adjust wheel odom message to mecannum wheels"

This reverts commit 53d4a5a.

* Add separate message for mecanum odometry

Signed-off-by: Bitterisland6 <[email protected]>

* changed name of the message file

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

* sort names in CMakeLists file

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

---------

Signed-off-by: Aleksander Szymański <[email protected]>
  • Loading branch information
Bitterisland6 authored Aug 2, 2023
1 parent feef4ba commit 8c52486
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 @@ -9,6 +9,7 @@ find_package(catkin REQUIRED COMPONENTS
add_message_files(FILES
Imu.msg
WheelOdom.msg
WheelOdomMecanum.msg
WheelStates.msg
)

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.

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 8c52486

Please sign in to comment.