-
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
improve and document mission interface #984
Comments
Concerning the 5 WP in Path, I did it like that because:
|
Hm... I can understand the point about the union and ease of implementation. Still think that it would be nicer to use variable length array in the end, that would also save bytes in the messages if your path is shorter. On the other hand, do we really want to have the same alt for the whole path (instead of a separate alt for each point in the path)? |
about mission module, i think it a good idea to make a polysurvey (osam like). what you suggest on how pass waypoints to MISSION_SURVEY ? its very usefull for pro grade photogrammetry jobs. |
Did I get my sums wrong? 1e7deg is up to 1.5 meters of error, isn't it? On Tue Nov 25 2014 at 7:58:57 PM Eduardo Reginato lavratti <
|
if you consider the earth radius at around 6371km, it gives a resolution of 6371000_1e^-7_pi/180 = 0.011 m. So 1cm resolution for 1e7deg with integer. Not sure what you can expect from float. |
A 32bit float has 23bits for the mantissa, which is a bit more than 7 digits. Since you already use 3 digits to represent the part to the left of the decimal point, that leaves about 4 digits for the rest.. |
A 32bit float has 23bits for the mantissa, which is a bit more than 7 digits. Since you already use 3 digits to represent the part to the left of the decimal point, that leaves about 4 digits for the rest.. So in the worst case of 180deg you have a resolution of only ~3m! With 1e7deg 32bit int you get ~1cm resolution. Rotorcraft part: Also removed the removed the altitude conversion from geoid alt to ellipsoid alt, requiring the alt in the message to already have ellipsoid alt. addresses first part of #984
A 32bit float has 23bits for the mantissa, which is a bit more than 7 digits. Since you already use 3 digits to represent the part to the left of the decimal point, that leaves about 4 digits for the rest.. So in the worst case of 180deg you have a resolution of only ~3m! With 1e7deg 32bit int you get ~1cm resolution. addresses first part of #984 (at least for the rotorcraft version, fixedwing version still converts to LLA float in between...)
We have a basic mission interface with the mission modules:
mission_fw.xml
mission_rotorcraft.xml
https://wiki.paparazziuav.org/wiki/Mission
While it now has support for global LLA coordinates, lat/lon are sent as float which should never be done because it has really bad precision/resolution.
Also how about using a variable length array for PATH instead of fixed 5 waypoints?
Todo:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: