Skip to content

Commit ae07066

Browse files
[diff_drive_controller] Made odom topic name relative as it was in ROS1. (ros-controls#343)
1 parent 8bbccf2 commit ae07066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff_drive_controller/src/diff_drive_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace
3333
constexpr auto DEFAULT_COMMAND_TOPIC = "~/cmd_vel";
3434
constexpr auto DEFAULT_COMMAND_UNSTAMPED_TOPIC = "~/cmd_vel_unstamped";
3535
constexpr auto DEFAULT_COMMAND_OUT_TOPIC = "~/cmd_vel_out";
36-
constexpr auto DEFAULT_ODOMETRY_TOPIC = "/odom";
36+
constexpr auto DEFAULT_ODOMETRY_TOPIC = "~/odom";
3737
constexpr auto DEFAULT_TRANSFORM_TOPIC = "/tf";
3838
} // namespace
3939

0 commit comments

Comments
 (0)