Hi again Hiroyuki,
Thanks for taking the time to explain your calculations. Since my APM can load Arduplane 3.4.0 only, the altitude control is solely based on baro input (I think). Because of that, I must be more careful planning high flying missions, considering any possible measuring errors. Just an extra step by increasing the planned altitude by 1.06 (in my case), and not a big issue.
I guess many other Arduplane users have the older APM controllers.
My intention with my post was to find out if others have observed the same as me (you did!) and giving a heads up just in case. Hinting about a new parameter for the old APM FW was not well thought out, but perhaps a tip for the ongoing Pixhawk versions?
Your Pixhawk controller gives you many more parameters and options to control your copter. By using these I think you will be successful with your programming, also by reading and picking up tips from the user groups and the “Complete parameter List” for copters.
By searching the list for “baro” I found several parameters relating to altitude control for Pixhawk - have look at http://ardupilot.org/copter/docs/parameters.html.
- EK2_ALT_M_NSE
- EK2_OGN_HGT_MASK
- EK3_ALT_SOURCE
Sorry if you already knew all this…
Have a nice day!
Regards Jan (who have visited Japan many, many years ago. Very nice people!)