run
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
run [2019/11/21 08:48] – [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 ./ |
+ | $ scp ./bbblue-scripts/delta-startup.service ost@192.168.7.2: | ||
</ | </ | ||
- | and make sure that it's executable: | + | Make sure that '' |
< | < | ||
- | debian@beaglebone:$ sudo chmod +x /opt/eeros/bin/ | + | ost@bblue:$ chmod +x bin/ |
</ | </ | ||
- | In the '' | + | Further, copy the file '' |
< | < | ||
- | sudo screen -dmS delta /opt/eeros/bin/start.sh | + | ost@bblue: |
</ | </ | ||
- | This script | + | As a final step you have to enable the service with |
+ | < | ||
+ | ost@bblue:$ sudo systemctl enable delta-startup | ||
+ | </ | ||
+ | and reboot with | ||
+ | < | ||
+ | ost@bblue:$ sudo / | ||
+ | </ | ||
+ | Now, the Delta application | ||
+ | |||
+ | :!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | ||
+ | |||
+ | ===== Get Output of Loggers after Autostart ===== | ||
+ | The Delta application periodically logs various state information. To see this output the application was started | ||
+ | < | ||
+ | then reattach with | ||
< | < | ||
- | debian@beaglebone:$ sudo screen -r delta | + | ost@bblue:$ sudo screen -r delta |
</ | </ | ||
- | If the Delta application | + | You could also terminate |
+ | :!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection. | ||
---- | ---- | ||
**Next: [[dev|]]** | **Next: [[dev|]]** |
run.1574322535.txt.gz · Last modified: 2019/11/21 08:48 by graf