JSBSim ERROR[simulator_mavlink]Number of simulated accelerometer out of range :Max:3


When I try to interface JSBSim with PX4 SITL, it reports an error in this picture. But it does not report error if I try more times. It seems like random appears.
I just use make px4_sitl jsbsim in the terminal. Also I can interface gazebo with PX4 SITL successfully. Anyone has the same problem?And anyone knows how to resolve this.

That’s odd. Is that with recent main?

Yes, the version of JSBSim is 1.13.0

Is there a solution? I had a similar problem in tag1.14.3.
just use make px4_sitl jsbsim in the terminal.

px4 starting.

INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0
INFO [init] found model autostart file as SYS_AUTOSTART=1033
INFO [param] selected parameter default file parameters.bson
INFO [param] selected parameter backup file parameters_backup.bson
SYS_AUTOCONFIG: curr: 0 → new: 1
SYS_AUTOSTART: curr: 0 → new: 1033
CAL_ACC0_ID: curr: 0 → new: 1310988
CAL_GYRO0_ID: curr: 0 → new: 1310988
CAL_ACC1_ID: curr: 0 → new: 1310996
CAL_GYRO1_ID: curr: 0 → new: 1310996
CAL_ACC2_ID: curr: 0 → new: 1311004
CAL_GYRO2_ID: curr: 0 → new: 1311004
CAL_MAG0_ID: curr: 0 → new: 197388
GEAR_CONTACT: 0.1 seconds: LEFT_MLG 1
GEAR_CONTACT: 0.1 seconds: RIGHT_MLG 1
CAL_MAG0_PRIO: curr: -1 → new: 50
CAL_MAG1_ID: curr: 0 → new: 197644
CAL_MAG1_PRIO: curr: -1 → new: 50

  • SENS_BOARD_X_OFF: curr: 0.0000 → new: 0.0000
  • SENS_DPRES_OFF: curr: 0.0000 → new: 0.0010
    GEAR_CONTACT: 0.4 seconds: TAIL_LG 1
    INFO [dataman] data manager file ‘./dataman’ size is 7866640 bytes
    INFO [init] PX4_SIM_HOSTNAME: localhost
    INFO [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560
    INFO [simulator_mavlink] Simulator connected on TCP port 4560.
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3
    ERROR [simulator_mavlink] Number of simulated accelerometer 32 out of range. Max: 3