start location in SITL

1,201 views
Skip to first unread message

Anis Koubaa

unread,
Jan 10, 2016, 12:33:02 PM1/10/16
to drones-...@googlegroups.com
Hello

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
Connect tcp:127.0.0.1:5760 source_system=255
(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



--

Sincerely

--------------------------------------------
Anis Koubaa, PhD., 
Senior Fellow of the HEA (SFHEA)
ACM Chapter Chair (Saudi Arabia) 
Associate Professor
Prince Sultan University, Saudi Arabia
http://www.dei.isep.ipp.pt/~akoubaa
http://wiki.coins-lab.org
--------------------------------------------

Tom Pittenger

unread,
Jan 10, 2016, 12:57:44 PM1/10/16
to drones-discuss
The existing examples show no spaces, your example shows spaces. Try without the whitespace.

--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bill Bonney

unread,
Jan 10, 2016, 1:08:15 PM1/10/16
to drones-...@googlegroups.com
or put the changes in Tools/autotest/locations.txt file and start with

sim_vehicle.sh -L MYLOCATION

Hope that helps :)

Anis Koubaa

unread,
Apr 2, 2016, 8:20:57 AM4/2/16
to drones-discuss
Thank, the spaces caused the error.
Thank you for the tip

iwcb...@gmail.com

unread,
May 21, 2016, 10:52:13 PM5/21/16
to drones-discuss
Hello,Anis Koubaa.
I have same problem. 
What space is generates the error of your command "sim_vehicle.sh -j4 -L ERLE --console --map" ?
I'd like to teach me too...
Sorry my poor English.


2016年4月2日土曜日 21時20分57秒 UTC+9 Anis Koubaa:
Reply all
Reply to author
Forward
0 new messages