Skip to content

Commit

Permalink
controller: Respect vehicle ID
Browse files Browse the repository at this point in the history
Since we now have the current sys id available, we can have the
controller functions use that instead of being hardcoded to 1
  • Loading branch information
goasChris committed Feb 21, 2024
1 parent 9bd9246 commit 1031ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/vehicle/ardupilot/ardupilot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ export abstract class ArduPilotVehicle<Modes> extends Vehicle.AbstractVehicle<Mo
t: state.t,
buttons: state.buttons,
buttons2: state.buttons2,
target: 1,
target: this.currentSystemId,
}
this.write(manualControlMessage)
}
Expand Down

0 comments on commit 1031ddc

Please sign in to comment.