Autonomobile / AutoPylot

A project to race 1:10 RC cars autonomously around a track while going as fast as possible
MIT License
10 stars 0 forks source link

Enabling brake and reverse #102

Closed Maximellerbach closed 2 years ago

Maximellerbach commented 2 years ago

In the past, we experienced models with "negative throttle", our ESC was in a (forward / reverse) mode. A negative throttle that we often used as a brake was in fact a reverse command.

We will change the ESC mode to (forward / brake / reverse). This change needs some changes in the code especially on the arduino side (will need to re-flash the arduino)

Some changes will also be needed on the python side to differentiate a braking from a reverse order (pushing on a button for example)