Unverified Commit 73c0142f authored by Fernbach Pierre's avatar Fernbach Pierre Committed by GitHub

Merge pull request #71 from pFernbach/topic/interpolateConfigs

[Python] add erasePreviousState argument in interpolateConfigs
parents d72e7e7a 11f9e08d
......@@ -389,6 +389,7 @@ module hpp
/// \param filterStates If different than 0, the resulting state list will be filtered to remove unnecessary states
/// \param testReachability : if true, check each contact transition with our reachability criterion
/// \param quasiStatic : if True, use our reachability criterion with the quasiStatic constraint
/// \param erasePreviousStates : if True, the method override the current state list in fullBody, otherwise it append the results
floatSeqSeq interpolateConfigs(in floatSeqSeq configs, in double robustnessTreshold, in unsigned short filterStates,in boolean testReachability, in boolean quasiStatic, in boolean erasePreviousStates) raises (Error);
......
......@@ -475,18 +475,21 @@ class FullBody(Robot):
# \param filterStates If different than 0, the resulting state list will be filtered to remove unnecessary states
# \param testReachability : if true, check each contact transition with our reachability criterion
# \param quasiStatic : if True, use our reachability criterion with the quasiStatic constraint
# \param erasePreviousStates : if True, the method override the current state list in fullBody,
# otherwise it append the results
def interpolateConfigs(self,
configs,
robustnessTreshold=0,
filterStates=False,
testReachability=True,
quasiStatic=False):
quasiStatic=False,
erasePreviousStates=False):
if (filterStates):
filt = 1
else:
filt = 0
return self.clientRbprm.rbprm.interpolateConfigs(configs, robustnessTreshold, filt, testReachability,
quasiStatic)
quasiStatic, erasePreviousStates)
# #
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment