Skip to content

Commit

Permalink
Allow KinematicSimulationTrajectoryExecutor to execute trajectories c…
Browse files Browse the repository at this point in the history
…ontaining subsets of the skeleton. (#374)

* Allow KinematicSimulationTrajectoryExecutor to execute trajectories
containing subsets of the skeleton.

* Allow InstantaneousTrajectoryExecutor to execute trajectories containing subsets of the skeleton.
  • Loading branch information
brianhou authored and aditya-vk committed Apr 18, 2018
1 parent 42fa347 commit 7724899
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/aikido/control/TrajectoryExecutor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <chrono>
#include <future>
#include <set>
#include "aikido/common/pointers.hpp"
#include "aikido/trajectory/Trajectory.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/control/InstantaneousTrajectoryExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void InstantaneousTrajectoryExecutor::validate(

// TODO: Delete this line once the skeleton is locked by isCompatible
std::lock_guard<std::mutex> lock(mSkeleton->getMutex());
space->checkCompatibility(mSkeleton.get());
space->checkIfContained(mSkeleton.get());

mValidatedTrajectories.emplace(traj);
}
Expand Down
2 changes: 1 addition & 1 deletion src/control/KinematicSimulationTrajectoryExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void KinematicSimulationTrajectoryExecutor::validate(

// TODO: Delete this line once the skeleton is locked by isCompatible
std::lock_guard<std::mutex> lock(mSkeleton->getMutex());
space->checkCompatibility(mSkeleton.get());
space->checkIfContained(mSkeleton.get());

mValidatedTrajectories.emplace(traj);
}
Expand Down

0 comments on commit 7724899

Please sign in to comment.