IonSystems / tiberius-robot

Repository for all software modules used by Heriot-Watt University's Tiberius Robot.
1 stars 0 forks source link

table for validity of sensor data #55

Closed TechAUmNu closed 8 years ago

TechAUmNu commented 8 years ago

There needs to be a table which with boolean values for if a sensor is giving valid data or not.

Each sensor process will check its data to make sure it is valid over a certain time period. If not then it sets its corresponding valid boolean to false.

This is especially needed for the gps in the case that it goes indoors or under a bridge and stops receiving data. If a navigation algorithm was running it needs to know that the gps is no longer giving it information so needs to use other sensors.

TechAUmNu commented 8 years ago

This has been changed to a sensor can be in several states of validity. Which allows for a way to show uncertainty that data is correct. It also allows the values to be directly displayed on the diagnostics leds straight from the database.