Browse Source

Vehicle.h: public getter for vehicle compid

QGC4.4
davidsastresas 2 years ago committed by David Sastre
parent
commit
518730e39e
  1. 1
      src/Vehicle/Vehicle.h

1
src/Vehicle/Vehicle.h

@ -482,6 +482,7 @@ public:
// Property accesors // Property accesors
int id() const{ return _id; } int id() const{ return _id; }
int compId() const{ return _compID; }
MAV_AUTOPILOT firmwareType() const { return _firmwareType; } MAV_AUTOPILOT firmwareType() const { return _firmwareType; }
MAV_TYPE vehicleType() const { return _vehicleType; } MAV_TYPE vehicleType() const { return _vehicleType; }
QGCMAVLink::VehicleClass_t vehicleClass(void) const { return QGCMAVLink::vehicleClass(_vehicleType); } QGCMAVLink::VehicleClass_t vehicleClass(void) const { return QGCMAVLink::vehicleClass(_vehicleType); }

Loading…
Cancel
Save