Skip to content

Bugfix/lift runaway runstop#23

Open
aedsinger wants to merge 2 commits into
mainfrom
bugfix/lift_runaway_runstop
Open

Bugfix/lift runaway runstop#23
aedsinger wants to merge 2 commits into
mainfrom
bugfix/lift_runaway_runstop

Conversation

@aedsinger

@aedsinger aedsinger commented May 28, 2026

Copy link
Copy Markdown
Contributor

This adds additional conditions to triggering the runaway sentry

  • velocity on lift is negative (down)
  • runstop is on (eg, not being backdriven)

Should be tested with the latest stepper firmware (0.1.6p8)

def step(self):
if self.robot.get_subsystem('lift') is not None:
if abs(self.robot.lift.status['vel'])>self.params['lift_runaway_vel'] and self.robot.lift.motor.hw_valid:
if self.robot.lift.status['vel']<0 and abs(self.robot.lift.status['vel'])>self.params['lift_runaway_vel'] and self.robot.lift.motor.hw_valid and not self.robot.power_periph.status['runstop_event']:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blaine mentioned we should still have the runaway sentry active when runstopped; would this disable the safety feature during runstop?

@aedsinger

aedsinger commented May 28, 2026 via email

Copy link
Copy Markdown
Contributor Author

@hello-robot-shehab

Copy link
Copy Markdown
Contributor

I've run into another false-positive lift-brake trigger today: 1. Set the gamepad teleop to Fast Speed 2. move the lift up quickly 3. put your hand out to trigger guarded contacts 4. Observe lift-brake engaging. Happy to look into it when I get back to Atl too! Thanks!

@aedsinger

aedsinger commented May 28, 2026 via email

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants