After a successful compile of the firmware, I went on (without writing it to my pixracer) with http://dev.px4.io/simulation-sitl.html
make posix_sitl_default jmavsim
ends in:
BUILD SUCCESSFUL
Total time: 3 seconds
SITL COMMAND: /usr/src/debian/px4-firmware/px4-firmware.git/build_posix_sitl_default/src/firmware/posix/px4 /usr/src/debian/px4-firmware/px4-firmware.git /usr/src/debian/px4-firmware/px4-firmware.git/posix-configs/SITL/init/lpe/iris
data path: /usr/src/debian/px4-firmware/px4-firmware.git
commands file: /usr/src/debian/px4-firmware/px4-firmware.git/posix-configs/SITL/init/lpe/iris
creating new parameters file
creating new dataman file
| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /| |
| | / /^\ \ ___ |
_| / / |_/
px4 starting.
WARN [param] error importing from ‘rootfs/eeprom/parameters’
Command ‘param’ failed, returned 1
SYS_AUTOSTART: curr: 0 → new: 4010
INFO [dataman] Unkown restart, data manager file ‘rootfs/fs/microsd/dataman’ size is 103090 bytes
BAT_N_CELLS: curr: 0 → new: 3
CAL_GYRO0_ID: curr: 0 → new: 2293768
CAL_ACC0_ID: curr: 0 → new: 1376264
CAL_ACC1_ID: curr: 0 → new: 1310728
CAL_MAG0_ID: curr: 0 → new: 196616
CAL_GYRO0_XOFF: curr: 0.0000 → new: 0.0100
CAL_ACC0_XOFF: curr: 0.0000 → new: 0.0100
CAL_ACC0_YOFF: curr: 0.0000 → new: -0.0100
CAL_ACC0_ZOFF: curr: 0.0000 → new: 0.0100
CAL_ACC0_XSCALE: curr: 1.0000 → new: 1.0100
CAL_ACC0_YSCALE: curr: 1.0000 → new: 1.0100
CAL_ACC0_ZSCALE: curr: 1.0000 → new: 1.0100
CAL_ACC1_XOFF: curr: 0.0000 → new: 0.0100
CAL_MAG0_XOFF: curr: 0.0000 → new: 0.0100
SENS_BOARD_ROT: curr: 0 → new: 8
SENS_BOARD_X_OFF: curr: 0.0000 → new: 0.0000
COM_RC_IN_MODE: curr: 0 → new: 1
NAV_DLL_ACT: curr: 0 → new: 2
COM_DISARM_LAND: curr: 0 → new: 3
NAV_ACC_RAD: curr: 10.0000 → new: 2.0000
COM_OF_LOSS_T: curr: 0.0000 → new: 5.0000
COM_OBL_ACT: curr: 0 → new: 2
RTL_RETURN_ALT: curr: 60.0000 → new: 30.0000
RTL_DESCEND_ALT: curr: 30.0000 → new: 5.0000
RTL_LAND_DELAY: curr: -1.0000 → new: 5.0000
MIS_TAKEOFF_ALT: curr: 10.0000 → new: 2.5000
MC_ROLLRATE_P: curr: 0.1500 → new: 0.2000
MC_PITCHRATE_P: curr: 0.1500 → new: 0.2000
MC_PITCH_P: curr: 6.5000 → new: 6.0000
MC_ROLL_P: curr: 6.5000 → new: 6.0000
MPC_HOLD_MAX_Z: curr: 0.6000 → new: 2.0000
MPC_Z_VEL_P: curr: 0.2000 → new: 0.6000
MPC_Z_VEL_I: curr: 0.0200 → new: 0.1500
EKF2_GBIAS_INIT: curr: 0.1000 → new: 0.0100
EKF2_ANGERR_INIT: curr: 0.1000 → new: 0.0100
INFO [platforms__posix__drivers__ledsim] LED::init
INFO [platforms__posix__drivers__ledsim] LED::init
INFO [simulator] Not using /dev/ttyACM0 for radio control input. Assuming joystick input via MAVLink.
INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…
Options parsed, starting Sim.
Starting GUI…
3D [dev] 1.6.0-pre12-daily-experimental daily
libEGL warning: DRI2: failed to authenticate
Init MAVLink
INFO [simulator] Got initial simuation data, running sim…
INFO [pwm_out_sim] MODE_8PWM
INFO [tone_alarm] startup
/usr/src/debian/px4-firmware/px4-firmware.git/Tools/sitl_run.sh: line 134: 15144 Segmentation fault (core dumped) $sitl_command
[100%] Built target jmavsim
It seems that build_posix_sitl_default/src/firmware/posix/px4 crashes with SIGSEGV in uORB::Manager::node_open().
Is there anything obvious that I’m missing?
Thanks