clone this on a Linux system (others might not work)
Start script runs a tmux panel that runs teleop, slam node, camera stream server
build start script
chmod +x start_script.shrun the start script
./start_script.shAlternatively, run the below commands:
-
Open Alex/alex.ino in Arduino IDE, flash to Arduino mega328p
-
SSH into the RPi,
cd pi
g++ alex-pi.cpp serial.cpp serialize.cpp -pthread -out alex-main
./alex-main- Start the camera server, do step a first, then
cd slam_rpicam_env
python AlexCameraStreamServer.pyAccess the camera feed via http://localhost:8080
- Start the SLAM node, do step a first, then
cd slam_rpicam_env
python labs/SlamLabs/alex-main.pyAccess SLAM visualisation via http://localhost:8181
To build the env:
sudo chmod +x setup_environment.sh
sudo ./setup_environment.sha. In a new terminal, source the env (used for SLAM and camera server)
cd slam_rpicam_env
source env/bin/activate