Hi, I am trying to run sim_vehicle but facing an issue.
python Tools\autotest\sim_vehicle.py -v Rover --map
C:\Users\Coratia\ardupilot>python Tools\autotest\sim_vehicle.py -v Rover --map
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
[pkill] An exception has occurred with command: 'pkill arducopter'
[WinError 2] The system cannot find the file specified
SIM_VEHICLE: Killing tasks
[pkill] An exception has occurred with command: 'pkill arducopter'
[WinError 2] The system cannot find the file specified
Exception ignored in atexit callback: <function kill_tasks at 0x000002A0AA430B80>
Traceback (most recent call last):
File "C:\Users\Coratia\ardupilot\Tools\autotest\sim_vehicle.py", line 324, in kill_tasks
kill_tasks_pkill(victim_names)
File "C:\Users\Coratia\ardupilot\Tools\autotest\sim_vehicle.py", line 259, in kill_tasks_pkill
run_cmd_blocking("pkill", cmd, quiet=True)
File "C:\Users\Coratia\ardupilot\Tools\autotest\sim_vehicle.py", line 600, in run_cmd_blocking
sys.exit(1)
SystemExit: 1
I have installed the required library using, [ Power Shell ]
.\Tools\environment_install\install-prereqs-windows.ps1
Installed python package:
pip3 install future lxml pymavlink MAVProxy pexpect flake8==3.7.9 requests==2.27.1 monotonic==1.6 geocoder empy==3.3.4 configparser==4.0.2 click==7.1.2 decorator==4.4.2 dronecan pygame intelhex empy
if anyone know how to fix the error?