mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 22:13:33 +08:00
update msgs fields from camelCase to snake_case so rosidl_generate_interfaces() is able to generate code for ROS IDL files
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
float32 voltage5V_v # peripheral 5V rail voltage
|
||||
float32 voltage3V3_v # Sensor 3V3 rail voltage
|
||||
float32 voltage5v_v # peripheral 5V rail voltage
|
||||
float32 voltage3v3_v # Sensor 3V3 rail voltage
|
||||
uint8 v3v3_valid # Sensor 3V3 rail voltage was read.
|
||||
uint8 usb_connected # USB is connected when 1
|
||||
uint8 brick_valid # brick bits power is good when bit 1
|
||||
uint8 usb_valid # USB is valid when 1
|
||||
uint8 servo_valid # servo power is good when 1
|
||||
uint8 periph_5V_OC # peripheral overcurrent when 1
|
||||
uint8 hipower_5V_OC # hi power peripheral overcurrent when 1
|
||||
uint8 periph_5v_oc # peripheral overcurrent when 1
|
||||
uint8 hipower_5v_oc # hi power peripheral overcurrent when 1
|
||||
|
||||
uint8 BRICK1_VALID_SHIFTS=0
|
||||
uint8 BRICK1_VALID_MASK=1
|
||||
@@ -16,4 +16,3 @@ uint8 BRICK3_VALID_SHIFTS=2
|
||||
uint8 BRICK3_VALID_MASK=4
|
||||
uint8 BRICK4_VALID_SHIFTS=3
|
||||
uint8 BRICK4_VALID_MASK=8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user