From 234db23a3e9e3fd351c0c9504eeff7061da4150a Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Wed, 23 Nov 2011 10:45:39 +0100
Subject: [PATCH] Fix topic name.

---
 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 8a019d0..acc482f 100644
--- a/src/ros_joint_state.cpp
+++ b/src/ros_joint_state.cpp
@@ -24,7 +24,7 @@ namespace dynamicgraph
     : Entity (n),
       nh_ (rosInit ()),
       state_ (0, MAKE_SIGNAL_STRING(name, true, "Vector", "state")),
-      publisher_ (nh_, "jointState", 5),
+      publisher_ (nh_, "joint_states", 5),
       jointState_ (),
       trigger_ (boost::bind (&RosJointState::trigger, this, _1, _2),
 		sotNOSIGNAL,
-- 
GitLab