-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Sensor initialization denotes which sensors are disabled (i.e. we are receiving no data from them), and which ones we are currently collecting data from. It will also be important to add the sensor initialization timeout and data retrieval timeout. These are double values, in seconds, that cannot go below 0.
Absolute and elevation encoders are critical sensors, which is why they are in red here.
Nothing will update when the user is checking checkboxes, because the sensor network must reboot every we want to change initialization. For this reason, we have a "Reboot" button that will send all the data at once. This should be formatted similarly, so that all of the sensor initialization, as well as the data/initialization timeouts, get sent in one packet to the control room.
Each sensor is stored in a 7-byte array (0 = disabled; 1 = enabled). See this enum for the indexes of each sensor in the byte array.
What you'll be sending to the control room:
- 7-byte sensor initialization array
- Data retrieval timeout
- Initialization timeout
- Command definition
SENSOR_INITso the control room knows what data this is
Separate values by comma.
An example packet will look like this: 1,1,1,0,1,1,1,1.5,11,SENSOR_INIT
Here is how everything is organized in the control room:

Contact the control room team with any questions.