I used the DROK 90010 5V DC buck converter, with the input side connected to the battery output via the drone's power distribution board, and the output connected to the raspberry pi. To start with, there needs to be a method for power the raspberry pi off of the drone battery. In Settings > Parameters, set MAV_2_CONFIG to TELEM 2. Now, fire up your FMU and connect through QGroundcontrol. Next write the Raspbian OS image to an SD card and enable ssh. This is all out of scope for this guide, but I found it simplest to just use NXP's preconfigured virtual machine. You'll also want to install a simulator, like jMav sim. It is also useful to set up either a Linux virtual environment, or use a Linux machine, and follow the gitbook to install PX4 development tools and build PX4. This is described very well, for the Hovergames Drone Kit in the NXP gitbook. I've also added a brief section on setting up an ad hoc network on the raspberry pi.īegin by flashing the FMU with the PX4 firmware image. This process will probably also work for connecting to a different flight controller, such as a Pixhawk. I used a raspberry pi zero w, but I would imagine that this would work on most of the later models of pi's. So this project is my effort to communicate what worked, and some of what didn't work, when connecting. In my submission for the NXP Hovergames 2 competition, I struggled to find resources that made the process of connecting a Raspberry Pi to the RDDRONE-FMUK66 clear (I wasted a lot of time on it).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |