Skip to content

Commit a6a7b3a

Browse files
authored
Add generic PT and Hall sensor ID (#39)
2 parents 3149a91 + e098f41 commit a6a7b3a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

parsley/message_types.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@
133133
'SENSOR_RADIO_CURR': 0x09,
134134
'SENSOR_GPS_CURR': 0x0A,
135135
'SENSOR_LOCAL_CURR': 0x0B,
136-
'SENSOR_PRESSURE_OX': 0x0C,
137-
'SENSOR_PRESSURE_FUEL': 0x0D,
138-
'SENSOR_PRESSURE_CC0': 0x0E,
139-
'SENSOR_PRESSURE_CC1': 0x0F,
140-
'SENSOR_OX_INJ_HALL': 0x10,
141-
'SENSOR_FUEL_INJ_HALL': 0x11,
136+
'SENSOR_PT_CHANNEL_0': 0x0C,
137+
'SENSOR_PT_CHANNEL_1': 0x0D,
138+
'SENSOR_PT_CHANNEL_2': 0x0E,
139+
'SENSOR_PT_CHANNEL_3': 0x0F,
140+
'SENSOR_PT_CHANNEL_4': 0x10,
141+
'SENSOR_HALL_CHANNEL_0': 0x11,
142142
'SENSOR_BARO_PRESSURE': 0x12,
143143
'SENSOR_BARO_TEMP': 0x13,
144144
'SENSOR_RA_BATT_VOLT_1': 0x14,
@@ -155,6 +155,8 @@
155155
'SENSOR_PAYLOAD_LIM_2': 0x1F,
156156
'SENSOR_PAYLOAD_SERVO_DIRECTION': 0x20,
157157
'SENSOR_PAYLOAD_INFRARED': 0x21,
158+
'SENSOR_HALL_CHANNEL_1': 0x22,
159+
'SENSOR_HALL_CHANNEL_2': 0x23,
158160
}
159161

160162
state_est_id = {

0 commit comments

Comments
 (0)