Skip to content

Add Stop Button in Twix#2442

Merged
pejotejo merged 6 commits intoHULKs:mainfrom
pejotejo:stop-button
Apr 26, 2026
Merged

Add Stop Button in Twix#2442
pejotejo merged 6 commits intoHULKs:mainfrom
pejotejo:stop-button

Conversation

@pejotejo
Copy link
Copy Markdown
Contributor

Why? What?

Adds a stop button in twix which sets the primary state to safe until the stand or f1 button is pressed. With this we can then stop the robot remotely during emergencies or scary behavior.

Ideas for Next Iterations (Not This PR)

  • one maybe could go into dampening instead, since this would not harm the robot as much when it falls

How to Test

  1. put the robot into any primary state but safe
  2. put the robot in a safe position
  3. press stop

@github-project-automation github-project-automation Bot moved this to Request for Review in Development Apr 19, 2026
@pejotejo pejotejo enabled auto-merge April 19, 2026 19:25
Comment thread crates/world_state/src/robot_mode_handler.rs Outdated
Comment thread crates/world_state/src/robot_mode_handler.rs Outdated
Comment thread crates/world_state/src/primary_state_filter.rs Outdated
alexschmander
alexschmander previously approved these changes Apr 25, 2026
Copy link
Copy Markdown
Contributor

@alexschmander alexschmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexschmander
Copy link
Copy Markdown
Contributor

This branch now has conflicts...

Copy link
Copy Markdown
Contributor

@alexschmander alexschmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also bump twix version

@pejotejo pejotejo assigned alexschmander and unassigned pejotejo Apr 26, 2026
Copy link
Copy Markdown
Contributor

@alexschmander alexschmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pejotejo pejotejo added this pull request to the merge queue Apr 26, 2026
Merged via the queue into HULKs:main with commit 2c421b4 Apr 26, 2026
7 checks passed
@pejotejo pejotejo deleted the stop-button branch April 26, 2026 14:42
@github-project-automation github-project-automation Bot moved this from Review to Done in Development Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants