BatteryStatusV2 constructor

BatteryStatusV2({
  1. required float voltage,
  2. required float current,
  3. required float capacityConsumed,
  4. required float capacityRemaining,
  5. required MavBatteryStatusFlags statusFlags,
  6. required int16_t temperature,
  7. required uint8_t id,
  8. required uint8_t percentRemaining,
})

Implementation

BatteryStatusV2({
  required this.voltage,
  required this.current,
  required this.capacityConsumed,
  required this.capacityRemaining,
  required this.statusFlags,
  required this.temperature,
  required this.id,
  required this.percentRemaining,
});