Skip to content

Handle sensors breaking #7

@patrick-5546

Description

@patrick-5546

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:

  1. Assume this will never happen again (-_-)
  2. 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)
  3. 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?

Metadata

Metadata

Labels

bugSomething isn't workingrayeRaye tasks

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions