Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[N/A] blocking sit command #122

Merged
merged 1 commit into from
Jun 26, 2024
Merged

[N/A] blocking sit command #122

merged 1 commit into from
Jun 26, 2024

Conversation

khughes-bdai
Copy link
Collaborator

@khughes-bdai khughes-bdai commented Jun 26, 2024

Adds a blocking sit command that does not return until the robot has completely sat down.

Tested that this works via the ROS 2 driver, needed for bdaiinstitute/spot_ros2#417

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @khughes-bdai and the rest of your teammates on Graphite Graphite

@khughes-bdai khughes-bdai marked this pull request as ready for review June 26, 2024 17:56
@coveralls
Copy link

coveralls commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9684429796

Details

  • 2 of 8 (25.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.06%) to 46.225%

Changes Missing Coverage Covered Lines Changed/Added Lines %
spot_wrapper/wrapper.py 2 8 25.0%
Totals Coverage Status
Change from base Build 9667079323: -0.06%
Covered Lines: 1690
Relevant Lines: 3656

💛 - Coveralls

@khughes-bdai khughes-bdai merged commit 5478065 into main Jun 26, 2024
6 checks passed
@khughes-bdai khughes-bdai deleted the khughes/blocking-sit branch June 26, 2024 18:04
khughes-bdai added a commit to bdaiinstitute/spot_ros2 that referenced this pull request Jun 26, 2024
## Change Overview

Currently, when you CTRL+C the driver, Spot will sit. If the estop is held by the tablet, this is annoying to deal with if you are starting and stopping the driver often, so this PR removes this feature.

If the estop is held by the driver, we still need to force sitting on shutdown, otherwise the robot will collapse to the ground if you CTRL+C.

EDIT: bdaiinstitute/spot_wrapper#122 and #420 need to go in first so I can use the blocking version of the sit command. 

## Testing Done

- [x] started driver without an estop (i.e., estop is controlled by the tablet). Upon CTRL+C'ing the driver, the robot doesn't sit.
- [x] started driver with an estop (i.e., added `start_estop: True` to my config yaml). Robot cleanly sits down upon driver CTRL+C
marlow-fawn pushed a commit to marlow-fawn/spot_ros2 that referenced this pull request Aug 19, 2024
…e#417)

## Change Overview

Currently, when you CTRL+C the driver, Spot will sit. If the estop is held by the tablet, this is annoying to deal with if you are starting and stopping the driver often, so this PR removes this feature.

If the estop is held by the driver, we still need to force sitting on shutdown, otherwise the robot will collapse to the ground if you CTRL+C.

EDIT: bdaiinstitute/spot_wrapper#122 and bdaiinstitute#420 need to go in first so I can use the blocking version of the sit command. 

## Testing Done

- [x] started driver without an estop (i.e., estop is controlled by the tablet). Upon CTRL+C'ing the driver, the robot doesn't sit.
- [x] started driver with an estop (i.e., added `start_estop: True` to my config yaml). Robot cleanly sits down upon driver CTRL+C
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.

3 participants