x25crc error on RPi connection

On an x86 system, I'm using Python 2.7.3 and installed pymavlink and mavproxy.  I then used the same source files to compile, build, & install on a Raspberry Pi, but I get an attribute error 'x25crc'.  After searching online, I found someone recommended to comment those lines out using the extra CRC, but this just leads to more problems. 

Using the mavutil.py library, the error occurs when it tries to connect to the pixhawk. 

What's the best way to troubleshoot this problem?  Thanks.

Update: Using a python prompt and importing mavutil, the error occurs at the fourth line:

import mavutil

master = mavutil.mavlink_connection("/dev/iris", 115200)

master.wait_heartbeat()

master.mav.request_data_stream_send(master.target_system, master.target_component, mavutil.mavlink.MAV_DATA_STREAM_ALL, 1000, 1)

Final Update: After uninstalling and reinstalling pymavlink and MAVProxy, it's working.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity