Auterion / px4-jsbsim-bridge

JSBSim bridge for PX4 SITL/HITL simulations
BSD 3-Clause "New" or "Revised" License
24 stars 39 forks source link

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

Open brownbea opened 9 months ago

brownbea commented 9 months ago

image 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.

Lallie101 commented 7 months ago

mavlink_interface.cpp, at around line 273, add the line sensor_msg.id = 0;