Fun with PWM
0.32
|
UI for motions and chains. More...
Public Member Functions | |
def | __init__ (self, parent, gui, options) |
def | setup (self) |
def | serviceManager (self) |
def | listMotions (self) |
def | editMotion (self) |
def | deleteMotion (self) |
def | editKeyFrames (self) |
def | getActiveKeyframe (self, time) |
def | activeKeyFrame (self, time) |
def | moveKeyFrame (self) |
def | cloneKeyFrame (self) |
def | deleteKeyFrame (self) |
def | listChains (self) |
def | editChain (self) |
def | deleteChain (self) |
def | listChainMotions (self) |
def | editChainMotion (self) |
def | deleteChainMotion (self) |
def | OnStartClick (self) |
def | OnStopClick (self) |
def | OnToggleAutostartClick (self) |
def | OnRelaxClick (self) |
def | OnDefaultClick (self) |
def | OnListMotionsClick (self) |
def | OnAddMotionClick (self) |
def | OnRefreshClick (self) |
def | OnPlayMotionClick (self, index=None) |
def | OnPlaySlowMotionClick (self, index=None) |
def | OnSaveMotionClick (self) |
def | OnEditMotionClick (self, index) |
def | OnEditKeyFramesClick (self) |
def | OnDeleteMotionClick (self) |
def | OnCancelDeleteClick (self) |
def | OnDeleteMotionConfirmClick (self) |
def | OnAddTimeClick (self) |
def | OnTrimTimeClick (self) |
def | OnMoveKeyFrameClick (self) |
def | OnMoveKeyFrameConfirmClick (self) |
def | OnCloneKeyFrameClick (self) |
def | OnCloneKeyFrameConfirmClick (self) |
def | OnUpdateKeyFrameClick (self) |
def | OnDeleteKeyFrameClick (self) |
def | OnDeleteKeyFrameConfirmClick (self) |
def | OnCancelKeyFrameClick (self) |
def | OnUpdateAngles (self, event) |
def | OnListChainsClick (self) |
def | OnAddChainClick (self) |
def | OnEditChainClick (self, index=None) |
def | OnSaveChainClick (self) |
def | OnDeleteChainClick (self, index=None) |
def | OnDeleteChainConfirmClick (self) |
def | OnCancelDeleteChainClick (self) |
def | OnPlayChainClick (self, index) |
def | OnListChainMotionsClick (self, index=None) |
def | OnAddChainMotionClick (self) |
def | OnEditChainMotionClick (self, index=None) |
def | OnSaveChainMotionClick (self) |
def | OnDeleteChainMotionClick (self, index=None) |
def | OnDeleteChainMotionConfirmClick (self) |
def | OnCancelDeleteChainMotionClick (self) |
def | getMotionNames (self) |
def | getMotionFromName (self, name) |
def | getMotionFromId (self, id) |
def | refreshMotions (self) |
Public Member Functions inherited from TkBlock.TkPage | |
def | __init__ (self, parent, gui, options) |
def | open (self) |
Public Member Functions inherited from TkBlock.TkBlock | |
def | __init__ (self, parent, gui, options) |
def | setup (self) |
def | initWidget (self) |
def | addMenu (self, menu, label="-") |
def | open (self) |
def | close (self) |
def | genericView (self, parent, value) |
def | numberView (self, parent, value) |
def | stringView (self, parent, value) |
def | dictView (self, parent, value) |
def | iterView (self, parent, value) |
Public Attributes | |
specification | |
servos | |
channelindex | |
gridrow | |
variables | |
duration | |
time | |
lastmotion | |
autostart | |
motion | |
keyframes | |
currentTime | |
chains | |
chain | |
chainmotion | |
motions | |
Public Attributes inherited from TkBlock.TkBlock | |
gui | |
parent | |
height | |
variables | |
notifier | |
colours | |
fonts | |
images | |
wrap | |
canvas | |
widget | |
yScroller | |
xScroller | |
widgets | |
gridrow | |
UI for motions and chains.
def TkMotionManager.TkMotionManager.__init__ | ( | self, | |
parent, | |||
gui, | |||
options | |||
) |
Initializes TkMotionManager object @param parent @param gui @param options
def TkMotionManager.TkMotionManager.activeKeyFrame | ( | self, | |
time | |||
) |
util - updates keyframe ui @param time int
def TkMotionManager.TkMotionManager.cloneKeyFrame | ( | self | ) |
view - clone keyframe
def TkMotionManager.TkMotionManager.deleteChain | ( | self | ) |
view - delete chain
def TkMotionManager.TkMotionManager.deleteChainMotion | ( | self | ) |
view - delete chain motion
def TkMotionManager.TkMotionManager.deleteKeyFrame | ( | self | ) |
view - delete keyframe
def TkMotionManager.TkMotionManager.deleteMotion | ( | self | ) |
view - delete motion
def TkMotionManager.TkMotionManager.editChain | ( | self | ) |
view - edit chain
def TkMotionManager.TkMotionManager.editChainMotion | ( | self | ) |
view - edit chain motion
def TkMotionManager.TkMotionManager.editKeyFrames | ( | self | ) |
view - edit keyframes
def TkMotionManager.TkMotionManager.editMotion | ( | self | ) |
view - edit motion
def TkMotionManager.TkMotionManager.getActiveKeyframe | ( | self, | |
time | |||
) |
util - gets the current keyframe data @param time int @return dict
def TkMotionManager.TkMotionManager.getMotionFromId | ( | self, | |
id | |||
) |
util - gets a motion from id @param id
def TkMotionManager.TkMotionManager.getMotionFromName | ( | self, | |
name | |||
) |
util - gets a motion from the name @param name @return Motion
def TkMotionManager.TkMotionManager.getMotionNames | ( | self | ) |
util - gets a list of motion names @return tuple
def TkMotionManager.TkMotionManager.listChainMotions | ( | self | ) |
view - list chain motions
def TkMotionManager.TkMotionManager.listChains | ( | self | ) |
view - list chains
def TkMotionManager.TkMotionManager.listMotions | ( | self | ) |
view - list motions
def TkMotionManager.TkMotionManager.moveKeyFrame | ( | self | ) |
view - move keyframe
def TkMotionManager.TkMotionManager.OnAddChainClick | ( | self | ) |
action - display add chain page
def TkMotionManager.TkMotionManager.OnAddChainMotionClick | ( | self | ) |
action - display add chain page
def TkMotionManager.TkMotionManager.OnAddMotionClick | ( | self | ) |
action - display add motion page
def TkMotionManager.TkMotionManager.OnAddTimeClick | ( | self | ) |
action - adds a second to
def TkMotionManager.TkMotionManager.OnCancelDeleteChainClick | ( | self | ) |
action - cancel delete chain
def TkMotionManager.TkMotionManager.OnCancelDeleteChainMotionClick | ( | self | ) |
action - cancel delete chain motion
def TkMotionManager.TkMotionManager.OnCancelDeleteClick | ( | self | ) |
action - cancel delete motion
def TkMotionManager.TkMotionManager.OnCancelKeyFrameClick | ( | self | ) |
action - cancel keyframe action
def TkMotionManager.TkMotionManager.OnCloneKeyFrameClick | ( | self | ) |
action - display clone keyframe page
def TkMotionManager.TkMotionManager.OnCloneKeyFrameConfirmClick | ( | self | ) |
action - clone keyframe
def TkMotionManager.TkMotionManager.OnDefaultClick | ( | self | ) |
action - default all servos
def TkMotionManager.TkMotionManager.OnDeleteChainClick | ( | self, | |
index = None |
|||
) |
action - display delete chain page @param index
def TkMotionManager.TkMotionManager.OnDeleteChainConfirmClick | ( | self | ) |
action - delete chain
def TkMotionManager.TkMotionManager.OnDeleteChainMotionClick | ( | self, | |
index = None |
|||
) |
action - display delete chain motion @param index
def TkMotionManager.TkMotionManager.OnDeleteChainMotionConfirmClick | ( | self | ) |
action - delete chain motion
def TkMotionManager.TkMotionManager.OnDeleteKeyFrameClick | ( | self | ) |
action - display delete keyframe page
def TkMotionManager.TkMotionManager.OnDeleteKeyFrameConfirmClick | ( | self | ) |
action - delete keyframe
def TkMotionManager.TkMotionManager.OnDeleteMotionClick | ( | self | ) |
action - display delete motion page
def TkMotionManager.TkMotionManager.OnDeleteMotionConfirmClick | ( | self | ) |
action - delete motion
def TkMotionManager.TkMotionManager.OnEditChainClick | ( | self, | |
index = None |
|||
) |
action - display edit chain page @param index
def TkMotionManager.TkMotionManager.OnEditChainMotionClick | ( | self, | |
index = None |
|||
) |
action - display edit chain motion page @param index
def TkMotionManager.TkMotionManager.OnEditKeyFramesClick | ( | self | ) |
action - display edit keyframes page
def TkMotionManager.TkMotionManager.OnEditMotionClick | ( | self, | |
index | |||
) |
action - display edit motion page @param index str
def TkMotionManager.TkMotionManager.OnListChainMotionsClick | ( | self, | |
index = None |
|||
) |
action - display list chain motion page @param index
def TkMotionManager.TkMotionManager.OnListChainsClick | ( | self | ) |
action - display chain list page
def TkMotionManager.TkMotionManager.OnListMotionsClick | ( | self | ) |
action - display motion list
def TkMotionManager.TkMotionManager.OnMoveKeyFrameClick | ( | self | ) |
action - display move keyframe page
def TkMotionManager.TkMotionManager.OnMoveKeyFrameConfirmClick | ( | self | ) |
action - move keyframe
def TkMotionManager.TkMotionManager.OnPlayChainClick | ( | self, | |
index | |||
) |
action - trigger a chain
def TkMotionManager.TkMotionManager.OnPlayMotionClick | ( | self, | |
index = None |
|||
) |
action - play motion @param index
def TkMotionManager.TkMotionManager.OnPlaySlowMotionClick | ( | self, | |
index = None |
|||
) |
action - play slow motion @param index
def TkMotionManager.TkMotionManager.OnRefreshClick | ( | self | ) |
action - refresh motion list
def TkMotionManager.TkMotionManager.OnRelaxClick | ( | self | ) |
action - relax all servos
def TkMotionManager.TkMotionManager.OnSaveChainClick | ( | self | ) |
action - save chain
def TkMotionManager.TkMotionManager.OnSaveChainMotionClick | ( | self | ) |
action - save chain motion
def TkMotionManager.TkMotionManager.OnSaveMotionClick | ( | self | ) |
action - save motion
def TkMotionManager.TkMotionManager.OnStartClick | ( | self | ) |
action - start motion scheduler service
def TkMotionManager.TkMotionManager.OnStopClick | ( | self | ) |
action - stop motion scheduler service
def TkMotionManager.TkMotionManager.OnToggleAutostartClick | ( | self | ) |
action - toggle motion scheduler service autostart
def TkMotionManager.TkMotionManager.OnTrimTimeClick | ( | self | ) |
action - removes time without keyframes
def TkMotionManager.TkMotionManager.OnUpdateAngles | ( | self, | |
event | |||
) |
action - sync servo angles @param event
def TkMotionManager.TkMotionManager.OnUpdateKeyFrameClick | ( | self | ) |
action - update keyframe
def TkMotionManager.TkMotionManager.refreshMotions | ( | self | ) |
util - update objects reference to the motion in the specification
def TkMotionManager.TkMotionManager.serviceManager | ( | self | ) |
view - service manager
def TkMotionManager.TkMotionManager.setup | ( | self | ) |
setup gui menu