We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257488d commit bb6aa1cCopy full SHA for bb6aa1c
ur_robot_driver/src/robot_state_helper.cpp
@@ -283,11 +283,11 @@ void RobotStateHelper::setModeExecute(const std::shared_ptr<RobotStateHelper::Se
283
case urcl::RobotMode::POWER_OFF:
284
case urcl::RobotMode::IDLE:
285
case urcl::RobotMode::RUNNING:
286
+ if (goal_->stop_program) {
287
+ safeDashboardTrigger(this->stop_program_srv_);
288
+ }
289
if (robot_mode_ != static_cast<urcl::RobotMode>(goal_->target_robot_mode) ||
290
safety_mode_ > urcl::SafetyMode::REDUCED) {
- if (goal_->stop_program) {
- safeDashboardTrigger(this->stop_program_srv_);
- }
291
doTransition();
292
} else {
293
updateRobotState();
0 commit comments