Control using Odroid SBC
Startup Session λ§λ€κΈ°
alias mr0='roslaunch mecanum_robot_ver1 mecanum_robot_ver1_teleop.launch'
alias sr='screen -r startupSess'
alias sr0='screen -r startupSess0'odroid@odroid:~$ cat autorun_script.sh
# Run HuboQ Remastered Ver1 - hq0 in Startup
screen -S "startupSess" -d -m
screen -r "startupSess" -X stuff $'mr0\n'odroid@odroid:~$ cat /etc/rc.local
#!/bin/bash
# autorun script
su odroid -c '/home/odroid/autorun_script_gpio.sh &'
su odroid -c '/home/odroid/autorun_script.sh &'
if [ -f /aafirstboot ]; then /aafirstboot start ; fi
if [ -f /aafirstboot ]; then /aafirstboot start ; fi
exit 0Last updated