mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-13 11:51:36 +08:00
Parameter for virtual battery in SITL (#12299)
* New parameter for virtual battery in SITL * Update src/modules/simulator/simulator_mavlink.cpp Co-Authored-By: Beat Küng <beat-kueng@gmx.net> * Updated description for parameter SIM_BAT_MIN_PCT
This commit is contained in:
@@ -300,6 +300,7 @@ private:
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamFloat<px4::params::SIM_BAT_DRAIN>) _param_sim_bat_drain, ///< battery drain interval
|
||||
(ParamFloat<px4::params::SIM_BAT_MIN_PCT>) _battery_min_percentage, //< minimum battery percentage
|
||||
(ParamInt<px4::params::MAV_TYPE>) _param_mav_type,
|
||||
(ParamInt<px4::params::MAV_SYS_ID>) _param_mav_sys_id,
|
||||
(ParamInt<px4::params::MAV_COMP_ID>) _param_mav_comp_id
|
||||
|
||||
Reference in New Issue
Block a user