User Tools

Site Tools


run

This is an old revision of the document!


Running the Delta Application

Run the Application on Startup

To run Delta application on startup just copy the start.sh from the bbblue-scripts folder on your target:

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

and 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 in a detached screen. To see the log output from the application just reattach to this screen session.

debian@beaglebone:$ sudo screen -r delta

If the Delta application terminates the BeagleBoneBlue will shutdown.

Run the Application not on Startup - Testing

If you want to test the application without start-up script, you can type on one terminal the following:

cd /dev/input
sudo cat event1

And in a second terminal

cd /opt/eeros/bin
sudo ./delta -c HwConfigBBBlue.json

Next: Write Your Own Application

run.1574320343.txt.gz · Last modified: 2019/11/21 08:12 by graf