Sim_vehicle.py: Command not found

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

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

From the ardupilot/ArduPlane directory, try this:

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

Tried but saying "run FATAL: Could not start E:\Research\GitHub\Ardupilot\ardupilot\Tools\autotest\sim_vehicle.py --map --console "