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

Added Drive and Turn Commands and Tracking for Charger #56

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

reakain
Copy link

@reakain reakain commented Aug 3, 2022

Added some of the functionality from Issue #24

Added properties, events, and event handlers for tracking:

  • is_charging
  • is_on_charger

Added Methods:

  • drive_off_charger_contacts()
  • drive_straight()
  • turn_in_place()
  • turn_in_place_at_speed()

Drive off charger contacts is a little weird. The go to pose function call got more consistent results for getting off the charger, and doing so required disabling and then re-enabling the cliff detection. It also currently does not check that it's even on the charger before completing the command.

I'm not sure how well I followed the contributing guidelines, but I have been running these changes on automatic multi-month Cozmo systems for about 8 months, so I know they at least work in the wild.

reakain added 2 commits August 3, 2022 11:48
…or moving on or off the charger. Added event handler functions and property tracking for on/off the charger and on/off charging.
…in place, and turn in place at speed to match cozmo sdk
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.

1 participant