I am following this tutorial
Using SITL for ArduPilot Testing.
I added the location
PSURIYADH=24.735858, 46.698422, 0,353
PARIS=48.900262, 2.234414, 0, 353
ERLE=42.836864, -2.654824, 584,173
in the locations.txt as indicated in the section "Setting Start Location".
However, none of these new added locations work
The execution with this locations
sim_vehicle.sh -j4 -L ERLE --console --map
generates the following error
~/ardupilot/ArduCopter ~/ardupilot/ArduCopter
Building sitl
// BUILDROOT=/tmp/ArduCopter.build HAL_BOARD=HAL_BOARD_SITL HAL_BOARD_SUBTYPE=HAL_BOARD_SUBTYPE_NONE TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="decb6dba"
~/ardupilot/ArduCopter
Starting up at ERLE : 42.836864, -2.654824, 584,173
Using defaults from ../Tools/autotest/copter_params.parm
Starting ardupilot : /home/ros/ardupilot/ArduCopter/ArduCopter.elf -S -I0 --home 42.836864, -2.654824, 584,173 --model + --speedup=1 --defaults ../Tools/autotest/copter_params.parm
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
(error(111, 'Connection refused'), 'sleeping')
(error(111, 'Connection refused'), 'sleeping')
Failed to connect to tcp:127.0.0.1:5760 : [Errno 111] Connection refused
It works fine with the locations already in the file, but it does not work with my new locations.
Is there any way to overcome this problem?
Thank you
Anis
--