Skip to content

Testing DebugAPIs program on Pluto X

Abheet Verma edited this page May 26, 2018 · 1 revision

Step 1: Create a new project of type Pluto X eg. test
Step 2: Open file PlutoPilot.cpp (test -> src -> main -> PlutoPilot.cpp)
Step 3: Copy and paste DebugAPIs code in the PlutoPilot.cpp. The code is used to print data on the monitor, plot a graph and control the led ( L_LEFT--> green led, L_RIGHT--> red led ). https://github.com/DronaAviation/Pluto-V3R-Sample-Codes/blob/master/DebugAPIs/PlutoPilot.cpp
Step 4: Save file.
Step 5: Build all.
Step 6: Connect to Pluto's network
Step 7: Select the project test and click on the yellow flash symbol and perform a normal flash.
Step 8: Open the pluto android app by drona aviation.
Step 9: Connect the mobile to esp network
Step 10: ARM the drone and switch to developer mode.
Step 11: Connect the cygnus app to the drone and the readings will be visible on the monitor and graph tabs.

Clone this wiki locally