Provides a convenient interface for 'poseable programming' by allowing
positions of servos to be recorded and played back.
|
|
|
getPose(self)
collect positions of all servos |
source code
|
|
|
_set_pose(self,
pose)
(private) set positions of all servos |
source code
|
|
|
off(self)
Emegency Stop for all servos -- .go_slack()-s all modules, ignoring
any exceptions |
source code
|
|
|
reset(self)
Reset the recording, allowing a new recording to be started |
source code
|
|
|
snap(self,
t=None)
Add a snapshot of the current pose to the recording |
source code
|
|
|
|
|
show(self,
stream=STDOUT,
delim=" ",
fmt="%5d",
hfmt="%5s",
rdel="\n",
slc=slice(None))
Write the current recording out on a stream in a text-based format |
source code
|
|
|
unsnap(self)
Drop the last pose from the recording |
source code
|
|
|
|
|
loadCSV(self,
stream)
Syntactic sugar for loading a .csv file using .appendFrom() |
source code
|
|
|
saveCSV(self,
stream=STDOUT)
Syntactic sugar for using .show() to write a .csv formatted recording |
source code
|
|
|
playback(self,
period=None,
count=1,
rate=0.03)
Play back the current recording one or more times. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|