Link failure with SITL on Eclipse

101 views
Skip to first unread message

Gopal Golyala

unread,
Aug 11, 2015, 12:20:36 AM8/11/15
to drones-discuss
Hi there,

I am using SITL on eclipse again after an year or so. Last time when I used it on Eclipse with old software, it was working fine.

I have dowloaded all the latest versions of ardupilot, JSBSim and mavproxy. I can run the SITL successfully from command line (thanks to the instructions on wiki page).

But when I try to run from Eclipse, the Mavproxy is not connecting and I am getting error on the console saying "no link", "Link 1 down". Map is appearing but there is no plane on the map.

In the Eclipse launch group, I am giving:

JSBSiM: arguments: --home=-35.363261,149.165230,584,353 --script=/home/gopal/ardupilot/Tools/autotest/jsb_sim/rascal_test.xml  –fgout=127.0.0.1:5503
              Main: /home/gopal/ardupilot/Tools/autotest/jsb_sim/runsim_rascal.py

ArduPlane: Main: /tmp/ArduPlane.build/ArduPlane.elf

MavProxy: Main: /usr/local/bin/mavproxy.py
                 arguments: --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --cmd= --console --map –aircraft test

I used these same arguments last year and it used to work fine. Has anything changed since then, for the link problem to crop up?

Any help will be highly appreciated.

Thanks,

Gopal




Samuel Dudley

unread,
Aug 11, 2015, 1:19:47 AM8/11/15
to drones-discuss
Hi Gopal,
There was a number of changes with how the simulators interact with the Autopilot (including JSBSim), removing the python run scripts and allowing for faster than real time simulations.

To run SITL with JSBSim you no longer need to run JSBSim as a separate launch item, only ArduPlane and Mavproxy (in that order) are needed. There are a number of new arguments which you can / need to pass into ArduPlane, while the arguments for Mavproxy haven't changed...

The following arguments will hopefully get you running:

ArduPlane: -S -I0 --home -35.363261,149.165230,584,353 --model jsbsim --speedup=1
Mavproxy: --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14551 --out 127.0.0.1:14550 --console --aircraft test --nowait

Cheers,
Sam
Reply all
Reply to author
Forward
0 new messages