PX4 Firmware
PX4 Autopilot Software http://px4.io
gam_module_msg Struct Reference

#include <messages.h>

Collaboration diagram for gam_module_msg:

Public Attributes

uint8_t start
 Start byte. More...
 
uint8_t gam_sensor_id
 GAM sensor id. More...
 
uint8_t warning_beeps
 
uint8_t sensor_text_id
 
uint8_t alarm_invers1
 
uint8_t alarm_invers2
 
uint8_t cell1
 Lipo cell voltages. More...
 
uint8_t cell2
 
uint8_t cell3
 
uint8_t cell4
 
uint8_t cell5
 
uint8_t cell6
 
uint8_t batt1_L
 Battery 1 voltage LSB value. More...
 
uint8_t batt1_H
 
uint8_t batt2_L
 Battery 2 voltage LSB value. More...
 
uint8_t batt2_H
 
uint8_t temperature1
 Temperature 1. More...
 
uint8_t temperature2
 Temperature 2. More...
 
uint8_t fuel_procent
 Fuel capacity in %. More...
 
uint8_t fuel_ml_L
 Fuel in ml scale. More...
 
uint8_t fuel_ml_H
 
uint8_t rpm_L
 RPM in 10 RPM steps. More...
 
uint8_t rpm_H
 
uint8_t altitude_L
 Altitude in meters. More...
 
uint8_t altitude_H
 
uint8_t climbrate_L
 Climb rate in 0.01m/s. More...
 
uint8_t climbrate_H
 
uint8_t climbrate3s
 Climb rate in m/3sec. More...
 
uint8_t current_L
 Current in 0.1A steps. More...
 
uint8_t current_H
 
uint8_t main_voltage_L
 Main power voltage using 0.1V steps. More...
 
uint8_t main_voltage_H
 
uint8_t batt_cap_L
 Used battery capacity in 10mAh steps. More...
 
uint8_t batt_cap_H
 
uint8_t speed_L
 Speed in km/h. More...
 
uint8_t speed_H
 
uint8_t min_cell_volt
 Minimum cell voltage in 2mV steps. More...
 
uint8_t min_cell_volt_num
 Number of the cell with the lowest voltage. More...
 
uint8_t rpm2_L
 RPM in 10 RPM steps. More...
 
uint8_t rpm2_H
 
uint8_t general_error_number
 Voice error == 12. More...
 
uint8_t pressure
 Pressure up to 16bar. More...
 
uint8_t version
 
uint8_t stop
 Stop byte. More...
 
uint8_t checksum
 Lower 8-bits of all bytes summed. More...
 

Detailed Description

Definition at line 131 of file messages.h.

Member Data Documentation

◆ alarm_invers1

uint8_t gam_module_msg::alarm_invers1

Definition at line 136 of file messages.h.

◆ alarm_invers2

uint8_t gam_module_msg::alarm_invers2

Definition at line 137 of file messages.h.

◆ altitude_H

uint8_t gam_module_msg::altitude_H

Definition at line 157 of file messages.h.

◆ altitude_L

uint8_t gam_module_msg::altitude_L

Altitude in meters.

offset of 500, 500 = 0m

Definition at line 156 of file messages.h.

◆ batt1_H

uint8_t gam_module_msg::batt1_H

Definition at line 145 of file messages.h.

◆ batt1_L

uint8_t gam_module_msg::batt1_L

Battery 1 voltage LSB value.

0.1V steps. 50 = 5.5V

Definition at line 144 of file messages.h.

◆ batt2_H

uint8_t gam_module_msg::batt2_H

Definition at line 147 of file messages.h.

◆ batt2_L

uint8_t gam_module_msg::batt2_L

Battery 2 voltage LSB value.

0.1V steps. 50 = 5.5V

Definition at line 146 of file messages.h.

◆ batt_cap_H

uint8_t gam_module_msg::batt_cap_H

Definition at line 166 of file messages.h.

◆ batt_cap_L

uint8_t gam_module_msg::batt_cap_L

Used battery capacity in 10mAh steps.

Definition at line 165 of file messages.h.

◆ cell1

uint8_t gam_module_msg::cell1

Lipo cell voltages.

Not supported.

Definition at line 138 of file messages.h.

◆ cell2

uint8_t gam_module_msg::cell2

Definition at line 139 of file messages.h.

◆ cell3

uint8_t gam_module_msg::cell3

Definition at line 140 of file messages.h.

◆ cell4

uint8_t gam_module_msg::cell4

Definition at line 141 of file messages.h.

◆ cell5

uint8_t gam_module_msg::cell5

Definition at line 142 of file messages.h.

◆ cell6

uint8_t gam_module_msg::cell6

Definition at line 143 of file messages.h.

◆ checksum

uint8_t gam_module_msg::checksum

Lower 8-bits of all bytes summed.

Definition at line 177 of file messages.h.

◆ climbrate3s

uint8_t gam_module_msg::climbrate3s

Climb rate in m/3sec.

Value of 120 = 0m/3sec

Definition at line 160 of file messages.h.

◆ climbrate_H

uint8_t gam_module_msg::climbrate_H

Definition at line 159 of file messages.h.

◆ climbrate_L

uint8_t gam_module_msg::climbrate_L

Climb rate in 0.01m/s.

Value of 30000 = 0.00 m/s

Definition at line 158 of file messages.h.

◆ current_H

uint8_t gam_module_msg::current_H

Definition at line 162 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ current_L

uint8_t gam_module_msg::current_L

Current in 0.1A steps.

Definition at line 161 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ fuel_ml_H

uint8_t gam_module_msg::fuel_ml_H

Definition at line 153 of file messages.h.

◆ fuel_ml_L

uint8_t gam_module_msg::fuel_ml_L

Fuel in ml scale.

Full = 65535

Definition at line 152 of file messages.h.

◆ fuel_procent

uint8_t gam_module_msg::fuel_procent

Fuel capacity in %.

Values 0 - 100 Graphical display ranges: 0 25% 50% 75% 100%

Definition at line 150 of file messages.h.

◆ gam_sensor_id

uint8_t gam_module_msg::gam_sensor_id

GAM sensor id.

Definition at line 133 of file messages.h.

Referenced by build_gam_response().

◆ general_error_number

uint8_t gam_module_msg::general_error_number

Voice error == 12.

TODO: more docu

Definition at line 173 of file messages.h.

◆ main_voltage_H

uint8_t gam_module_msg::main_voltage_H

Definition at line 164 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ main_voltage_L

uint8_t gam_module_msg::main_voltage_L

Main power voltage using 0.1V steps.

Definition at line 163 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ min_cell_volt

uint8_t gam_module_msg::min_cell_volt

Minimum cell voltage in 2mV steps.

124 = 2,48V

Definition at line 169 of file messages.h.

◆ min_cell_volt_num

uint8_t gam_module_msg::min_cell_volt_num

Number of the cell with the lowest voltage.

Definition at line 170 of file messages.h.

◆ pressure

uint8_t gam_module_msg::pressure

Pressure up to 16bar.

0,1bar scale. 20 = 2bar

Definition at line 174 of file messages.h.

◆ rpm2_H

uint8_t gam_module_msg::rpm2_H

Definition at line 172 of file messages.h.

◆ rpm2_L

uint8_t gam_module_msg::rpm2_L

RPM in 10 RPM steps.

300 = 3000rpm

Definition at line 171 of file messages.h.

◆ rpm_H

uint8_t gam_module_msg::rpm_H

Definition at line 155 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ rpm_L

uint8_t gam_module_msg::rpm_L

RPM in 10 RPM steps.

300 = 3000rpm

Definition at line 154 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ sensor_text_id

uint8_t gam_module_msg::sensor_text_id

Definition at line 135 of file messages.h.

Referenced by build_gam_response().

◆ speed_H

uint8_t gam_module_msg::speed_H

Definition at line 168 of file messages.h.

◆ speed_L

uint8_t gam_module_msg::speed_L

Speed in km/h.

Definition at line 167 of file messages.h.

◆ start

uint8_t gam_module_msg::start

Start byte.

Definition at line 132 of file messages.h.

Referenced by build_gam_response().

◆ stop

uint8_t gam_module_msg::stop

Stop byte.

Definition at line 176 of file messages.h.

Referenced by build_gam_response().

◆ temperature1

uint8_t gam_module_msg::temperature1

Temperature 1.

offset of 20. a value of 20 = 0°C

Definition at line 148 of file messages.h.

Referenced by build_gam_response(), and publish_gam_message().

◆ temperature2

uint8_t gam_module_msg::temperature2

Temperature 2.

offset of 20. a value of 20 = 0°C

Definition at line 149 of file messages.h.

Referenced by build_gam_response().

◆ version

uint8_t gam_module_msg::version

Definition at line 175 of file messages.h.

◆ warning_beeps

uint8_t gam_module_msg::warning_beeps

Definition at line 134 of file messages.h.


The documentation for this struct was generated from the following file: