After installing the dependencies and disabling bt for the Pixhawk build, I am unable to connect. Wiring was checked and double checked. Tried other uarts. Any help is appreciated…
pi@raspberrypi:~ $ mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --show-errors
Connect /dev/ttyAMA0 source_system=255
Failed to load module: No module named terrain. Use ‘set moddebug 3’ in the MAVProxy console to enable traceback
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyAMA0
MAV> MAV error: BAD_DATA {Bad prefix, data:[‘1f’]}
MAV error: BAD_DATA {Bad prefix, data:[‘8d’]}
MAV error: BAD_DATA {Bad prefix, data:[‘84’]}
MAV error: BAD_DATA {Bad prefix, data:[‘84’]}
MAV error: BAD_DATA {Bad prefix, data:[‘84’]}
MAV error: BAD_DATA {Bad prefix, data:[‘8’]}
MAV error: BAD_DATA {Bad prefix, data:[‘0’]}
MAV error: BAD_DATA {Bad prefix, data:[‘70’]}
link 1 down
also…
pi@raspberrypi:~ $ mavproxy.py --master=/dev/ttyAMA0,57600 --moddebug 3 Connect /dev/ttyAMA0,57600 source_system=255
Traceback (most recent call last):
File “/usr/local/bin/mavproxy.py”, line 487, in load_module
m = import_package(modpath)
File “/usr/local/bin/mavproxy.py”, line 644, in import_package
mod = import(name)
File “/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_terrain.py”, line 7, in
from MAVProxy.modules.mavproxy_map import mp_elevation
File “/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/init.py”, line 11, in
from MAVProxy.modules.mavproxy_map import mp_elevation
File “/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/mp_elevation.py”, line 12, in
import numpy
ImportError: No module named numpyTraceback (most recent call last):
File “/usr/local/bin/mavproxy.py”, line 487, in load_module
m = import_package(modpath)
File “/usr/local/bin/mavproxy.py”, line 644, in import_package
mod = import(name)
ImportError: No module named terrainFailed to load module: No module named terrain.
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyAMA0
MAV> link 1 down