Checking arming

Hi,

I’d like to check if vehicle is armed in my data-lake variable. I found HEARTBIT/basic_mode - but it is a mask. Furthermore, I don’t know how to extract the required bit in the HEARTBIT/basic_mode variable (I have never found a documentation for languages is used for defining variables)

Hi @KoBo,

The compound variables are JavaScript, with a preprocessor syntax for accessing data lake variables.

I believe you should be able to create an Armed variable that’s defined using

{{ HEARTBEAT/base_mode }} & 128
3 Likes