-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using SPEED_ESTIMATE
messages
#42
base: master
Are you sure you want to change the base?
Conversation
e8b8435
to
f3a0cbd
Compare
f3a0cbd
to
8a401e7
Compare
@Williangalvani did some testing, and the SPEED_ESTIMATE option was sending the data through but wasn't allowing position functionality, and the POSITION_ESTIMATE option was having issues with MAVLink2REST. We'll need to do some more investigating before this can be merged.
|
another note: it looks like the covariance isn't consumed for speed_estimate: |
Any updates on this issue? I'm experiencing similar problems. |
After Willian's comment on Jul 12th that the Covariance in VISION_SPEED_ESTIMATE is actually not used in the ardupliot code I was curious how it actually works. I had a closer look where the different messages end up. What I understand now (please correct if wrong): Current datapath:
Alternatives:
So my conclusion is basically that the DVL extension is as good as it can be now without changing Ardupilot code in addition. 🙂 |
SPEED_ESTIMATE
was previously disallowed because MAVLink2REST didn't supportNaN
values, but that has been resolved, and should be fixed in BlueOS since1.1.0
, which is far enough behind latest stable (1.2.5
) that it seems reasonable to assume people have updated, especially if they're wanting to update to a new Extension version.This PR:
1 Un-hides the frontend message type switching
The value order should be confirmed (MAVLink specifies row-major order, where the first three values are[vx, vy, vz; ...]
, but the WL protocol docs do not specifyCorrects the rangefinder type, as ultrasonic instead of laser-based
handle_position_local
- I'm unsure what needs doing there, because I don't know whether the DVL's internal EKF accounts for the sensor's orientation in its position estimates, which is what I've currently assumed (quite possibly incorrectly)