Setup turtlebot3 with ros2 humble on ubuntu 22.04 server on raspberryPi (might take more than 2 hours in total and will need some attention in between). Check out comment for how to run. · GitHub
Skip to content

Instantly share code, notes, and snippets.

@aarsht7
Last active March 20, 2025 10:49
Show Gist options
  • Select an option

  • Save aarsht7/a354e6aa1a81efdd9d116816c5bc6722 to your computer and use it in GitHub Desktop.

Select an option

Save aarsht7/a354e6aa1a81efdd9d116816c5bc6722 to your computer and use it in GitHub Desktop.
Setup turtlebot3 with ros2 humble on ubuntu 22.04 server on raspberryPi (might take more than 2 hours in total and will need some attention in between). Check out comment for how to run.
@aarsht7

aarsht7 commented Aug 27, 2024

Copy link
Copy Markdown
Author

Method 1:

sudo apt update && sudo apt upgrade && sudo apt install wget
wget https://gist.githubusercontent.com/aarsht7/a354e6aa1a81efdd9d116816c5bc6722/raw/5bfc140d80fcab7fab763f5cba39f60d64757beb/setup_tb3.sh
chmod +x setup_tb3.sh
./setup_tb3.sh

Method2:

Once you done writing image on the sd-card with Imager or something else, eject and remount the sd-card.

cd /media/$USER/writable/usr/bin
sudo wget https://gist.githubusercontent.com/aarsht7/a354e6aa1a81efdd9d116816c5bc6722/raw/ed24e314ba94ab531bcc6ccf09d29c3e700691b6/setup_tb3.sh && sudo chmod +x setup_tb3.sh

On the RaspberryPi,

sudo apt update && sudo apt upgrade && sudo reboot now
setup_tb3.sh

@ZaynabEM

ZaynabEM commented Mar 20, 2025

Copy link
Copy Markdown

Greetings @aarsht7, I have the same issue with my turtlebot, and followed the same process that you proposed, but that did not resolve the issue and the two packages ld08_driver and turtlebot3_node do not compile. The compilation of the workspace remains stuck at 28%
Any idea if an image was indeed made available for the turtlebots?

@aarsht7

aarsht7 commented Mar 20, 2025

Copy link
Copy Markdown
Author

Hello @ZaynabEM , it might take more than 2 hours and will need some attention in between the process
.

@ZaynabEM

ZaynabEM commented Mar 20, 2025

Copy link
Copy Markdown

Thank you so much @aarsht7 for your prompt reply!
Oh wow. Ok I see, some attention you mean relaunching the compilation?

@aarsht7

aarsht7 commented Mar 20, 2025

Copy link
Copy Markdown
Author

@ZaynabEM

some attention you mean

You will be asked to press enter or 'y/n,' etc. I don't remember what it was exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment