We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b9d5c8 commit 9fbc30cCopy full SHA for 9fbc30c
system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp
@@ -91,7 +91,7 @@ void MrmHandler::onOperationModeAvailability(
91
if (!is_emergency_holding_) {
92
if (msg->autonomous) {
93
stamp_autonomous_become_unavailable_.reset();
94
- } else if (!msg->autonomous) {
+ } else {
95
if (!stamp_autonomous_become_unavailable_.has_value()) {
96
stamp_autonomous_become_unavailable_.emplace(this->now());
97
} else {
0 commit comments