If command line completion is working for you in mavproxy you can type
STABILIZE> graph
then tab to see a list of topics. Type a topic and a . then tab again to see the fields within the topic.
The battery data from Gazebo is not currently forwarded to SITL, so you will not be able to plot that (you’ll see the battery status generated by SITL in the flight controller instead).
hello. The live graph (real-time flight data) part was solved by connecting mav proxy and mission planner.
Second question.
Currently, at SITL, we want to develop a system that reduces the battery life of a drone when it flies, and even causes it to crash when the battery runs out.
Which areas should be developed?
When you set the battery capacity and voltage in the firmware parameters, the value is fixed and does not decrease.