From fcf13848679022883eea4e42665faa95c6210a69 Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Wed, 9 May 2012 12:11:40 +0200 Subject: [PATCH] Add prefix to joint_states topic. --- src/ros_joint_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ros_joint_state.cpp b/src/ros_joint_state.cpp index 7779137..635c9cf 100644 --- a/src/ros_joint_state.cpp +++ b/src/ros_joint_state.cpp @@ -106,7 +106,7 @@ namespace dynamicgraph // do not use callbacks, so do not create a useless spinner nh_ (rosInit (false)), state_ (0, MAKE_SIGNAL_STRING(name, true, "Vector", "state")), - publisher_ (nh_, "joint_states", 5), + publisher_ (nh_, "dynamic_graph/joint_states", 5), jointState_ (), trigger_ (boost::bind (&RosJointState::trigger, this, _1, _2), sotNOSIGNAL, -- GitLab