ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how to use diff_drive_controller

asked 2014-11-06 13:28:39 -0500

Fullmetal99012 gravatar image

I have installed ros_control, ros_controllers, and diff_drive_controller under ROS indigo. however, I am having issues getting the diff_drive_controller node to rosrun.

normally i can tab complete the node executable (e.g rosrun joy joy_node). however, diff drive does not allow autocomplete, and doesn't seem to have an executable. perhaps I have missed something that needs to be set up, but i've read the wiki page a few times and haven't found anything outstanding that would seem to break the install.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-11-07 02:37:41 -0500

Adolfo Rodriguez T gravatar image

diff_drive_controller is not a node, it is a controller_manager plugin. In order to use it, there should be a ros node with a controller_manager managing your robot's resources. There are out-of-the-box plugins for doing this in Gazebo (see the gazebo_ros_control package), while if you want to have this running on real hardware you'll need to expose your robot to ros_control first.

You can find a high-level overview of ros_control in the ROSCON 2014 program. It's the second talk here.

edit flag offensive delete link more

Comments

1

hi Adolfo Rodriguez T .. i already use diff_drive_controller in my simulation it works good. But now i want to implement it on real robot.i don't know how i use it with real robot because i want to publish cmd_vel to real robot and i don't know how to makr driver for this.please help me. on ros wiki

M.Ahmed gravatar image M.Ahmed  ( 2016-02-26 05:45:34 -0500 )edit

hi Adolfo, how is the diff_drive_controller interface with the ros_control? is there some place more clarity can be gained regarding this?

hc gravatar image hc  ( 2018-03-30 11:28:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-11-06 13:28:39 -0500

Seen: 2,317 times

Last updated: Nov 07 '14