DistanceSensor constructor

DistanceSensor({
  1. required uint32_t timeBootMs,
  2. required uint16_t minDistance,
  3. required uint16_t maxDistance,
  4. required uint16_t currentDistance,
  5. required MavDistanceSensor type,
  6. required uint8_t id,
  7. required MavSensorOrientation orientation,
  8. required uint8_t covariance,
  9. required float horizontalFov,
  10. required float verticalFov,
  11. required List<float> quaternion,
  12. required uint8_t signalQuality,
})

Implementation

DistanceSensor({
  required this.timeBootMs,
  required this.minDistance,
  required this.maxDistance,
  required this.currentDistance,
  required this.type,
  required this.id,
  required this.orientation,
  required this.covariance,
  required this.horizontalFov,
  required this.verticalFov,
  required this.quaternion,
  required this.signalQuality,
});