Hello,
After merging the latest master, the compilation for sitl was successful but something is wrong when running the simulator.
This is what the console says:
ERROR: segmentation fault - aborting
Running: sh dumpstack 3923 >segv_arducopter.3923.out 2>&1
Failed
And this is what the terminal says:
Waiting for heartbeat from tcp:127.0.0.1:5760
MAV> EOF on TCP socket
Attempting reconnect
[Errno 111] Connection refused sleeping
[Errno 111] Connection refused sleeping
Exception in thread main_loop:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “/usr/local/bin/mavproxy.py”, line 868, in main_loop
master.wait_heartbeat(timeout=0.1)
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 496, in wait_heartbeat
return self.recv_match(type=‘HEARTBEAT’, blocking=blocking, timeout=timeout)
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 457, in recv_match
m = self.recv_msg()
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 420, in recv_msg
s = self.recv(n)
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 1222, in recv
self.handle_eof()
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 1206, in handle_eof
self.reconnect()
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 1245, in reconnect
self.do_connect()
File “/usr/local/lib/python2.7/dist-packages/pymavlink-2.3.7-py2.7-linux-x86_64.egg/pymavlink/mavutil.py”, line 1189, in do_connect
raise e
error: [Errno 111] Connection refused
I’m running everything on Windows Bash with Ubuntu 16.04. I updated MAVProxy to 1.8.8 and pymavlink to 2.3.7. Also, SITL works fine on my computer with previous versions of copter (for instance Copter-3.6).
Is there anything else I must update on my system in order to get it working with the master?
Thank you