Self Driving RC Car/2020: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 175: | Line 175: | ||
targetHost=10.9.8.7 | targetHost=10.9.8.7 | ||
targetUser=pi | targetUser=pi | ||
# carserver configuration | |||
carserver.port=8080 | |||
</source> | </source> | ||
The deploy script as a help option that shows how it can be used: | The deploy script as a help option that shows how it can be used: | ||
<source lang='bash'> | <source lang='bash'> | ||
deploy.sh [-a|-d|-h|-m|-s] | |||
-a |--autostart : configure the remotecar app to autostart on reboot | |||
-d |--debug : debug this script | -d |--debug : debug this script | ||
-m |--maven : run maven install | -m |--maven : run maven install | ||
-h |--help : show this usage | -h |--help : show this usage | ||
-s |--start : deploy and start duke | -s |--start : deploy and start remotecar (duke) fat jar | ||
</source> | </source> | ||
* <nowiki>deploy -m</nowiki> will create the duke-farm fat jar | * <nowiki>deploy -m</nowiki> will create the duke-farm fat jar | ||
* <nowiki>deploy -s</nowiki> will send the jar to your PI using rsync and start it | * <nowiki>deploy -s</nowiki> will send the jar to your PI using rsync and start it | ||
* <nowiki>deploy -a</nowiki> will create an autostart configuration that restarts the client on reboot see https://github.com/rc-dukes/dukes/issues/26 | |||
= First Experiments = | = First Experiments = | ||