After we demoed a little five-channel "AutoPylot" program on a Naze32 with ODROID companion board, our friends at A2USA, Inc . asked us whether we could do the same for the Pixhawk that they use for flying their big birds. We started modifying…Continue
This video shows an ODROID U-3 single-board computer running a Python program that talks to a an AcroNaze32 flight controller (FC) over USB. The Python program uses MSPPG, our Multiwii Serial Protocol Parser Generator library, to serialize up/down/up/down MSP_SET_RAW_RC messages to the FC. By polling the incoming R/C receiver channels…Continue
As shown in this video, I connected the UART of an Acro Naze32 flight controller to an Arduino Mega, and used the pitch values (pitch, get it?) from the IMU to modify the pitch of a buzzer.
You can download the code for this example from …Continue
For a final project in a robotics class, I suggested that a few students try implementing their own version of a parser-generator program like pymavlink. The students built a simple Python-based system in a few days, which parsed JSON message specifications and generated Python code to parse and serialize a simple…