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

Fix false trajectory success when blocked by obstacle #579

Merged

Conversation

gaddison-bdai
Copy link
Collaborator

@gaddison-bdai gaddison-bdai commented Feb 12, 2025

Change Overview

Just changed some logic inside of handle_trajectory() member function to properly handle the new flags/logic created in the corresponding spot_wrapper branch. Going to keep this as a draft until the corresponding branch in spot_wrapper is merged to main.

Depends on bdaiinstitute/spot_wrapper#156

Testing Done

Tested on Rex in spot lab. Confirmed that it will report "Trajectory complete: failed to reach goal" if it is unable to reach the goal. Previously, it would instead say "Reached goal" and success. Trajectory duration time out fail also tested and still sends proper feedback and result.

…h goal due to obstacle, using new flags and logic in spot_wrapper
@coveralls
Copy link

coveralls commented Feb 13, 2025

Pull Request Test Coverage Report for Build 13395043125

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 62 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 52.487%

Files with Coverage Reduction New Missed Lines %
spot_ros2/spot_ros2/spot_driver/spot_driver/spot_ros2.py 62 45.96%
Totals Coverage Status
Change from base Build 13394401804: -0.01%
Covered Lines: 1952
Relevant Lines: 3719

💛 - Coveralls

Copy link
Collaborator

@tcappellari-bdai tcappellari-bdai left a comment

Choose a reason for hiding this comment

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

approved once corresponding spot_wrapper PR is merged and CI passes

@gaddison-bdai gaddison-bdai marked this pull request as ready for review February 18, 2025 17:54
@gaddison-bdai gaddison-bdai merged commit 1a50f41 into main Feb 18, 2025
5 checks passed
@gaddison-bdai gaddison-bdai deleted the gaddison/SW-2016-fix-trajectory-action-blocked-behavior branch February 18, 2025 17:55
kabirkedia pushed a commit to kabirkedia/spot_ros2 that referenced this pull request Feb 19, 2025
kabirkedia pushed a commit to kabirkedia/spot_ros2 that referenced this pull request Feb 20, 2025
kabirkedia pushed a commit to kabirkedia/spot_ros2 that referenced this pull request Feb 20, 2025
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