pycozmo icon indicating copy to clipboard operation
pycozmo copied to clipboard

Extend client API

Open zayfod opened this issue 4 years ago • 0 comments

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 avatar Sep 23 '20 18:09 zayfod