AdventureData / radicl

Command line interface & API for using the Lyte probe. Users can take measurements, configure and update the probe with this software
https://adventuredata.com/
Other
3 stars 0 forks source link

On failing to retrieve data from probe, offer to go home #14

Open micahjohnson150 opened 3 years ago

micahjohnson150 commented 3 years ago

Description

When the probe is not ready for a measurement or does not return data we ask the user if they want to try again and then offer to start another measurement. What we don't do is offer to got back. Thus if the problem persists the user is stuck in a infinite loop of failing to get measurements.

What I Did

radicl.probe ERROR resetMeasurement error:2049
Press any key to begin a measurement.

radicl.probe ERROR startMeasurement error:2049
Press any key to stop the measurement.

radicl.probe ERROR stopMeasurement error:2049
radicl.radicl INFO Downloading rawacceleration data from probe...
radicl.probe INFO Querying probe for acceleration data...
radicl.probe ERROR Read Acceleration error: No data available!
radicl.radicl ERROR
radicl.radicl ERROR Retrieving probe data failed, try again.
radicl.probe ERROR resetMeasurement error:2049
Press any key to begin a measurement.

radicl.probe ERROR startMeasurement error:2049
Press any key to stop the measurement.

radicl.probe ERROR stopMeasurement error:2049
radicl.radicl INFO Downloading rawacceleration data from probe...
radicl.probe INFO Querying probe for acceleration data...
radicl.probe ERROR Read Acceleration error: No data available!