Difference between revisions of "Self Driving RC Car/2020"
Jump to navigation
Jump to search
Line 172: | Line 172: | ||
There is a usage for this script if you call it with <nowiki>scripts/install.sh -h</nowiki>. | There is a usage for this script if you call it with <nowiki>scripts/install.sh -h</nowiki>. | ||
Essentially this is doing a <nowiki>mvn clean install</nowiki>. The clean part is important to get the platform specific native openCV Library integrated into the server code. | Essentially this is doing a <nowiki>mvn clean install</nowiki>. The clean part is important to get the platform specific native openCV Library integrated into the server code. | ||
+ | |||
+ | == Example Configuration == | ||
You need to configure your PI's host address and user in a file ~/dukes/dukes.ini in the remotecar section. | You need to configure your PI's host address and user in a file ~/dukes/dukes.ini in the remotecar section. | ||
Also you need to check your GPIO pins and the servo settings for your car for LED,Engine and Wheels. You might want to try these things out before using the software the first time. | Also you need to check your GPIO pins and the servo settings for your car for LED,Engine and Wheels. You might want to try these things out before using the software the first time. | ||
− | + | ||
+ | The original wiring is: | ||
+ | |||
+ | * MOTOR: GPIO-17 - Servoblaster ID 1 | ||
+ | * WHEEL: GPIO-18 - Servoblaster ID 2 | ||
+ | * LED: GPIO-24 - Servolbaster ID 6 | ||
+ | The software uses the standard Servoblaster ID's above which are hard-coded at this time. The GPIO configuration will only work with other devices which we intend to support in the future. | ||
<source lang='bash'> | <source lang='bash'> | ||
# | # |