No vehicle after starting SITL

Hi. I lost the copter from the simulator and I do not understand why. Everything worked and after the next assembly of the project ceased. I bring the assembly log.
I do everything according to the instructions http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html
The project is being built, but after launching an empty window appears with a map and console. QGC also does not see the vehicle.
Ubuntu 18.04 LTS, ArduCopter 3.5
There is some build code:

volk@vbox:~/ardupilot/ardupilot/ArduCopter$ sim_vehicle.py -j4 --map --console
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: "/home/volk/ardupilot/ardupilot/modules/waf/waf-light" "configure" "--board" "sitl"
Setting top to                           : /home/volk/ardupilot/ardupilot 
Setting out to                           : /home/volk/ardupilot/ardupilot/build 
Autoconfiguration                        : enabled 
Setting board to                         : sitl 
Checking for 'g++' (C++ compiler)        : /usr/lib/ccache/g++ 
Checking for 'gcc' (C compiler)          : /usr/lib/ccache/gcc 
Checking for need to link with librt     : not necessary 
Checking for HAVE_CMATH_ISFINITE         : yes 
Checking for HAVE_CMATH_ISINF            : yes 
Checking for HAVE_CMATH_ISNAN            : yes 
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes 
Checking for NEED_CMATH_ISINF_STD_NAMESPACE    : yes 
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE    : yes 
Checking for header endian.h                   : yes 
Checking for header byteswap.h                 : yes 
Checking for program 'python'                  : /usr/bin/python 
Checking for python version >= 2.7.0           : 2.7.15 
Checking for program 'python'                  : /usr/bin/python 
Checking for python version >= 2.7.0           : 2.7.15 
Source is git repository                       : yes 
Update submodules                              : yes 
Checking for program 'git'                     : /usr/bin/git 
Checking for program 'size'                    : /usr/bin/size 
Benchmarks                                     : disabled 
Unit tests                                     : enabled 
'configure' finished successfully (3.038s)
SIM_VEHICLE: Building
SIM_VEHICLE: "/home/volk/ardupilot/ardupilot/modules/waf/waf-light" "build" "--target" "bin/arducopter" "-j" "4"
Waf: Entering directory `/home/volk/ardupilot/ardupilot/build/sitl'
Waf: Leaving directory `/home/volk/ardupilot/ardupilot/build/sitl'

BUILD SUMMARY
Build directory: /home/volk/ardupilot/ardupilot/build/sitl
Target          Text     Data   BSS    Total  
----------------------------------------------
bin/arducopter  1569380  56142  36416  1661938

Build commands will be stored in build/sitl/compile_commands.json
'build' finished successfully (5.940s)
SIM_VEHICLE: Using defaults from (/home/volk/ardupilot/ardupilot/Tools/autotest/default_params/copter.parm)
SIM_VEHICLE: Run ArduCopter
SIM_VEHICLE: "/home/volk/ardupilot/ardupilot/Tools/autotest/run_in_terminal_window.sh" "ArduCopter" "/home/volk/ardupilot/ardupilot/build/sitl/bin/arducopter" "-S" "-I0" "--home" "-35.363261,149.165230,584,353" "--model" "+" "--speedup" "1" "--defaults" "/home/volk/ardupilot/ardupilot/Tools/autotest/default_params/copter.parm"
SIM_VEHICLE: Run MavProxy
SIM_VEHICLE: "mavproxy.py" "--master" "tcp:127.0.0.1:5760" "--sitl" "127.0.0.1:5501" "--out" "127.0.0.1:14550" "--out" "127.0.0.1:14551" "--map" "--console"
RiTW: Starting ArduCopter : /home/volk/ardupilot/ardupilot/build/sitl/bin/arducopter -S -I0 --home -35.363261,149.165230,584,353 --model + --speedup 1 --defaults /home/volk/ardupilot/ardupilot/Tools/autotest/default_params/copter.parm
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
Connect tcp:127.0.0.1:5760 source_system=255
Loaded module console
Loaded module map
Log Directory: 
Telemetry log: mav.tlog
Waiting for heartbeat from tcp:127.0.0.1:5760
MAV>

I solved my problem, made a rollback to the previous version of the project. A bit strange, since the project was compiled successfully

you should check that you didn’t have another instance running or something else on port 5760

1 Like