Closed maiabriggs closed 4 months ago
There could be several reasons why roboclaw_hardware_interface can't communicate with roboclaw. A few things to check (to help reduce possibilities):
sudo chmod a+rw /dev/ttyACM0
or equivalent)Are you seeing any runtime errors when launching the the hardware interface?
Regarding the multiple hardware components, I'm not exactly sure why this is the case. I'll investigate. It could be that one of these is a plugin loader for the other, but I'm not very confident about that. For what it's worth, I am seeing the exact same thing as you, but am still able to teleop my robot around without any issues. I'd recommend double checking the first few items above, and let me know if the issue persists.
Thank you for your help. It was a PID tuning issue
I've been trying to use the roboclaw_hardware_interface to connect my roboclaw motors to ros2control. everything is compiling and my diff drive controller and joint state broadcaster are starting, but the robot does not move using teleop or by sending direct cmd_vel messages. When checking the hardware components the below is shown:
$ros2 control list_hardware_components Hardware Component 1 name: type: plugin name: state: id=3 label=active command interfaces right_wheel_joint/velocity [available] [claimed] left_wheel_joint/velocity [available] [claimed] Hardware Component 2 name: RealRobot type: system plugin name: roboclaw_hardware_interface/RoboClawHardwareInterface state: id=0 label=unknown command interfaces
Does anyone know why two Hardware Components are being created?