PX4 with AirSim -> Preflight Fail: High Accelerometer Bias #3474
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Forgot to include my settings.json file.
|
Beta Was this translation helpful? Give feedback.
-
Hi @mych907, it does make sense that one (and/or all) of the sensors would freak out (on PX4's side) when you run I could be completely wrong though but this is what popped into mind the first time I saw abnormal behavior when trying to reset the simulation in PX4 SITL/HITL mode. If you need to restart the simulation you would need to restart the PX4 stack along with the AirSim simulator (or atleast thats what I end up doing). |
Beta Was this translation helpful? Give feedback.
Hi @mych907, it does make sense that one (and/or all) of the sensors would freak out (on PX4's side) when you run
client.reset()
since (from what I understand) the autopilot is not expecting the drone to suddenly teleport to a new location instantaneously (realistically this would never happen irl). This probably results in PX4 translating that into a 'bad bunch of sensor readings'.I could be completely wrong though but this is what popped into mind the first time I saw abnormal behavior when trying to reset the simulation in PX4 SITL/HITL mode. If you need to restart the simulation you would need to restart the PX4 stack along with the AirSim simulator (or atleast thats what I end up doi…