mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AC_AttControl: return angle_ef_targets as const ref
This commit is contained in:
parent
340f3a7f9d
commit
b478c3a321
@ -119,7 +119,7 @@ public:
|
||||
void limit_angle_to_rate_request(bool limit_request) { _flags.limit_angle_to_rate_request = limit_request; }
|
||||
|
||||
// angle_ef_targets - returns angle controller earth-frame targets (for reporting)
|
||||
Vector3f angle_ef_targets() const { return _angle_ef_target; }
|
||||
const Vector3f& angle_ef_targets() const { return _angle_ef_target; }
|
||||
|
||||
// rate_bf_targets - gets rate controller body-frame targets
|
||||
void rate_bf_roll_target(float rate_cds) { _rate_bf_target.x = rate_cds; }
|
||||
|
Loading…
Reference in New Issue
Block a user