Getting mission status on UserCode.cpp

Hello, everyone!

I'm trying to count how many waypoints has my drone visited and if the mission has been sucessfully finished, and for that I'm planning on writing my code on the UserCode.cpp file, but I don't know if I can define some library to extract that data from, or if I should go directly to the EEPROM, or if I can declare my own parameters and read from them somehow... What is the "good practices" way to do this? Thanks in advance.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –