1
Fork 0

motors are swapped on new chassis

This commit is contained in:
Andy Killorin 2025-03-05 15:01:58 -05:00
parent 99f0ed69e4
commit b063a41783
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -250,8 +250,8 @@ async fn main(spawner: Spawner) {
info!("left to {}", clamp(forward+right, -1., 1.)); info!("left to {}", clamp(forward+right, -1., 1.));
info!("right to {}", clamp(forward-right, -1., 1.)); info!("right to {}", clamp(forward-right, -1., 1.));
c.compare_a = calc_speed(forward - right); c.compare_a = calc_speed(-forward - right);
c.compare_b = calc_speed(forward + right); c.compare_b = calc_speed(-forward + right);
drive_pwm.set_config(&c); drive_pwm.set_config(&c);
}, },
ControlPacket::Fire => { ControlPacket::Fire => {