Comments (2)
There could be several reasons why roboclaw_hardware_interface can't communicate with roboclaw. A few things to check (to help reduce possibilities):
- Ensure that the serial device is correctly named in ros2_control.xacro (/dev/ttyACM0, /dev/ttyS0, /dev/roboclaw, etc)
- Verify that the terminal running ros2_control has sufficient permissions (
sudo chmod a+rw /dev/ttyACM0
or equivalent) - Make sure that the roboclaw has PID parameters for velocity configured via the BasicMicro app's autotuner
- make sure to write these parameters to the roboclaw before exiting the app via the top menu (so far, this is the most frequent issue I've seen. If you open BasicMicro app and see that PID params for velocity are all 0, this is probably the issue).
- Make sure that you're using packet serial for communication on the roboclaw side (and again, that this is written to the device)
- Consider testing with the dumbot_bringup package, here: https://github.com/dumbotics/dumbot_bringup
- this provides a working implementation of roboclaw_hardware_interface, but just be sure to change /dev/roboclaw to your serial device
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.
from roboclaw_hardware_interface.
Thank you for your help. It was a PID tuning issue
from roboclaw_hardware_interface.
Related Issues (5)
- roboclaw_serial library HOT 1
- Could not install dependencies HOT 18
- 4 WD packet serial connection HOT 17
- MainBatteryVoltage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roboclaw_hardware_interface.