Skip to content

Commit 895bc44

Browse files
Flovajaagut
andauthored
Update bitbots_motion/bitbots_quintic_walk/src/walk_node.cpp
Co-authored-by: Jan Gutsche <[email protected]>
1 parent 6022676 commit 895bc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitbots_motion/bitbots_quintic_walk/src/walk_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void WalkNode::run() {
117117
if (robot_state_ == bitbots_msgs::msg::RobotControlState::FALLING ||
118118
robot_state_ == bitbots_msgs::msg::RobotControlState::GETTING_UP ||
119119
robot_state_ == bitbots_msgs::msg::RobotControlState::PENALTY) {
120-
// the robot fell, we have to reset everything and do nothing else
120+
// The robot fell or the penalty button was pressed. We have to reset everything and do nothing else to ensure a stable restart afterwards.
121121
walk_engine_.reset();
122122
stabilizer_.reset();
123123
} else {

0 commit comments

Comments
 (0)