-
-
Notifications
You must be signed in to change notification settings - Fork 9
Setup (Local)
manx52 edited this page Nov 29, 2024
·
77 revisions
- Ubuntu 20 Installed
Run in terminal
ssh-keygen # Then keep pressing the enter button, don't set a password
cd ~/.ssh && cat id_rsa.pub # Get contents of public key
on github > Settings > SSH and GPG Keys > New SSH Key, paste the key
Verify ssh key with ssh -T [email protected]
Run the command below in terminal.
Answer the prompt to what you want to install
sudo apt install -y curl
curl -fsSL https://raw.githubusercontent.com/utra-robosoccer/soccerbot/refs/heads/master/tools/setup/setup.sh > /tmp/setup.sh
bash /tmp/setup.sh
If you run it multiple times, maybe open it up and continue from where it stopped.
Look at Setup (Docker)
Look at Setup (Pycharm)
# Running the build (can be done from anywhere in the workspace
catkin build soccerbot
Running the software locally (for docker look at Setup (Docker))
source ~/.bashrc
roslaunch soccerbot soccerbot_multi.launch
- Sometimes you need to
source ~/.bashrc
in a terminal to get it to work - To exit gazebo quicker run
# For noetic
sudo gedit /opt/ros/noetic/lib/python3/dist-packages/roslaunch/nodeprocess.py
change these 2 lines
_TIMEOUT_SIGINT = 1.0 #seconds
_TIMEOUT_SIGTERM = 1.0 #seconds
Install pycharm, install homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"