Servers by jDrones

Sim_vehicle.py: Command not found


(Ujjval Rathod) #1

I am having the problem running
sim_vehicle.py --map --console

I am using sitl and MAVProxy on Windows system and set the path as required. in the /autotest directory there is sim_vehicle.py file though.

I tried copying the same file again in the /arduplane directory and then ran the above command but no success.

it says -bash: sim_vehicle.py: command not found


(basti) #2

@ujjwalrathod007 if the command is not found when run from /ArduPlane folder, you likely don’t have the python path setup correctly. alternatively you can run ./sim_vehicle.py from /Tools/autotest, in this case you’ll need to add an argument to specify which vehicle to build though.

basti.


(Anthony Short) #3

From the ardupilot/ArduPlane directory, try this:

../Tools/autotest/sim_vehicle.py --map --console