PX4-Flow
PX4-Flow copied to clipboard
Sonar Performance Degradation
Master 91e6

Ae201 (before mode filter etc.)

I believe that the complexities introduced by the on-board filtering are unwarranted for the performance gain. It also is causing a loss of information as the 0 return code is mapping both out of range close and out of range far to the same value. As a possible solution, I created a branch that adds an error status to the i2c frame (nominal, unint, low, high): https://github.com/jgoppert/Flow/commit/98635635978f5341c1ec4d0f2d2d5ee51aaeb3c4 This would also require the same change on the FMU side and some modification to position_estimator_inav.
The suggestion makes sense.
Hi James, how is this PR looking? Any chance to take another stab getting this into master? The issue I'm having is that the flow driver will probably silently fail - we need to introduce a version tag and escalate the issue to the GCS. Or we need to map near and far to e.g. -1 and -2 and keep the frame format intact.