mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_Mount: add access for primary instance
This commit is contained in:
parent
76096899ac
commit
73d817b985
@ -98,6 +98,9 @@ public:
|
||||
// used for gimbals that need to read INS data at full rate
|
||||
void update_fast();
|
||||
|
||||
// return primary instance
|
||||
uint8_t get_primary() const { return _primary; }
|
||||
|
||||
// get_mount_type - returns the type of mount
|
||||
AP_Mount::MountType get_mount_type() const { return get_mount_type(_primary); }
|
||||
AP_Mount::MountType get_mount_type(uint8_t instance) const;
|
||||
|
Loading…
Reference in New Issue
Block a user