From eac12ee9ce886a7b4b01d827b3d71674979d39c3 Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Thu, 19 Dec 2024 17:05:20 +0100 Subject: [PATCH] BatterySimulation: remove unused _battery_pub The simulated battery is published by the regular battery class. Signed-off-by: Silvan Fuhrer --- src/modules/simulation/battery_simulator/BatterySimulator.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/simulation/battery_simulator/BatterySimulator.hpp b/src/modules/simulation/battery_simulator/BatterySimulator.hpp index a25151b749..1765c63188 100644 --- a/src/modules/simulation/battery_simulator/BatterySimulator.hpp +++ b/src/modules/simulation/battery_simulator/BatterySimulator.hpp @@ -74,8 +74,6 @@ private: static constexpr uint32_t BATTERY_SIMLATOR_SAMPLE_FREQUENCY_HZ = 100; // Hz static constexpr uint32_t BATTERY_SIMLATOR_SAMPLE_INTERVAL_US = 1_s / BATTERY_SIMLATOR_SAMPLE_FREQUENCY_HZ; - uORB::Publication _battery_pub{ORB_ID(battery_status)}; - uORB::SubscriptionInterval _parameter_update_sub{ORB_ID(parameter_update), 1_s}; uORB::Subscription _vehicle_status_sub{ORB_ID(vehicle_status)};