PSAS/ RocketViewImuNode

Inertial Measurement Unit 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).

If the data is unkown - e.g., because a message has not been received which sets this data - then display a dash(-).

Note: Ian came up with a good idea, which is to integrate this display with the 6 strip charts. There's no reason the IMU needs its own box, so if the IMU mode can be integrated with the stripcharts as a header (or bounding box) and the text can be added to each strip charts, that would be great. The temperature could be added between the bouning box and the first strip chart, maybe.

IMU Node ([-|Safe|Armed])

Temp: [-|xx.x deg. C]

X acc: [-|xxx.x g] Y acc: [-|xxx.x g] Z acc: [-|xxx.x g]

R vel: [-| xxx.x deg/s] P vel: [-| xxx.x deg/s] Y vel: [-| xxx.x deg/s]

Here's how to map CAN messages to the display:

The IMU node's mode is set by IMU_REPORT_MODE = 1B61 = DB 0 1 [mode] where mode is:

temp (the temperature of the IMU) is set by TEMP_REPORT_DATA = 6B22 = 359 0 2 [MSB] [LSB] where:

                                       3487.972309658033
Internal Temp.[K] = ------------------------------------------------------
                     Log[ (3.116381893600779E8 / counts) - 252811.23882451496 ]

Accelerometers and gyros TBD: strip charts? Or display here?