File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ const rclcpp_lifecycle::State & Actuator::cleanup()
84
84
{
85
85
if (impl_->get_state ().id () == lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE)
86
86
{
87
+ impl_->set_state (rclcpp_lifecycle::State (
88
+ lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
89
+ lifecycle_state_names::UNCONFIGURED));
87
90
switch (impl_->on_cleanup (impl_->get_state ()))
88
91
{
89
92
case CallbackReturn::SUCCESS:
90
- impl_->set_state (rclcpp_lifecycle::State (
91
- lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
92
- lifecycle_state_names::UNCONFIGURED));
93
93
break ;
94
94
case CallbackReturn::FAILURE:
95
95
case CallbackReturn::ERROR:
Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ const rclcpp_lifecycle::State & Sensor::cleanup()
82
82
{
83
83
if (impl_->get_state ().id () == lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE)
84
84
{
85
+ impl_->set_state (rclcpp_lifecycle::State (
86
+ lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
87
+ lifecycle_state_names::UNCONFIGURED));
85
88
switch (impl_->on_cleanup (impl_->get_state ()))
86
89
{
87
90
case CallbackReturn::SUCCESS:
88
- impl_->set_state (rclcpp_lifecycle::State (
89
- lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
90
- lifecycle_state_names::UNCONFIGURED));
91
91
break ;
92
92
case CallbackReturn::FAILURE:
93
93
case CallbackReturn::ERROR:
Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ const rclcpp_lifecycle::State & System::cleanup()
82
82
{
83
83
if (impl_->get_state ().id () == lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE)
84
84
{
85
+ impl_->set_state (rclcpp_lifecycle::State (
86
+ lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
87
+ lifecycle_state_names::UNCONFIGURED));
85
88
switch (impl_->on_cleanup (impl_->get_state ()))
86
89
{
87
90
case CallbackReturn::SUCCESS:
88
- impl_->set_state (rclcpp_lifecycle::State (
89
- lifecycle_msgs::msg::State::PRIMARY_STATE_UNCONFIGURED,
90
- lifecycle_state_names::UNCONFIGURED));
91
91
break ;
92
92
case CallbackReturn::FAILURE:
93
93
case CallbackReturn::ERROR:
You can’t perform that action at this time.
0 commit comments