This is my first time programming UAV and Pixhawk, and am looking for suggestions on how to start. My goal is to write a program that takes a camera image, do some object identification, and decide what the UAV should do, and then send those commands to the autopilot (PixHawk). I have 2 questions:
1. Since I'm only developing the software and don't have the actual plane with me (the aircraft is with a friend that's geographically separated from me), I'm thinking of buying the bare bones of the autopilot only to test my program. Do you think this list is enough to get me started?
- Pixhawk kit
- battery to power the pixhawk
2. I've read the MavLink for dummies and get an idea of the roles of PixHawk, MavLink, and GCS. However, conceptually, I'm currently still stuck at the most basic thing: how can I send these commands to the autopilot but bypassing the ground control. What I thought I would like to start with is:
1. Connect the PixHawk and peripherals (servo, power, etc.) to the computer via USB
2. Open serial communication with the PixHawk via USB (or wifi, radio, etc.)
3. Push a command like: set motor speed to X, or request GPS coordinate, etc. via terminal or python script (I have the list of MavLink messages)
4. See that the command physically works.
5. After this is verified, then I can move forward and build up the more complicated program.
Any advice on how to move forward?
P.S. of course, any general tips for a newbie is appreciated :-)