-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
julesAsk jules to fix this issueAsk jules to fix this issue
Description
Add 3 new indicators to the UI to show the status of G2 polling and logging.
Each indicator corresponds to one of the existing polling loggers. For reference, here are the logger names and endpoints:
- "Acoustic", endpoint is
/api/v1/position/acoustic/filtered
- "Vessel position"
/api/v1/position/master
- "Vessel orientation"
/api/v1/imu/calibrate
The text and color of each indicator should be as follows:
- grey with text "{logger_name} logging disabled" if the
--poll_rate
argument is <= 0. - yellow with text "{logger_name} logging enabled" if the
--poll_rate
argument is > 0, but polling has not been attempted for that logger. - red with the text "{logger_name} polling failed; is the bridge up?" if the
--poll_rate
argument is > 0, and the most recent polling attempt failed for that logger. - green with text "{logger_name}: {data}" if the
--poll_rate
argument is > 0, and the most recent polling attempt succeeded for that logger.
The data shown depends on the logger:
- Acoustic: show the 4 receiver distances
- Vessel position: lat, lon, orientation
- Vessel orientation: roll, pitch, yaw
Metadata
Metadata
Assignees
Labels
julesAsk jules to fix this issueAsk jules to fix this issue