Minor fixes, possible typos. #8
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wrong RPLidar Executable Name
In bumperbot/src/Bumper-Bot/bumperbot_bringup/launch/real_robot.launch.py
Change line 24:
To:
Note: The second line had a period (
.) instead of comma (,) afterGROUP="plugdev"which broke the rules.Right Motor Not Moving (Critical Timing Issue)
Symptoms:
This is what showed up during the run...
[WARN] [controller_manager]: Overrun might occur, Total time : 22226.370 us (Expected < 10000.000 us) --> Read time : 22099.427 us
[WARN] [controller_manager]: Overrun detected! The controller manager missed its desired rate of 100 Hz.
Arduino was sending encoder data at 10 Hz (every 100ms), but ROS2 controller expected data at 100 Hz (every 10ms). This caused massive timing delays in the hardware interface
read()function, making motor control unreliable.Find this line:
Change to:
Re-upload the modified code to the Arduino Nano.
This was the KEY fix - without matching the Arduino update rate to the controller rate, motor control was completely unreliable.