PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.54k stars 13.52k forks source link

Airsim HITL Px4 #17236

Open kwanyongcho7 opened 3 years ago

kwanyongcho7 commented 3 years ago

Describe the bug A clear and concise description of the bug.

To Reproduce Steps to reproduce the behavior:

  1. Connect to AirSIM
  2. Arm with MAVSDK-Python

Expected behavior Take off correctly, Altitude Stable

Log Files and Screenshots https://logs.px4.io/plot_app?log=fdf5e18d-8599-4e97-9170-79ed42565023

I am trying to fly vechile with MAVSDK-Python in Airsim HITL Mode.

Altitude Keep goes up even I just press arm.

When I Arm the vehicle, It keep saying that

image

Critical : FAILSAFE enabled NO GLOBAL POSITION Critical : Failsafe enabled No local position Emergency : Critical Navigation Failure! Check sensor Calibration

Is there any way I can correct it?

Add screenshots to help explain your problem.

Drone (please complete the following information):

Additional context Add any other context about the problem here.

Jaeyoung-Lim commented 3 years ago

@kwanyongcho7 Which airsim version are you running? Have you checked https://github.com/microsoft/AirSim/issues/2477 ?

I am not sure if Airsim works with PX4 v1.11