Skip to content

techno-robocup/robocup2026-raspberrypi-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robocup2026-raspberrypi-kanto

2025/12/19

sudo usermod -aG video robo
sudo usermod -aG dialout robo

Creating pyenv

python3 -m venv .venv --system-site-packages
pip install --break-system-packages uv
uv init
uv add opencv-python ultralytics gradio_imageslider gradio matplotlib torch torchvision pyserial Pillow huggingface-hub depth-anything-v2

Modify

include-system-site-packages = true

How to run

Manual execution

uv run python main.py

Systemd service setup

The robot runs as a systemd service with automatic restart capabilities.

Installation

  1. Copy service files to systemd directory:
sudo cp robot.service robot.path robot-restart.service /etc/systemd/system/
  1. Reload systemd and enable services:
sudo systemctl daemon-reload
sudo systemctl enable robot.service robot.path
sudo systemctl start robot.service robot.path
  1. Check status:
sudo systemctl status robot.service
sudo systemctl status robot.path

Restart trigger

To restart the robot service remotely or via automation:

touch /home/robo/restart.trigger

This will automatically trigger a service restart via the path monitoring mechanism.

Service architecture

  • robot.service: Main robot process (runs continuously)
  • robot.path: Monitors /home/robo/restart.trigger for changes
  • robot-restart.service: Oneshot service that restarts robot.service when triggered

rm /etc/ssh/sshd_config.d/rename_user.conf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5