PX4 / PX4-Autopilot

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

QGC and flightgear with pixhawk HIL can not work. #6722

Closed goodman110110110 closed 6 years ago

goodman110110110 commented 7 years ago

I want to do the HIL fix-wing simulation with QGC 3.1.3, pixhawk(pix4, latest code) and flightgear 3.4. But I can not find the simulation airframe for flightgear but the HILstar (xplane), so I choose the HILstar (xplane) and apply. When start the simulation, the QGC ui can receive the data from the flightgear and the RC, but flightgear can not receive the data from QGC, the plane in the flightgear can not be controlled by RC.

Please help me. Thank you!

pgorczak commented 7 years ago

Bump I am stuck on the same issue

bkueng commented 7 years ago

There was a recent fix for HIL merged to master (https://github.com/PX4/Firmware/pull/6718). Can you try again? If there is a communication issue between QGC and flightgear, it should be raised in QGC: https://github.com/mavlink/qgroundcontrol

pgorczak commented 7 years ago

I built and flashed the firmware from master. Starting FlightGear from the HIL widget in QGC triggers errors à la

EMERGENCY: Accel 0 fail: TOUT!

Plus, as @goodman110110110 mentioned, QGC receives vehicle data but e.g. increasing throttle has no effect in FlightGear.

Is this an issue with the airframe? Like @goodman110110110 , I've picked the HILstar (xplane) one.

goodman110110110 commented 7 years ago

yes, I have the same problem. The pixhawk firmware will never support the flightgear HIL?

Why current master has not the flightgear hil airframe but xplane.

The net should give the retail operator of how to use pixhawk hil with qgc and flightgear in windows.

what can I do to carray out the HIL with flightgear. 2017年3月13日星期一,Philipp Gorczak notifications@github.com 写道:

I built and flashed the firmware from master. Starting FlightGear from the HIL widget in QGC triggers errors à la

EMERGENCY: Accel 0 fail: TOUT!

Plus, as @goodman110110110 https://github.com/goodman110110110 mentioned, QGC receives vehicle data but e.g. increasing throttle has no effect in FlightGear.

Is this an issue with the airframe? Like @goodman110110110 https://github.com/goodman110110110 , I've picked the HILstar (xplane) one.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PX4/Firmware/issues/6722#issuecomment-286099973, or mute the thread https://github.com/notifications/unsubscribe-auth/ARYeVy1G9tFOPTPVu5j2R7_XcyY99Lb9ks5rlT3SgaJpZM4MS9Zh .

lupusorina commented 7 years ago

Hey, I am having the same issue. I am trying to do HIL with last version of PX4, QGC and Flightgear. It would be awesome if anyone found a solution/fix.

Thanks

PX4BuildBot commented 6 years ago

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)