ros-controls / ros_control

Generic and simple controls framework for ROS
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
478 stars 306 forks source link

Loading joint_state_controller/JointStateController stop #477

Closed nimerf closed 3 years ago

nimerf commented 4 years ago

Hi everyone,,

I try to use ros_control to control motors so I made test to see if I'm able to do it. I write a launch file but when launch it, it stop at loading controller without error :

error

Here is the launch file : Launch

And controller : Controller

What am I doing wrong ?

mateus-amarante commented 3 years ago

Could you provide more details about ROBOT_hardware_interface_node? At first glance, I would suspect the problem is there. Are you calling ros::spin() or periodically calling ros::spingOnce(), so the controller manager services callbacks are called?

nimerf commented 3 years ago

Yes there was a mistake this the ros::spin(). I mess up things a little !