APS Node Display in rocketview
Note: Message IDs are described in the form DEFINED_MESSAGE_NAME = [16bit ID] = [11bit ID] [RTR] [length] [byte0] ... [byte7]
, where the 16bit ID is the 16 bit "packed value" of the ID (11 bits CAN ID + 1 bit RTR + 4 bits length).
A dash (-) in a data means that data is unknown because no CAN message with that data in it has been received yet. Thus, on startup, rocketview will have dashes in all the data until the messages start flowing in.
APS Node ([-|Sleep|Awake|Safe|Armed]) |
The APS mode is set by APS_REPORT_MODE = 2B01 = 158 0 1 [mode]
where mode
is:
- 0x12 =
Sleep
- 0x23 =
Awake
- 0x34 =
Safe
- 0x88 =
Armed
Umbilical
(whether the umbilical cord is plugged in or not) is set by UMB_REPORT_CONNECTOR = 3301 = 198 0 1 [umb]
where umb
is:
- 0 =
Removed
- 1 =
Connected
Shore Pwr
(whether the external "shore" power is on) is set by UMB_REPORT_SHOW_POWER = 3321 = 199 0 1 [pwr]
where pwr
is:
- 0 =
Off
- 1 =
On
Rkt Rdy
(whether the rocket is asserting the Rocket Ready signal on the umbilical cord) is set by UMB_REPORT_ROCKETREADY = 3341 = 19A 0 1 [rr]
where rr
is:
- 0 =
Off
- 1 =
On
Charging
(whether the Li Ion battery is being charged or not) is set by PWR_REPORT_CHARGER = 3B61 = 1DB 0 1 [chrg]
where chrg
is:
- 0 =
Off
- 1 =
On
Battery volts, current and state of charge are set by:
APS_DATA_VOLTS = 3B02 = 1D8 0 2 [H] [L]
where the volts are V = 5/1024/.14815 * countsAPS_DATA_AMPS = 3B22 = 1D9 0 4 [D] [D] [D] [D]
where the amps are A = 768.05 / countsAPS_DATA_CHARGE = 3B44 = 1DA 0 2 [H] [L]
where the amphours are in counts where 1 count = 3.0722 C = 853.4 x 10^-6 Ah)
S1 - S4 (state of the power switches) are set by APS_REPORT_SWITCH_1
through APS_REPORT_SWITCH_4
where byte 0 is:
- 0 =
Off
- 1 =
On