Skip to content

sskorol/rae-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAE Scripts

This repo contains a set of useful scripts that help to address different RAE issues.

Prerequisites

As RAE build doesn't have git pre-installed and there's no package manager available, you have to clone sources to your host, and then copy them to RAE:

git clone https://github.com/sskorol/rae-scripts.git && \
    zip -r rae-scripts.zip rae-scripts && \
    scp rae-scripts.zip [email protected]:~/ && \
    ssh [email protected] && \
    unzip rae-scripts.zip

Setting up persistent Wi-Fi (ROS w/o RobotHub)

ssh [email protected] # must be connected via usb cable
# Disable RobotHub services
systemctl disable robothub-tunnel
systemctl disable robothub-agent

cd ~/rae-scripts
mkdir ~/boot && cp ./wifi/start_wifi.sh ~/boot
cp ./wifi/wifi-setup.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable wifi-setup.service

Installing the latest RAE build

cd ~/rae-scripts/os
python3 -m venv .venv
source .venv/bin/activate
pip3 install pip --upgrade
pip3 install -r requirements.txt
python3 install_build.py

Checking the RAE temperature

cd ~/rae-scripts/status
./temp.sh

Running RAE ROS container

cd ~/rae-scripts/docker
./start.sh
# Running basic control stack
ros2 launch rae_bringup robot.launch.py
# Running full stack
ros2 launch rae_bringup bringup.launch.py

Note that the full stack currently have issues. Disabling mic and speakers nodes did the trick for me. It should be fixed in the upcoming releases.