astuff / pacmod3

PACMod Board Rev 3 Driver
MIT License
24 stars 14 forks source link

Improve minimal publishing changes #112

Closed icolwell-as closed 2 years ago

icolwell-as commented 2 years ago

Resolves #103 by always publishing accel, brake, steering, and shift commands right after startup.

This resolves the shifter problem since the driver is now guaranteed to send a disable before an enable on the shifter (this is a requirement in order to enable the system). Ideally, I think this problem should be solved on the user side (pacmod_game_control), but this works for now and is more consistent with the way the driver used to work. I intend to update pacmod_game_control in the future anyway.