Quantcast
Channel: ArduCopter - ArduPilot Discourse
Viewing all articles
Browse latest Browse all 21349

PIXhawk communication with Raspberry Pi

$
0
0

@J_Pat wrote:

Hi all

I have been working on an autonomous drone for a University project. The goal of this project is to produce a drone which can autonomously fly from point a to point b, approximately 4m away. As the project is indoors, GPS is not an option.

I have the drone position calculated from an onboard Raspberry Pi with a camera, tracking fiducials placed on the ground. However, I am having serious issues getting communication working between the flight controller, a pixhawk, and Raspberry Pi Python scripts. The mavlink protocol appears to work, and the raspberry pi is able to receive data from the pixhawk via mavlink. However, I am having no luck in sending actual flight commands from the Raspberry Pi to the pixhawk. Any commands I attempt to send are rejected by the pixhawk, and it seems that the reason for this is the lack of GPS fix. Any suggestions as to the approach I can take to solve this would be much appreciated

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 21349

Trending Articles