github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/all/message_battery_status_v2.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package all 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/development" 7 ) 8 9 // Battery dynamic information. 10 // This should be streamed (nominally at 1Hz). 11 // Static/invariant battery information is sent in SMART_BATTERY_INFO. 12 // Note that smart batteries should set the MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL bit to indicate that supplied capacity values are relative to a battery that is known to be full. 13 // Power monitors would not set this bit, indicating that capacity_consumed is relative to drone power-on, and that other values are estimated based on the assumption that the battery was full on power-on. 14 type MessageBatteryStatusV2 = development.MessageBatteryStatusV2