User Tools

Site Tools


run

This is an old revision of the document!


Running the Delta Application

Usually you want run the application upon startup of the board after you applied power. For this purpose you have to copy the script start.sh from the bbblue-scripts folder of https://github.com/eeduro/eeduro-scripts to your target:

scp ./bbblue-scripts/start.sh debian@192.168.7.2:/opt/eeros/bin

Make sure that it's executable:

debian@beaglebone:$ sudo chmod +x /opt/eeros/bin/start.sh 

In the /etc/rc.local file on your target add the following line:

sudo screen -dmS delta /opt/eeros/bin/start.sh

This script will start the Delta application as soon as the board is powered up and the operating system finished its bootup procedure. If the Delta application terminates the Beaglebone Blue will shutdown. You can terminate the application as described in Program Execution and User Interface.

Get Output of Loggers

The Delta application periodically logs various state information. To see this output the application was started in a detached screen. To see the log output from the application just reattach to this screen session. First connect to your target with

debian@beaglebone:$ sudo screen -r delta

If the Delta application terminates the BeagleBoneBlue will shutdown.


Next: Write Your Own Application

run.1574322982.txt.gz · Last modified: 2019/11/21 08:56 by graf