mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: add virtual set_target methods
This commit is contained in:
parent
ee81583669
commit
400c9ee6b0
|
@ -184,8 +184,11 @@ public:
|
|||
*/
|
||||
virtual bool start_takeoff(float alt) { return false; }
|
||||
virtual bool set_target_location(const Location& target_loc) { return false; }
|
||||
virtual bool set_target_pos_NED(const Vector3f& target_pos, bool use_yaw, float yaw_deg, bool use_yaw_rate, float yaw_rate_degs, bool yaw_relative, bool terrain_alt) { return false; }
|
||||
virtual bool set_target_posvel_NED(const Vector3f& target_pos, const Vector3f& target_vel) { return false; }
|
||||
virtual bool set_target_posvelaccel_NED(const Vector3f& target_pos, const Vector3f& target_vel, const Vector3f& target_accel, bool use_yaw, float yaw_deg, bool use_yaw_rate, float yaw_rate_degs, bool yaw_relative) { return false; }
|
||||
virtual bool set_target_velocity_NED(const Vector3f& vel_ned) { return false; }
|
||||
virtual bool set_target_velaccel_NED(const Vector3f& target_vel, const Vector3f& target_accel, bool use_yaw, float yaw_deg, bool use_yaw_rate, float yaw_rate_degs, bool yaw_relative) { return false; }
|
||||
virtual bool set_target_angle_and_climbrate(float roll_deg, float pitch_deg, float yaw_deg, float climb_rate_ms, bool use_yaw_rate, float yaw_rate_degs) { return false; }
|
||||
|
||||
// get target location (for use by scripting)
|
||||
|
|
Loading…
Reference in New Issue