Mavlink error

(Roishachar) #1

when trying to connect via mavproxy, I got the following errors:

mavproxy.py --master=/dev/ttyAMA0
Connect /dev/ttyAMA0 source_system=255
Traceback (most recent call last):
File “/usr/local/bin/mavproxy.py”, line 1084, in
load_module(m, quiet=True)
File “/usr/local/bin/mavproxy.py”, line 281, in load_module
module = m.init(mpstate)
File “/home/pi/.local/lib/python2.7/site-packages/MAVProxy/modules/mavproxy_adsb.py”, line 233, in init
return ADSBModule(mpstate)
File “/home/pi/.local/lib/python2.7/site-packages/MAVProxy/modules/mavproxy_adsb.py”, line 77, in init
self.tnow = self.get_time()
File “/home/pi/.local/lib/python2.7/site-packages/MAVProxy/modules/lib/mp_module.py”, line 73, in get_time
systime = time.time() - self.mpstate.start_time_s
AttributeError: ‘MPState’ object has no attribute ‘start_time_s’

(Andrew Yushkevich) #3

Hi @roishachar,

Have you solved this issue?
I’ve tested it and can’t reproduce the issue.

Can you try to connect over tcp to test?