Difference between revisions of "Self Driving RC Car/2020"
Jump to navigation
Jump to search
Line 207: | Line 207: | ||
# rc-duke configuration file | # rc-duke configuration file | ||
# remote car raspberry PI configuration | # remote car raspberry PI configuration | ||
− | remotecar.host= | + | remotecar.host=picaro |
remotecar.user=wf | remotecar.user=wf | ||
# camera url format | # camera url format | ||
− | camera.url=http:// | + | camera.url=http://picaro/html/cam_pic_new.php |
# webserver configuration | # webserver configuration | ||
webcontrol.port=8080 | webcontrol.port=8080 | ||
Line 219: | Line 219: | ||
# how many beats may be missed before remote car is forced to stop | # how many beats may be missed before remote car is forced to stop | ||
watchdog.max.missed.beats=6 | watchdog.max.missed.beats=6 | ||
+ | # use servoblaster as servo control | ||
+ | servo.command=servoblaster | ||
# be careful with your GPIO configuration | # be careful with your GPIO configuration | ||
# you might damage your PI with a misconfiguration! | # you might damage your PI with a misconfiguration! | ||
Line 227: | Line 229: | ||
# wheel configuration | # wheel configuration | ||
wheel.gpio=18 | wheel.gpio=18 | ||
− | wheel.center= | + | # positive - higher values mean go right |
− | wheel.stepsize= | + | wheel.orientation=+ |
− | wheel. | + | wheel.center=144 |
− | wheel. | + | wheel.stepsize=1 |
+ | wheel.max.left=115 | ||
+ | wheel.max.left.angle=-18.0 | ||
+ | wheel.max.right=158 | ||
+ | wheel.max.right.angle=14 | ||
# engine configuration | # engine configuration | ||
engine.gpio=17 | engine.gpio=17 | ||
+ | # positive - higher values means going quicker | ||
+ | engine.orientation=+ | ||
engine.speed.zero=130 | engine.speed.zero=130 | ||
engine.stepsize=1 | engine.stepsize=1 | ||
− | engine.min.speed.reverse= | + | engine.min.speed.reverse=127 |
− | engine.max.speed.reverse= | + | engine.max.speed.reverse=122 |
− | engine.min.speed.forward= | + | engine.min.speed.forward=133 |
− | engine.max.speed.forward= | + | engine.max.speed.forward=138 |
− | + | engine.max.velocity.reverse=-1.0 | |
+ | engine.min.velocity.reverse=-0.5 | ||
+ | engine.min.velocity.forward=0.23 | ||
+ | engine.max.velocity.forward=1.0 | ||
</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: |