Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sskorol/rae-scripts

A set of scripts that help with different RAE issues resolution
https://github.com/sskorol/rae-scripts

docker rae robotics ros

Last synced: about 1 month ago
JSON representation

A set of scripts that help with different RAE issues resolution

Awesome Lists containing this project

README

        

## 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:
```shell
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)

```shell
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

```shell
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

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

### Running RAE ROS container

```shell
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](https://github.com/luxonis/rae-ros/blob/humble/rae_hw/launch/peripherals.launch.py#L43-L52) did the trick for me. It should be fixed in the upcoming releases.