Currently local pathfinding depends on all sensors in the global variables ACTIVE_GPS_SENSORS and ACTIVE_WIND_SENSORS working: local-pathfinding/python/ros_interface.py. What is the likelihood of a GPS or wind sensor breaking, and how can we detect this? From our latest dry land test, GPS CAN could lose signal, which would cause it to not publish new data. 3 ways to handle this come to mind:
Assume this will never happen again (-_-)
Only use GPS AIS (simplest solution, and we probably don't gain much accuracy by average GPS AIS and CAN anyways; we already tested that they have the same accuracy and precision)
When GPS CAN is not publishing new data publish GPS AIS in the GPS CAN field
Related questions to consider
Are there any other ways that a sensor could break that we could easily handle?
Should we do this for any other sensors besides GPS CAN?
Assuming the GPS AIS doesn't fail, we need some way to determine if it's failing. Would something like "if the GPS CAN coordinates don't change for X seconds/minutes but the GPS AIS coordinates do, then the GPS CAN is failing" work?
Currently local pathfinding depends on all sensors in the global variables
ACTIVE_GPS_SENSORS
andACTIVE_WIND_SENSORS
working:local-pathfinding/python/ros_interface.py
. What is the likelihood of a GPS or wind sensor breaking, and how can we detect this? From our latest dry land test, GPS CAN could lose signal, which would cause it to not publish new data. 3 ways to handle this come to mind:Related questions to consider