run
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
run [2020/01/24 10:50] – [Running the Delta Application] graf | run [2021/10/22 09:57] (current) – [Running the Delta Application] ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Running the Delta Application ====== | ====== Running the Delta Application ====== | ||
+ | Next, ssh into the target. Before you start the delta application you have to make sure that your mouse works with < | ||
+ | ost@bblue:$ sudo cat / | ||
+ | </ | ||
+ | Start your application in a second terminal while the above command is still running | ||
+ | < | ||
+ | ost@bblue:$ sudo ./bin/delta -c bin/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Autostart ===== | ||
+ | |||
Usually you want run the application upon startup of the board after you applied power. | Usually you want run the application upon startup of the board after you applied power. | ||
- | For this purpose you have to copy the script // | + | For this purpose you have to copy two files from the // |
+ | < | ||
+ | $ scp ./ | ||
+ | $ scp ./ | ||
+ | </ | ||
+ | Make sure that '' | ||
+ | < | ||
+ | ost@bblue:$ chmod +x bin/ | ||
+ | </ | ||
+ | Further, copy the file '' | ||
< | < | ||
- | scp ./bbblue-scripts/ | + | ost@bblue:$ sudo mv bin/delta-startup.service |
</ | </ | ||
- | Make sure that it's executable on the target. ssh into the target and run: | + | As a final step you have to enable |
< | < | ||
- | debian@beaglebone:$ sudo chmod +x / | + | ost@bblue:$ sudo systemctl enable delta-startup |
</ | </ | ||
- | In the ''/ | + | and reboot with |
< | < | ||
- | sudo screen -dmS delta /opt/eeros/ | + | ost@bblue: |
</ | </ | ||
- | This script will start the Delta application | + | Now, the Delta application |
:!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | :!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | ||
- | ===== Get Output of Loggers ===== | + | ===== 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 | 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 | ||
- | < | + | < |
then reattach with | then reattach with | ||
< | < | ||
- | debian@beaglebone:$ sudo screen -r delta | + | ost@bblue:$ sudo screen -r delta |
</ | </ | ||
You could also terminate the application by pressing '' | You could also terminate the application by pressing '' |
run.1579859406.txt.gz · Last modified: 2020/01/24 10:50 by graf