Difference between revisions of "Self Driving RC Car/2020"
Jump to navigation
Jump to search
| Line 116: | Line 116: | ||
sudo apt-get install screen | sudo apt-get install screen | ||
</source> | </source> | ||
| + | = Deployment = | ||
| + | Deploying to your Raspberry is done by compiling e.g. on a laptop and then transferring | ||
| + | the results to your PI. | ||
| + | |||
| + | You need to configure your targetHost and targetUser in a file ~/dukes/dukes.ini | ||
| + | == Example Configuration == | ||
| + | <source lang='bash'> | ||
| + | # | ||
| + | # rc-dukes configuration file | ||
| + | # see https://github.com/rc-dukes/dukes | ||
| + | # | ||
| + | targetHost=10.9.8.7 | ||
| + | targetUser=pi | ||
| + | </source> | ||
| + | The deploy script as a help option that shows how it can be used: | ||
| + | <source lang='bash'> | ||
| + | ./deploy.sh -h | ||
| + | deploy.sh [-d|-h|-m|-s] | ||
| + | |||
| + | -d |--debug : debug this script | ||
| + | -m |--maven : run maven install | ||
| + | -h |--help : show this usage | ||
| + | -s |--start : deploy and start duke-farm fat jar | ||
| + | </source> | ||
| + | * <nowiki>deploy -m</nowiki> will create the duke-farm fat jar | ||
| + | * <nowiki>deploy -s</nowiki> will send the jar to your PI and start it | ||
= First Experiments = | = First Experiments = | ||