Skip to content

Commit bb24f89

Browse files
committed
Assign proper topic suffix to callback
1 parent c7ad3da commit bb24f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/YarpPlugins/CartesianControlServerROS2/CartesianControlServerROS2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool CartesianControlServerROS2::configureRosHandlers()
171171
}
172172

173173
m_tool = m_node->create_subscription<geometry_msgs::msg::Pose>(
174-
prefix + "/command/pose", 10,
174+
prefix + "/command/tool", 10,
175175
[this](const geometry_msgs::msg::Pose::SharedPtr msg)
176176
{
177177
const auto v = pose_to_vector(msg.get());

0 commit comments

Comments
 (0)