Skip to content

w3ichen/build18

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build18 2025

Carnegie Mellon University's build18 2025 hackathon.

Underwater drone

The Team

Team name: Robotron

  • Ben Lee
  • David Seong
  • John Min
  • Sidney Nimako
  • Weichen Qiu

Setting up systemctl

Using systemctl to start up launch program on reboot

Create and write to service file:

sudo vim /etc/systemd/system/build18.service
[Unit]
Description=build18 launch
After=network.target

[Service]
ExecStart=/home/pi/build18/launch.py
WorkingDirectory=/home/pi/build18
StandardOutput=inherit
StandardError=inherit
Restart=no
User=root
Group=root

[Install]
WantedBy=multi-user.target

Enable and start the service

sudo systemctl daemon-reload
sudo systemctl enable build18.service
sudo systemctl start build18.service
sudo systemctl status build18.service

# Get logs 
sudo journalctl -u build18.service -f -n 50
# Restart
sudo systemctl restart build18.service

About

CMU's Build18 Hardware Build-a-thon, Jan 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages