mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AC_P: add const accessor
This commit is contained in:
parent
c1708db208
commit
398a0d89bf
@ -56,6 +56,7 @@ public:
|
||||
|
||||
// accessors
|
||||
AP_Float &kP() { return _kp; }
|
||||
const AP_Float &kP() const { return _kp; }
|
||||
void kP(const float v) { _kp.set(v); }
|
||||
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
|
Loading…
Reference in New Issue
Block a user