Skip to content

Commit

Permalink
Merge pull request #479 from snozawa/add_utility_functions_for_unstab…
Browse files Browse the repository at this point in the history
…leRTCs

Add utility functions for Unstable RTCs
  • Loading branch information
fkanehiro committed Feb 13, 2015
2 parents 80adb22 + f1a3077 commit 0b293bf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions python/hrpsys_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,34 @@ def playPatternOfGroup(self, gname, jointangles, tm):
'''
return self.seq_svc.playPatternOfGroup(gname, jointangles, tm)

# #
# # service interface for Unstable RTC component
# #
def startAutoBalancer(self, limbs=["rleg", "lleg"]):
'''!@brief
Start AutoBalancer mode
@param limbs list of end-effector name to control. rleg and lleg by default.
'''
self.abc_svc.startAutoBalancer(limbs)

def stopAutoBalancer(self):
'''!@brief
Stop AutoBalancer mode
'''
self.abc_svc.stopAutoBalancer()

def startStabilizer(self):
'''!@brief
Start Stabilzier mode
'''
self.st_svc.startStabilizer()

def stopStabilizer(self):
'''!@brief
Stop Stabilzier mode
'''
self.st_svc.stopStabilizer()

# ##
# ## initialize
# ##
Expand Down

0 comments on commit 0b293bf

Please sign in to comment.