-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff_drive_controller fails to initialise and load #500
Comments
Let me try to help you. You are getting into this condition: ros_controllers/diff_drive_controller/src/diff_drive_controller.cpp Lines 634 to 638 in 1fd8d25
Make sure you have your robot URDF model is loaded in "robot_description" param. The urdf tutorials might help you with that |
This is definitely a namespace issue. Unfortunately all throughout ROS these can sometimes crop up in ways that aren't intuitive. Do a |
After messing around, I do think it is a namespace issue. The issue occurs when I insert @wxmerkt I will look at those today and post the outcome ASAP. Thank you everyone! |
Hi, I am trying to implement differential drive on my 4 Wheel robot similar to the Husky and Jackal however when I use the controller I get the following error:
Using Ubuntu 18.04, ROS Melodic
I have looked across the internet for the solution and made sure of the following:
gazebo_ros_control
gazebo plugin.hardware_interface/VelocityJointInterface
left_wheel
andright_wheel
parametersdiff_drive_controller /opt/ros/melodic/share/diff_drive_controller
So what am I missing or doing wrong? The joint_state_controller (and any other controller I add)
loads but the differential drive fails to load. I have even followed the Jackal files to see where I went wrong but still no idea. If you would like to look at the YAML, URDF and launch file: https://answers.ros.org/question/357979/diff_drive_controller-failing-to-launch/
I am new to ROS so I would like to thank you in advance for your help and apologies if this issue is on my behalf.
EDIT
I thought this problem was because I forgot to add the
diff_drive_controller
as a dependency for my package and went on to add the following (to the package.xml and CMakeLists.txt):And It still did not solve anything. I still get the issue above.
The text was updated successfully, but these errors were encountered: