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

Extend client API #24

Open
zayfod opened this issue Sep 23, 2020 · 0 comments
Open

Extend client API #24

zayfod opened this issue Sep 23, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@zayfod
Copy link
Owner

zayfod commented Sep 23, 2020

PyCozmo provides access to most low-level communication messages, part of the Cozmo protocol, as described here: https://github.com/zayfod/pycozmo/blob/master/pycozmo/protocol_declaration.py

Only a small portion of the low-level functionality is exposed through the Client class API.

The below methods, properties, and events available in the Anki Python Cozmo SDK can easily be added.

Methods:

  • drive_off_charger_contacts()
  • drive_straight()
  • turn_in_place()
  • backup_onto_charger()
  • drive_wheel_motors()
  • drive_wheels()
  • enable_stop_on_cliff()
  • move_head()
  • move_lift()
  • set_manual_exposure()
  • set_robot_volume()
  • turn_in_place()

Properties:

  • accelerometer
  • are_wheels_moving
  • battery_voltage
  • drive_off_charger_on_connect
  • gyro
  • is_anim_buffer_full
  • is_charging
  • is_cliff_detected
  • is_falling
  • is_head_in_pos
  • is_lift_in_pos
  • is_localized
  • is_moving
  • is_on_charger
  • is_pathing
  • is_picked_up
  • last_image_robot_timestamp
  • left_wheel_speed
  • right_wheel_speed
  • lift_angle
  • lift_height
  • lift_position
  • lift_ratio
  • pose
  • pose_angle
  • pose_pitch
  • serial

Events:

  • EvtObjectAppeared
  • EvtObjectConnectChanged
  • EvtObjectConnected
  • EvtObjectDisappeared
  • EvtObjectMoving
  • EvtObjectMovingStarted
  • EvtObjectMovingStopped
  • EvtObjectTapped
@zayfod zayfod added enhancement New feature or request help wanted Extra attention is needed labels Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant