Self Driving RC Car/2020: Difference between revisions
Jump to navigation
Jump to search
| Line 170: | Line 170: | ||
<source lang='bash'> | <source lang='bash'> | ||
# | # | ||
# | # WF 2019-06-21 | ||
# | # | ||
# rc-duke configuration file | |||
# remote car raspberry PI configuration | |||
# | remotecar.host=2.0.0.111 | ||
remotecar.user=wf | |||
# camera url format | |||
camera.url=http://2.0.0.111/html/cam_pic_new.php | |||
# webserver configuration | |||
webcontrol.port=8080 | |||
imageview.port=8081 | |||
# be careful with your GPIO configuration | |||
# you might damage your PI with a misconfiguration! | |||
# led configuration | |||
led.gpio=24 | |||
led.on=250 | |||
led.off=0 | |||
# wheel configuration | |||
wheel.gpio=18 | |||
wheel.center=130 | |||
wheel.stepsize=5 | |||
wheel.maxleft=100 | |||
wheel.maxright=160 | |||
# engine configuration | |||
engine.gpio=17 | |||
engine.speed.zero=130 | |||
engine.stepsize=1 | |||
engine.min.speed.reverse=130 | |||
engine.max.speed.reverse=130 | |||
engine.min.speed.forward=155 | |||
engine.max.speed.forward=157 | |||
</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: | ||