-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Ins velocity estimate #1412
Ins velocity estimate #1412
Conversation
…TIMATE, which is calculated in optic flow module
… changed message units from optic flow module to m/s
I figured out the scaling problem. There was an error in the calculation of the velocity estimate, which used image width and height in combination with the focal length in pixels, which is incorrect. I also added an alternative velocity estimate as a comment. |
…tical flow module
…l flow guidance module to new input
how is it looking now, is it sufficient enough for a merge? |
I also see that most of the changes that I've made is mostly inside the optical flow module (which was not necessary the purpose of this branch). If this is not yet sufficient for merge, could at least the current status of ins_velocity_estimate on the paparazzi repository be merged with the master? I would like to proceed with not changing the existing optical flow module itself any more, but with a velocity estimate from an external camera module. |
- ins_int: listen to VELOCITY_ESTIMATE ABI messages and use it as measurement to update horizontal velocity - add noise field to VELOCITY_ESTIMATE message - opticflow module: fix velocity scaling and rotate to body frame - update guidance opticflow hover module accordingly
Still TODO: actually calculate a realistic noise value (unit: m/s^2) in the opticflow module. Also we should decide if this should be the standard variation or already the variance (and rename that field as appropriate)... |
Yes, that is still something to be determined. I think that some quality values need to be logged together with the velocity estimate error with an optitrack system, and see if there is a correlation between them. Then an adaptive noise value can be made. This will take some time though to get it right, so I will ask somebody in the Lab who will work specifically on the optical flow module as it is. If a realistic noise model can be fitted for this, then the guidance control can be very robust. From: Felix Ruess [mailto:notifications@github.com] Still TODO: actually calculate a realistic noise value (unit: m/s^2) in the opticflow module. Also we should decide if this should be the standard variation or already the variance (and rename that field as appropriate)... — |
For now, just a pull request to the ins_velocity_estimate branch. Tomorrow I'll have another test flight, and then I'll send a pull request to master