Closed 15906185391 closed 1 month ago
I don't know ros2_canopen, but what I see now:
I don't know ros2_canopen, but what I see now:
- a remapping on the wrong place (remapping of cmd_vel for robot_state_publisher, but there is no such a topic there).
- you configure two controllers for the same interfaces? What is robot_controller for? maybe ros2_canopen does not work with diff_drive controller if it needs special interfaces.
Thanks for the reply!
I followed the tutorial: https://ros-industrial.github.io/ros2_canopen/manual/rolling/user-guide/how-to-create-a-robot-system.html
Maybe I configure two controllers for the same interfaces. I commented out robot_controller and still have the same problem. ros2_canopen is configured with state_interface and command_interface, and diff_controller should have been configured once as well, and I'm trying to suppress one of the controllers for state and command interface configurations.
Sorry, I have no experience with ros2_canopen. Maybe you should ask there, and link this issue here for reference.
Sorry, I have no experience with ros2_canopen. Maybe you should ask there, and link this issue here for reference.
Thanks for your reply! This is a ros2_canopen problem, and I have solved this issue. Thank you!
Describe the problems Hi,
I'm a student and I'm trying to use diff_drive_controller with ros2_canopen, I followed the tutorials about ros2_canopen and ros2_control, I referenced the config files the sample program from github.
Problem: When I run the program, ros2 diff_drive_controller and ros2_canoepn work fine respectively. When I call
the robot in rviz turned normally, but wheels that ros2_canopen drives are not turning. Some of the files are not configured correctly, but I don't know how to configure them correctly.
the terminal output is
Here are my config files.
diffbot.launch.py
diffbot.urdf.xacro
diffbot.ros2_control.xacro
diffbot_controllers.yaml
bus.yml
The full output is:
The topics are:
The services are:
Environment :
I tried many times but I can not config it correctly. Could you please help me?