Bugfix/lift runaway runstop#23
Open
aedsinger wants to merge 2 commits into
Open
Conversation
| 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']: |
Contributor
There was a problem hiding this comment.
Blaine mentioned we should still have the runaway sentry active when runstopped; would this disable the safety feature during runstop?
Contributor
Author
|
It would , sorry I thought that was the intent. Would be worth turning it
off on upwards velocity at least
Aaron Edsinger, PhD <http://www.linkedin.com/in/aaron-edsinger>
co-founder & CEO
Hello Robot Inc
…On Thu, May 28, 2026 at 6:40 AM Shehab ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In stretch4_body/behavior/sentries/sentry_joint_runaway.py
<#23 (comment)>
:
> @@ -13,7 +13,7 @@ def __init__(self, robot):
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']:
Blaine mentioned we should still have the runaway sentry active when
runstopped; would this disable the safety feature during runstop?
—
Reply to this email directly, view it on GitHub
<#23?email_source=notifications&email_token=AHOF2ZS5QUOVJMS5TK3KZB345A6ULA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMZYGE2DGMRYHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#pullrequestreview-4381432890>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHOF2ZRG2DJGWLWPB6LZQCT45A6ULAVCNFSM6AAAAACZQAYPNGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHM2DGOBRGQZTEOBZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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! |
Contributor
Author
|
Thanks, we might be able to lower the deceleration during a contact event
in the firmware to avoid this
Aaron Edsinger, PhD <http://www.linkedin.com/in/aaron-edsinger>
co-founder & CEO
Hello Robot Inc
…On Thu, May 28, 2026 at 1:14 PM Shehab ***@***.***> wrote:
*hello-robot-shehab* left a comment (hello-robot/stretch4_body#23)
<#23 (comment)>
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!
—
Reply to this email directly, view it on GitHub
<#23?email_source=notifications&email_token=AHOF2ZTL7HIPKGGC6EDL4FD45CMZFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJWG44DGMRYHA3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4567832886>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHOF2ZQTNEOHT57DFT72A6L45CMZFAVCNFSM6AAAAACZQAYPNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNRXHAZTEOBYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds additional conditions to triggering the runaway sentry
Should be tested with the latest stepper firmware (0.1.6p8)