mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
clean-up(SIH): remove confusing runtime uorb sub change
This commit is contained in:
parent
6ef0e57eeb
commit
3e1b7d4d0a
@ -79,8 +79,6 @@ void Sih::run()
|
||||
static_cast<int32_t>(VehicleType::First),
|
||||
static_cast<int32_t>(VehicleType::Last)));
|
||||
|
||||
_actuator_out_sub = uORB::Subscription{ORB_ID(actuator_outputs_sim)};
|
||||
|
||||
#if defined(ENABLE_LOCKSTEP_SCHEDULER)
|
||||
lockstep_loop();
|
||||
#else
|
||||
|
||||
@ -131,7 +131,7 @@ private:
|
||||
uORB::Publication<vehicle_global_position_s> _global_position_ground_truth_pub{ORB_ID(vehicle_global_position_groundtruth)};
|
||||
|
||||
uORB::SubscriptionInterval _parameter_update_sub{ORB_ID(parameter_update), 1_s};
|
||||
uORB::Subscription _actuator_out_sub{ORB_ID(actuator_outputs)};
|
||||
uORB::Subscription _actuator_out_sub{ORB_ID(actuator_outputs_sim)};
|
||||
|
||||
// hard constants
|
||||
static constexpr uint16_t NUM_ACTUATORS_MAX = 9;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user