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

Feature/drive manager actions #30

Merged
merged 12 commits into from
Oct 13, 2024
Merged

Feature/drive manager actions #30

merged 12 commits into from
Oct 13, 2024

Conversation

mkabtoul
Copy link
Contributor

Adds different unblocking actions in DriveManager:

  • move_foraward
  • move_backwards
  • rotate_in_place
  • move_to_unblock (try all)

@mkabtoul mkabtoul requested a review from aleph-ra October 13, 2024 16:28
@mkabtoul mkabtoul self-assigned this Oct 13, 2024
self.get_logger().error(
"Rotation in place action is called but ACKERMANN type robot cannot rotate in place. Aborting"
)
return
Copy link
Contributor

Choose a reason for hiding this comment

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

Returning None when the return type of the function is bool

:type rotation_safety_margin: Optional[float], optional

:return: If one of the movement actions is performed
:rtype: bool
"""
if not self.laser_scan:
self.get_logger().error(
"Scan unavailable - Unblocking functionality requires LaserScan information"
)
return
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@mkabtoul mkabtoul merged commit 40c2ef5 into main Oct 13, 2024
2 checks passed
@mkabtoul mkabtoul deleted the feature/drive_manager_actions branch October 13, 2024 16:59
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.

2 participants