@@ -97,7 +97,7 @@ def Forward(self, meters, execute=True, direction=None, **kw_args):
97
97
98
98
traj = create_affine_trajectory (self .robot , [ start_pose , goal_pose ])
99
99
if execute :
100
- return self .robot . ExecuteTrajectory (traj , ** kw_args )
100
+ return self .ExecuteBasePath (traj , ** kw_args )
101
101
else :
102
102
return traj
103
103
else :
@@ -118,7 +118,7 @@ def Rotate(self, angle_rad, execute=True, **kw_args):
118
118
119
119
traj = create_affine_trajectory (self .robot , [ start_pose , goal_pose ])
120
120
if execute :
121
- return self .robot . ExecuteTrajectory (traj , ** kw_args )
121
+ return self .ExecuteBasePath (traj , ** kw_args )
122
122
else :
123
123
return traj
124
124
else :
@@ -158,12 +158,6 @@ def _BasePlanWrapper(self, planning_method, args, kw_args):
158
158
)
159
159
cloned_traj = planning_method (cloned_robot , * args , ** kw_args )
160
160
161
- # Strip inactive DOFs from the trajectory
162
- config_spec = cloned_robot .GetActiveConfigurationSpecification ()
163
- openravepy .planningutils .ConvertTrajectorySpecification (
164
- cloned_traj , config_spec
165
- )
166
-
167
161
# Copy the trajectory back to the original environment.
168
162
from ..util import CopyTrajectory
169
163
traj = CopyTrajectory (cloned_traj , env = robot .GetEnv ())
0 commit comments