Hi,
After trying to run the sitl with make posix_sitl_default jmavsim;
I get the following error. Any ideas? (The log is here: https://ufile.io/tlolb )
– PX4 VERSION: v1.8.2
– CONFIG: posix_sitl_default
– Build Type: RelWithDebInfo
– The CXX compiler identification is GNU 5.4.0
– The C compiler identification is GNU 5.4.0
– The ASM compiler identification is GNU
– Found assembler: /usr/bin/cc
– Check for working CXX compiler using: Ninja
– Check for working CXX compiler using: Ninja – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Check for working C compiler using: Ninja
– Check for working C compiler using: Ninja – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Found PythonInterp: /usr/bin/python (found version “2.7.12”)
– Found PY_jinja2: /usr/local/lib/python2.7/dist-packages/jinja2
– C compiler: cc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
– C++ compiler: c++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
– PX4 ECL: Very lightweight Estimation & Control Library v0.9.0-553-g1a11068
– Configuring done
– Generating done
– Build files have been written to: /home/burak/Documents/PX4/Firmware/build/posix_sitl_default
ninja: Entering directory `/home/burak/Documents/PX4/Firmware/build/posix_sitl_default’
[627/627] cd /home/burak/Documents/PX4…/PX4/Firmware/build/posix_sitl_default
args: /home/burak/Documents/PX4/Firmware/build/posix_sitl_default/px4 posix-configs/SITL/init/ekf2 none jmavsim none /home/burak/Documents/PX4/Firmware /home/burak/Documents/PX4/Firmware/build/posix_sitl_default
SITL ARGS
sitl_bin: /home/burak/Documents/PX4/Firmware/build/posix_sitl_default/px4
rcS_dir: posix-configs/SITL/init/ekf2
debugger: none
program: jmavsim
model: none
src_path: /home/burak/Documents/PX4/Firmware
build_path: /home/burak/Documents/PX4/Firmware/build/posix_sitl_default
empty model, setting iris as default
SITL COMMAND: /home/burak/Documents/PX4/Firmware/build/posix_sitl_default/px4 /home/burak/Documents/PX4/Firmware /home/burak/Documents/PX4/Firmware/posix-configs/SITL/init/ekf2/iris
data path: /home/burak/Documents/PX4/Firmware
commands file: /home/burak/Documents/PX4/Firmware/posix-configs/SITL/init/ekf2/iris
creating new parameters file
creating new dataman file
52 WARNING: setRealtimeSched failed (not run as root?)
| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /| |
| | / /^\ \ ___ |
_| / / |_/
px4 starting.
ERROR [parameters] decoder init failed
ERROR [param] importing from ‘rootfs/eeprom/parameters’ failed (-61)
Command ‘param’ failed, returned 1
INFO [dataman] Unknown restart, data manager file ‘rootfs/fs/microsd/dataman’ size is 11405132 bytes
BAT_N_CELLS: curr: 0 -> new: 3
CAL_ACC0_ID: curr: 0 -> new: 1376264
CAL_ACC0_XOFF: curr: 0.0000 -> new: 0.0100
CAL_ACC0_XSCALE: curr: 1.0000 -> new: 1.0100
CAL_ACC0_YOFF: curr: 0.0000 -> new: -0.0100
CAL_ACC0_YSCALE: curr: 1.0000 -> new: 1.0100
CAL_ACC0_ZOFF: curr: 0.0000 -> new: 0.0100
CAL_ACC0_ZSCALE: curr: 1.0000 -> new: 1.0100
CAL_ACC1_ID: curr: 0 -> new: 1310728
CAL_ACC1_XOFF: curr: 0.0000 -> new: 0.0100
CAL_GYRO0_ID: curr: 0 -> new: 2293768
CAL_GYRO0_XOFF: curr: 0.0000 -> new: 0.0100
CAL_MAG0_ID: curr: 0 -> new: 196616
CAL_MAG0_XOFF: curr: 0.0000 -> new: 0.0100
COM_DISARM_LAND: curr: 0 -> new: 3
COM_OBL_ACT: curr: 0 -> new: 2
COM_OF_LOSS_T: curr: 0.0000 -> new: 5.0000
COM_RC_IN_MODE: curr: 0 -> new: 1
EKF2_ANGERR_INIT: curr: 0.1000 -> new: 0.0100
EKF2_GBIAS_INIT: curr: 0.1000 -> new: 0.0100
EKF2_MAG_TYPE: curr: 0 -> new: 1
MC_PITCH_P: curr: 6.5000 -> new: 6.0000
MC_PITCHRATE_P: curr: 0.1500 -> new: 0.2000
MC_ROLL_P: curr: 6.5000 -> new: 6.0000
MC_ROLLRATE_P: curr: 0.1500 -> new: 0.2000
MPC_HOLD_MAX_Z: curr: 0.6000 -> new: 2.0000
MPC_Z_VEL_I: curr: 0.0200 -> new: 0.1500
MPC_Z_VEL_P: curr: 0.2000 -> new: 0.6000
NAV_ACC_RAD: curr: 10.0000 -> new: 2.0000
NAV_DLL_ACT: curr: 0 -> new: 2
RTL_DESCEND_ALT: curr: 30.0000 -> new: 5.0000
RTL_LAND_DELAY: curr: -1.0000 -> new: 5.0000
RTL_RETURN_ALT: curr: 60.0000 -> new: 30.0000
SDLOG_DIRS_MAX: curr: 0 -> new: 7
SENS_BOARD_X_OFF: curr: 0.0000 -> new: 0.0000
SYS_AUTOSTART: curr: 0 -> new: 4010
INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…
Buildfile: /home/burak/Documents/PX4/Firmware/Tools/jMAVSim/build.xml
make_dirs:
compile:
create_run_jar:
[jar] Building jar: /home/burak/Documents/PX4/Firmware/Tools/jMAVSim/out/production/jmavsim_run.jar
copy_res:
BUILD SUCCESSFUL
Total time: 0 seconds
Options parsed, starting Sim.
Starting GUI…
3D [dev] 1.6.0-pre12-daily-experimental daily
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fa5d240124d, pid=12497, tid=0x00007fa5d34bd700
JRE version: OpenJDK Runtime Environment (8.0_191-b12) (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12)
Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libGL.so.1+0x5424d]
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
An error report file with more information is saved as:
/home/burak/Documents/PX4/Firmware/Tools/jMAVSim/out/production/hs_err_pid12497.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
/home/burak/Documents/PX4/Firmware/Tools/jmavsim_run.sh: line 47: 12497 Aborted (core dumped) java -XX:GCTimeRatio=20 -Djava.ext.dirs= -jar jmavsim_run.jar $device $extra_args
Options parsed, starting Sim.
Starting GUI…
3D [dev] 1.6.0-pre12-daily-experimental daily
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007efe9843c24d, pid=12534, tid=0x00007efe994f8700
JRE version: OpenJDK Runtime Environment (8.0_191-b12) (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12)
Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libGL.so.1+0x5424d]ufile
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
An error report file with more information is saved as:
/home/burak/Documents/PX4/Firmware/Tools/jMAVSim/out/production/hs_err_pid12534.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
/home/burak/Documents/PX4/Firmware/Tools/jmavsim_run.sh: line 53: 12534 Aborted (core dumped) java -Djava.ext.dirs= -jar jmavsim_run.jar $device $extra_args