Skip to content

Add a page for sensor network sensor initialization #66

@pdnelson

Description

@pdnelson

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_INIT so 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:
image

Contact the control room team with any questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions