Quantcast
Viewing all articles
Browse latest Browse all 45759

Trouble setting up SITL on linux

@sbuss250 wrote:

Good Day All!

I've been trying to setup SITL for linux per the following link.

I have ran into trouble at the step requiring me to run "sim_vehicle.py --console --map --aircraft test"

sim_vehicle.py runs by being called in the terminal and JSBSim works also, but I get the following error:

Traceback (most recent call last):
File "/home/$USER/workspace/ardupilot/Tools/autotest/sim_vehicle.py", line 846, in
start_mavproxy(cmd_opts, frame_infos)
File "/home/$USER/workspace/ardupilot/Tools/autotest/sim_vehicle.py", line 664, in start_mavproxy
run_cmd_blocking("Run MavProxy", cmd, env=env)
File "/home/$USER/workspace/ardupilot/Tools/autotest/sim_vehicle.py", line 510, in run_cmd_blocking
p = subprocess.Popen(cmd, **kw)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in executechild
raise child_exception
OSError: [Errno 2] No such file or directory
SIM_VEHICLE: Killing tasks

Another terminal window opens which displays this: (which tells me most of it must be working):
Started model jsbsim at -35.363261,149.165230,584,353 at speed 1.0
Starting sketch 'ArduPlane'
Starting SITL input
bind port 5760 for 0
Serial port 0 on TCP port 5760
Waiting for connection ....

This is where it hangs.. Any help would be appreciated. I really want to run ardupilot on my own model aircraft once I understand ArduPilot better.
Thanks for any help!

-Steve

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 45759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>