๐ก Tips & Tricks
Whether youโre just starting with the LIMO Pro + MyCobot + YOLO system or already deep into development, these tips will help you work smarter, debug faster, and optimize performance.
๐ Quick Wins for New Usersโ
- Setup Tips
- Operation Tips
- Always develop in a separate colcon workspace โ never in the robotโs source workspace.
- Keep two SD cards: one in use, one as a bootable backup.
- Store your map files, YOLO weights, and config YAMLs in a Git repo for easy restoration.
- Launch with
full_system.launch.pyto ensure correct startup order. - If something fails, disable non-essential nodes and re-run the failing one in isolation.
- Use voice feedback logs (
say()in nodes) to monitor progress without watching the terminal.
โก Performance Optimizationโ
- YOLO Speed:
- Reduce image resolution if latency is high.
- Increase
confthreshold inobject_detector.pyto filter noise.
- Navigation Smoothness:
- Tune Nav2 parameters in
nav2_params.yamlโ especially acceleration and max velocity. - Avoid overloading the CPU by running visualization tools (
rviz2,rqt_image_view) on a remote PC.
- Tune Nav2 parameters in
- Arm Control:
- Wi-Fi control avoids USB bottlenecks and improves reliability.
- Use IP auto-detection logic from
full_system.launch.pyto remove connection delays.
๐ Workflow Improvementsโ
Use Modular Testing
Run and verify each subsystem individually before full integration:
- YOLO Detection โ run
object_detectoralone, check/yolo/annotated. - Navigation โ run Nav2 with
pose_setter.py, verify waypoint traversal. - Arm Control โ test
pick_node.pyanddrop_node.pywithout navigation.
- Use
TimerActionin launch files to stagger startup and avoid race conditions. - Keep a "safe" default map and a "development" map โ switch depending on your testing environment.
โฑ Time-Saving Techniquesโ
- Parameterize everything โ IPs, file paths, thresholds โ so you can change them via CLI instead of editing code.
- Use
ros2 topic echoandros2 topic hzto quickly check if a topic is alive and healthy. - For fast restarts, kill all nodes:
pkill -9 -f ros2