Skip to content

Commit

Permalink
Update px4_ros2_cpp/test/integration/mode_executor.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Beat Küng <[email protected]>
  • Loading branch information
damien-robotsix and bkueng authored Jul 15, 2024
1 parent 6e0f539 commit 9e23b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion px4_ros2_cpp/test/integration/mode_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ModeExecutorTest : public px4_ros2::ModeExecutorBase
{
public:
ModeExecutorTest(rclcpp::Node & node, FlightModeTest & owned_mode, bool activate_immediately)
: ModeExecutorBase(node, ModeExecutorBase::Settings{Settings::Activation::ActivateImmediately},
: ModeExecutorBase(node, ModeExecutorBase::Settings{activate_immediately ? Settings::Activation::ActivateImmediately : Settings::Activation::ActivateOnlyWhenArmed},
owned_mode),
_node(node)
{}
Expand Down

0 comments on commit 9e23b8c

Please sign in to comment.