Skip to content

Debug Manual

Aerin Brown edited this page Jan 11, 2025 · 1 revision

Welcome to the debug manual! Here are records of solved bugs that may come up again in the future.

Template

Error msg: The error thrown (if applicable) Description: A brief description of the problem and when it arises Solution: The solution to the bug. Mark [TENTATIVE] if still being solved.

Setup & Installation

Ubuntu 22.04

Description: can’t install ubuntu Solution: Update and restart, ensure your windows system is up to date

UTM (For Mac)

UTM installation link: https://mac.getutm.app/
Ubuntu 22.04.05 image (Need arm64 file): 

https://cdimage.ubuntu.com/releases/?_ga=2.49557542.1039961478.1728748273-629961386.1725381420

Youtube setup video: https://www.youtube.com/watch?v=JrNS3brSnmA&t=438s

ROS

If problems during colcon build: try using this command: sudo apt-get install ros-humble-xacro and then run colcon build again

If you get SetuptoolsDeprecationWarning during colcon build, ensure that your Setuptools is version 58.2.0 using: pip install setuptools==58.2.0 https://answers.ros.org/question/396439/setuptoolsdeprecationwarning-setuppy-install-is-deprecated-use-build-and-pip-and-other-standards-based-tools/

If problems during: cd ~/rover25_ws; sros; ros2 launch sim rover_gz_sim.launch.py Run : sudo apt-get install ros-humble-ros-gz

ROS2 does not have Master Node and roscore no longer works: instead use DDS (Data Distribution Service) https://www.theconstruct.ai/ros2-in-5-mins-003-where-is-roscore-in-ros2/

Gazebo

ros-humble-gazebo-ros-pkgs doesn't exist on arm64

Arm

Tests

IK_unit_tests.py Error: from ..src import arm_kinematics ImportError: attempted relative import with no known parent package Description: Test file will not run in VSCode. Solution: Instead of hitting the play button in the top right corner, navigate to /rover-2025/ and run “python -m arm_control.test.IK_unit_tests” to ensure you’re running from the super package and can thus access all the subfolders properly.

Clone this wiki locally