2 # @reboot screen -d -m -c ~/catkin_ws/src/wild_thumper/.screen-startup
6 screen 0 zsh -is eval 'sleep 10; roscore'
7 screen 1 zsh -is eval 'roslaunch --wait wild_thumper wild_thumper.launch'
8 screen 2 zsh -is eval '(($(/usr/sbin/i2cget -y 2 0x38 || echo 0xff) & 0x01)) || roslaunch --wait wild_thumper teleop.launch'
9 #screen 3 zsh -is eval '(($(/usr/sbin/i2cget -y 2 0x38 || echo 0xff) & 0x02)) || roslaunch --wait wild_thumper move_base.launch'
10 #screen 4 zsh -is eval '(($(/usr/sbin/i2cget -y 2 0x38 || echo 0xff) & 0x02)) || (sleep 20 && rosservice call global_localization)'
11 #screen 3 zsh -is eval 'roslaunch --wait wild_thumper move_base.launch nomap:=true'