ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.1k stars 17.68k forks source link

AP_Arming/EKF3: add detail to "Need Position Estimate" pre-arm failure #16614

Open rmackay9 opened 3 years ago

rmackay9 commented 3 years ago

4.1 may display the "Need Position Estimate" message when the EKF does not yet have a good position estimate. If possible we should display what the issue is. e.g. GPS, IMU or something else.

I think if the GPS doesn't have enough satellites we display a message. If it's the IMU I'm sure we don't print any extra information.

hi6otb commented 2 years ago

I'm unable to arm due to this error. Can I still use the following features in version 4.2.3? I need to use ROS and T265.

https://ardupilot.org/dev/docs/ros-vio-tracking-camera.html

Dkyouma commented 5 days ago

Is there anything to be done? I have the same problem but in different way i have a raspberry pi script that command my pixhawk but i have a statement Prearm : need a postion estimate And it is not arming any good solution i have tried to disable my gps but nothing works

rmackay9 commented 5 days ago

Hi @Dkyouma,

Our pre-arm error message wiki page is here.

If the vehicle is being armed in a flight mode that requires a position estimate then it needs a GPS with a good view of the sky. If a GPS isn't possible then maybe have a look at our non-GPS wiki page which is here. Alternatively consider trying to arm in a mode that doesn't require a position estimate

Dkyouma commented 5 days ago

Can you be more specific, what you mean is the my pixhawk model only supports gps so i have to buy another model to apply non gps navigation?

On Fri, 29 Nov 2024, 02:31 Randy Mackay, @.***> wrote:

Hi @Dkyouma https://github.com/Dkyouma,

Our pre-arm error message wiki page is here https://ardupilot.org/copter/docs/common-prearm-safety-checks.html.

If the vehicle is being armed in a flight mode that requires a position estimate then it needs a GPS with a good view of the sky. If a GPS isn't possible then maybe have a look at our non-GPS wiki page which is here https://ardupilot.org/copter/docs/common-non-gps-navigation-landing-page.html. Alternatively consider trying to arm in a mode that doesn't require a position estimate

— Reply to this email directly, view it on GitHub https://github.com/ArduPilot/ardupilot/issues/16614#issuecomment-2506851586, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHTGFOD6C3VDWQF2HYHKUD32C6RVPAVCNFSM6AAAAABSVPA2S2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWHA2TCNJYGY . You are receiving this because you were mentioned.Message ID: @.***>

rmackay9 commented 5 days ago

Hi @Dkyouma,

These questions really belong on the support forums but the short answer is that it doesn't depend upon the flight controller. It depends upon the sensors connected to the flight controller. Please have a peek at the Non-GPS page if you're doing indoor flight

Dkyouma commented 5 days ago

So i have buy some sensors to do that mission it is not about the mission planner settings?

rmackay9 commented 5 days ago

@Dkyouma,

I guess you're asking the age old question, "why does my vehicle need a GPS? Why can't it just estimate its position using the IMU?" and the answer is that the IMUs in modern flight controllers are not accurate enough to do this. They all have noise and drift which when integrated (which is what is required to convert an acceleration into a velocity and then position) results in the position estimate diverging from reality in a matter of seconds.

To maintain a position estimate for any longer than about 7 seconds a sensor like a GPS, optical flow, vision camera, beacon system, etc is required.

Dkyouma commented 5 days ago

Thanks