9/10/2023 0 Comments Jumping parrot drone![]() It's the same one used for Parrot's Rolling Spider and takes about 90 minutes to charge. The Micro-USB port is also used for charging the Sumo's little battery pack. Also, the Silicon Power drive has a metal enclosure and got very hot while recording and transferring, something to keep in mind when selecting a drive. Though pictures transferred quickly, videos longer than a few seconds took awhile, so you're better off taking the drive out and transferring to a computer or mobile device (if supported). After your flight terminates, you will then be able to exeute p.getMatFile to retrieve the logged signals from the drone and analyze them.Ĭonfirm that I could change the model and see the effect, I used a Signal Builder to command the drone to fly at a fixed height and move left and right.Through the app you can transfer photos and videos to your phone or tablet while you're wirelessly connected to the Sumo. To familiarize yourself with all the sensors available, I recommend enabling MAT-file logging in the model configuration, and use To Workspace blocks in the model to log the sensors signals. As output, a vector of 4 power commands, one per motor, is expected. In the example model, there are two bus objects specified on the two root-level Inport matching this expected signature. The way things work, the customized firmware expects a library with a specific function and signature. That way, the drone will not fly, but the motors will move to confirm that the code is running. It will instruct the drone to use 20% of the power available. Once the code generation is complete, go to the MATLAB prompt to connect to the minidrone, and start execution of the code.įor a first test, the line p.setPowerGain(20) is probably a good idea. In the model, click the Build Button to generate code. This will setup a few things in the model configuration to make the generated code compatible with the minidrone. In the Simulink Project click on the shortcut named Set Parrot Target What we want is generating code for the model flightControlSystem.slx, which is referenced by the FCS block. As you can imagine, we will not generate code for this entire model. This example is a full simulation of a Parrot minidrone. In MATLAB, type asbQuadcopterStart to open the example. The best way to get started with programming the minidrone is using the Quadcopter Project, included with the Aerospace Blockset. Once again, the Hardware Setup window will guide you through all the steps: Once the firmware is updated, you will need to connect to the minidrone through Bluetooth. If you want to bring your minidrone back to "toy mode", you will need to go to the Parrot website and follow the instructions to reset the original firmware. As one of my colleagues likes to say: When you update the firmware, you are converting a toy into an experimental device. Notice that once the firmware is updated, you will not be able to fly the minidrone from the smartphone app anymore. This setup will first update the minidrone firmware. Once the package is installed, the installer will guide you through the hardware setup. In the Explorer, search for "Parrot Minidrone", click Install, and follow the instructions. To get started, open the Add-On Explorer from the MATLAB toolstrip. Today I will describe my first experience using this package. Not anymore, with the recent release of the Parrot Minidrones Support Package. At that time, I did some research and it sounded pretty complicated to install a custom firmware and glue all the necessary code together. Immediately, I thought it would be cool to program it using Simulink. ![]() Last Christmas, my girlfriend got me one of those Parrot Rolling Spider Minidrone. Simulink Support Package for Parrot Minidrones You know what I did this weekend? Yes, as the title of this post says, I deployed custom flight control software to my Parrot Rolling Spider Minidrone
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |