Question about PX4 HITL #3467
-
|
I'm a beginner at AirSim. During my study of AirSim with PX4, it seemed that a PX4 hardware could be connected to computer via USB. The PX4 can be used to control the movement of a multicopter in Unreal Engine, if I'm right. Then my question is, what happens to the IMU data of the PX4 hardware? It is definitely stationary, connected to my computer. Shouldn't the sensor data conflict if the multicopter started moving? Or am I completely getting this wrong? A little help to clear the confusion will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @mych907 and welcome to the community ^_^ |
Beta Was this translation helpful? Give feedback.

Hi @mych907 and welcome to the community ^_^
AFAIK (and according to this doc), when you select the HIL configuration/frame (Step 4 in the AirSim HITL guide similar to the image below) the 'real' sensors on the Pixhawk hardware are disabled. So moving the Pixhawk controller around would not results in anything (other than the USB cord disconnecting if its loose maybe 😂) since all the sensor data is coming from the simulator.