Skip to content

Commit

Permalink
ArduPlane: add script bindings for vehicle navigation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
timtuxworth committed Jun 2, 2024
1 parent 68ebae7 commit 29ae4b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArduPlane/Plane.h
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,10 @@ class Plane : public AP_Vehicle {
void update_flight_stage();
void set_flight_stage(AP_FixedWing::FlightStage fs);
bool flight_option_enabled(FlightOptions flight_option) const;
#if AP_SCRIPTING_ENABLED
bool set_desired_speed(float speed) override;
bool set_guided_radius_and_direction(float radius, bool direction_is_ccw) override;

#endif
// navigation.cpp
void loiter_angle_reset(void);
void loiter_angle_update(void);
Expand Down

0 comments on commit 29ae4b8

Please sign in to comment.