rsx-utoronto / rover2017

Code for our rover
0 stars 2 forks source link

Use relays when sending stop to the rover #11

Closed c2huc2hu closed 7 years ago

c2huc2hu commented 7 years ago

This prevents the rover from driving backward when no power is being delivered

c2huc2hu commented 7 years ago

Demo: Oct 28, along with virtual joystick

c2huc2hu commented 7 years ago

Using relays when sending stop to the rover

Goal

As an additional safety feature, the relays should cut power to the wheels.

Files to modify

c2huc2hu commented 7 years ago

Relays code is in aux_server.js and auxiliary.ino. Drive code is in drive_server.js.

When you get a stop signal in drive server, also disable the relays.

c2huc2hu commented 7 years ago

Test procedure:

zamanmub commented 7 years ago

fixed in ee21952bea38585d1d4e3ec8361bf76b029a05d7