Hey Guys,
I am working on a project where I have to display how many times the copter (pixhawk) is powered up. I was wondering if there is a variable incremented in every power up and stored in the flash. I can send it in a mavlink packet and show it in the mission planner.
It will help me to actually differentiate between two different power up.
I have gone through the code and have found MAV_POWER_STATUS flag is used to show from which source the copter is powered.
Any idea is greatly appreciated. Thank you so much.