-
Notifications
You must be signed in to change notification settings - Fork 167
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
My robot turns too much #133
Comments
First, you should verify your RPM with test_motors and a tachometer. You should check the "stop", distance to stop. You should also run a full loaded test_acc. https://github.com/hippo5329/linorobot2_hardware/wiki#test-the-motors-and-encoders Next, you should verify your xxx_config.h for the wheels dimension and distance. And the urdf, https://github.com/hippo5329/linorobot2_hardware/wiki#configure-urdf-in-linorobot2 For Mecanum driver, you will need to update the velocity smoother. https://github.com/hippo5329/linorobot2_hardware/wiki#velocity-smoother---optional The left-right wheels distance should be larger than that of differential drive. You should try front-right to rear-left distance. |
Why do you use Foxy? What is your robot computer? Foxy does not have velocity_smoother. If you use Jetson nano, you may use docker to run humble with the pr-lidar branch of hippo5329/linorobot2. You may set ROS_DISTRO to humble or jazzzy to build the linorobot2_hardware firmware. |
I'm using a Lenovo mini PC. Should I install Humble? Is that correct? |
For mini PC, you should install ubuntu 24.04 and ros2 jazzy. They are the latest LTS version. |
My robot, when setting a navigation2 goal, turns more than expected. For example, when it needs to rotate 180 degrees to turn around, it rotates about 230 degrees and then turns to the right for a while before it can move straight towards the target. When it reaches the destination, the robot keeps spinning several times before stopping. Is this issue related to the PID settings in the Hardware Config? I have attached a YouTube video of the RViz window below. Thank you.
Rplidar A1M8 / Teenny 4.0 / Mecanum wheel
https://youtu.be/rKUoffeMrdY
The text was updated successfully, but these errors were encountered: