Skip to content

Commit

Permalink
Update pypilot_parse.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Mar 19, 2024
1 parent 9df60c5 commit 5840ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbn_m5tough_active_boat/pypilot_parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ extern "C" {
shipDataModel.steering.autopilot.ap_mode.mode = ap_mode_e::HEADING_MAG;
} else if (mode == "true wind") {
shipDataModel.steering.autopilot.ap_mode.mode = ap_mode_e::TRUE_WIND;
} else if (mode == "nav") {
shipDataModel.steering.autopilot.ap_mode.mode = ap_mode_e::NAV;
}
} else if (dataFeed.startsWith("servo.voltage=")) {
shipDataModel.steering.autopilot.ap_servo.voltage.volt =
Expand Down

0 comments on commit 5840ede

Please sign in to comment.