Skip to content

Commit 1274a45

Browse files
committed
Merge pull request #121 from personalrobotics/bugfix/missingkw_args
Added kwargs to ExecuteTrajectory and PostProcessPath.
2 parents e1ccaed + 5a485ae commit 1274a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prpy/base/robot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def GetTrajectoryManipulators(self, traj):
186186
def PostProcessPath(self, path, defer=False, executor=None,
187187
constrained=None, smooth=None, default_timelimit=0.5,
188188
shortcut_options=None, smoothing_options=None,
189-
retiming_options=None):
189+
retiming_options=None, **kwargs):
190190
""" Post-process a geometric path to prepare it for execution.
191191
192192
This method post-processes a geometric path by (optionally) optimizing
@@ -367,7 +367,7 @@ def do_execute():
367367
raise ValueError('Received unexpected value "{:s}" for defer.'.format(defer))
368368

369369

370-
def ExecuteTrajectory(self, traj, defer=False, timeout=None, period=0.01):
370+
def ExecuteTrajectory(self, traj, defer=False, timeout=None, period=0.01, **kwargs):
371371
""" Executes a time trajectory on the robot.
372372
373373
This function directly executes a timed OpenRAVE trajectory on the

0 commit comments

Comments
 (0)