Hello, I am working through the unit5 in ros2_control framework course and have come across two issues that I cannot resolve.
In the joint_trajectory_controller section the joint trajectory publisher when launched doesn’t seem to be publishing anything, the robot in gazebo stays still
(edit) looking at the publisher topic the name of the joints seem to be those of the solo robot from section6?
In the diff_drive_controller section I am getting this following error
What is happening here is that the configuration file being used by the joint_trajectory_publisher is not the correct one. Sorry about the glitch and thanks for reporting.
Using the code editor please go to: ros2_ws/src/ros2_control_course/common/joint_trajectory_publisher/launch
Please open the file joint_trajectory_publisher.launch.py and locate this block of code:
The problem was caused by referencing a wrong controller, namely diff_drive_controller instead of diffbot_base_controller (which is the controller name defined inside the .yaml file).
Additionally, the command that you should use to move the mobile robot should be this one: