mirror of https://github.com/ArduPilot/ardupilot
Rover: Add WARN_IF_UNUSED
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
1fa88bacd9
commit
8f130f962e
|
@ -14,13 +14,13 @@ public:
|
||||||
Velocity is in earth frame, NED [m/s].
|
Velocity is in earth frame, NED [m/s].
|
||||||
Yaw is in earth frame, NED [rad/s].
|
Yaw is in earth frame, NED [rad/s].
|
||||||
*/
|
*/
|
||||||
bool set_linear_velocity_and_yaw_rate(const Vector3f &linear_velocity, float yaw_rate_rads) override;
|
bool set_linear_velocity_and_yaw_rate(const Vector3f &linear_velocity, float yaw_rate_rads)override WARN_IF_UNUSED;
|
||||||
private:
|
private:
|
||||||
/*
|
/*
|
||||||
Return true if Rover is ready to handle external control data.
|
Return true if Rover is ready to handle external control data.
|
||||||
Currently checks mode and arm states.
|
Currently checks mode and arm states.
|
||||||
*/
|
*/
|
||||||
bool ready_for_external_control();
|
bool ready_for_external_control() WARN_IF_UNUSED;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AP_EXTERNAL_CONTROL_ENABLED
|
#endif // AP_EXTERNAL_CONTROL_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue