Skip to content

Commit

Permalink
fix sign of steering
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Oct 26, 2024
1 parent f32919e commit e6a728e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function simulate(integrator, stopped=true)
app.ssc.sys_state.heading = heading
app.ssc.sys_state.azimuth = -calc_azimuth(app.kps4)
# steering = calc_steering(app.ssc; heading)
steering = calc_steering(app.ssc)
steering = -calc_steering(app.ssc)
set_depower_steering(app.kps4.kcu, dp, steering)
end
if i == 200 && ! app.parking
Expand Down

0 comments on commit e6a728e

Please sign in to comment.