Setting up robot

I am trying to set up an SD card from scratch to work on the ROSbot 3 PRO with the bring up script. I have installed Ubuntu 24.04 and ROS 2 Jazzy successfully. Then I started following this tutorial on how to set up the robot: https://github.com/husarion/rosbot_ros/blob/jazzy/README.md

  1. I installed the necessary tools.
  2. I created a workspace in Documents called ros2_ws
  3. I configured the environment
  4. In build I do most of the commands successfully, but when I get to colcon build --symlink-install --packages-up-to rosbot --cmake-args -DCMAKE_BUILD_TYPE=Release I get the following errors
  5. Since I am limited to a number of characters and the txt format is not supported, I have put the output in a cpp file as txt.

log.cpp (38.2 KB)

Hello @sd_123,
I recommend using the operating system we’ve prepared, as it comes with all necessary configurations for the ROSbot driver.

You can follow this guide to reinstall the OS: Operating System Reinstallation | Husarion.
It will walk you through the process of installing a system for the ROSbot.

Once the OS is installed, please continue with the setup by following this quick start tutorial ROSbot 3 / 3 PRO - quick start | Husarion.
After completing these steps, your ROSbot will be fully ready to use.

Please let me know if it worked for you.

Best regards,
Jakub Delicat

Thank you. I have already started by using it but often get problems with it not bein customizable - restrictions for installing pip, python libraries outside of an environment, using snap variables that have caused additional problems until I discovered that they are set differently than the .bashrc… That’s why I wanted to install everything from scratch.

I understand. So you still need help with debugging the native build using colcon, right?

JD

Yes it is still not fixed

I cannot recreate your building errors. For me it works fine.
The logs says

Cloning into ‘xrceagent’…
HEAD is now at 7362281 Release v2.4.3
Cloning into ‘spdlog’…
fatal: unable to access ‘GitHub - gabime/spdlog: Fast C++ logging library.’: Could not resolve host: github.com

so it looked like there was no internet connection during cloning this repository.

Please make sure that your ROSbot has stable internet connection. You can check it pinging husarion.com for example

ping husarion.com

and try again to build.

It you have internet connection please send me new logs if it does not work.

Best regards,
Jakub Delicat