Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 46783

Raspberry pi connecting to PX4 via mavlink (Dronekit-python)

$
0
0

@tkdronnie wrote:

Hello,
I am tying to callback the mavlink common messages from pixhawk using raspberry pi 2 model B. I am using dronekit-python and a decorator to call the message
@vehicle.on_message(' ')
def listener(self, name, message)
print message

But only some messages are working, eg. HEARTBEAT, GPS_RAW_INT, GLOBAL_POSITION_INT, etc
I am trying to callback the position from the fused accelerometer, and data from optical flow but the respective command are not working
Even HIGHRES_IMU is not functional.
Can anyone please give me a solution to this
Thanking you
Ronnie

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 46783


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>