|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Public Member Functions | |
| def | __init__ (self, loc) |
| def | execute (self, action_label, action_param=None) |
| def | move (self, targetLoc) |
| def | pause (self) |
| def | pick (self, Template piece) |
| def | place (self) |
Public Attributes | |
| ACTION_LABELS | |
| cache_piece | |
| loc | |
The base action class defines all the atomic actions that an agent can execute.
| def __init__ | ( | self, | |
| loc | |||
| ) |
| def execute | ( | self, | |
| action_label, | |||
action_param = None |
|||
| ) |
Execute an action given the action label and parameter TODO: currently assume all actions only take one parameter. What if some action in the future requires more? How to update the API?
| def move | ( | self, | |
| targetLoc | |||
| ) |
| def pause | ( | self | ) |
| def pick | ( | self, | |
| Template | piece | ||
| ) |
| def place | ( | self | ) |
| ACTION_LABELS |
| cache_piece |
| loc |