SITL not working

Hi All,
I am running PX4 SITL on my computer.
I’m running Gazebo9 on Ubuntu16.04.

Launching the command

make posix_sitl_default gazebo
I obtain continuously errors like the following:

ERROR [sensors] Sensor Accel #0 failed. Reconfiguring sensor priorities.
WARN [sensors] Remaining sensors after failover event 0: Accel #0 priority: 1
WARN [sensors] Remaining sensors after failover event 0: Accel #1 priority: 1
ERROR [sensors] Gyro #0 fail: TIMEOUT!
ERROR [sensors] Sensor Gyro #0 failed. Reconfiguring sensor priorities.
WARN [sensors] Remaining sensors after failover event 0: Gyro #0 priority: 1
ERROR [sensors] Accel #0 fail: TIMEOUT!
ERROR [sensors] Sensor Accel #0 failed. Reconfiguring sensor priorities.
WARN [sensors] Remaining sensors after failover event 0: Accel #0 priority: 1
WARN [sensors] Remaining sensors after failover event 0: Accel #1 priority: 1
ERROR [sensors] Gyro #0 fail: TIMEOUT!

As a consequence I am not able to run correctly mission using QGroundControl.
Any suggestion to solve my problems?
Thank you all,
Valentina

1 Like

@valem It would be helpful if you share the whole log. It seems that your installation is incomplete

@Jaeyoung-Lim Thank you for reply! Please find attached whole log of
make posix_sitl_default gazebo
log.txt.pdf (34.4 KB)

Did you set this up using the standard scripts?
This is the sort of thing I see when running Gazebo9 in a VM. I think it is caused by insufficient resources.

Yes, I’ve used standard scripts. Gazebo is not running in a VM. , I’m using Intel i7 3630QM and 8GB RAM.

Sorry for delay. Perhaps not a resource issue then. Assuming it still might be, you might get better performance by running Gazebo headless: HEADLESS=1 make posix gazebo

@Jaeyoung-Lim Can you infer anything from the logs?

@valem It seems linke your SITL and gazebo plugin are not talking properly.

Have you tested with jmavsim? Try:

make posix_sitl_default jmavsim