Servers by jDrones

SITL with jsbsim and custom aircraft model

(Siri Gulaker Mathisen) #1

I have been using ardupilot with SITL simulation for some time, using my own custom aircraft model and the JSBSim simulator. However, now I can’t get the simulation up and running. I follow the guides from http://ardupilot.org/dev/docs/sitl-with-jsbsim.html and the other necessary, ardupilot provided guides, but when I write

sim_vehicle.py -v ArduPlane -f jsbsim:MyModel --console --map

the terminal process is stranded at

MAV> Waiting for heartbeat from tcp:127.0.0.1:5760

and the simulation is not started. I suspect that there is something wrong with the connection between jsbsim and ardupilot, and reinstalled jsbsim and pulled ardupilot (just in case). However, I don’t know where the connection in the jsbsim simulator is located and at the moment I search quite randomly in the code.

I would be very greatful if someone could give me a tip that could help me solve this problem.

(Greg) #2

That looks similar to a problem I had. I am checking with a colleague who figured out the solution. I hope to have an answer for you soon.