Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmoothPath does not respect collision constraints #553

Open
Stefanos19 opened this issue Sep 15, 2019 · 0 comments
Open

SmoothPath does not respect collision constraints #553

Stefanos19 opened this issue Sep 15, 2019 · 0 comments
Labels

Comments

@Stefanos19
Copy link

Stefanos19 commented Sep 15, 2019

Here's the code we use:

std::vector<aikido::constraint::ConstTestablePtr> constraints;
if (m_collisionFree)
  constraints.push_back(m_collisionFree);
auto testable = std::make_shared<aikido::constraint::TestableIntersection>(m_stateSpace, constraints);
std::unique_lock<std::mutex> lock(m_skeleton->getBodyNode(0)->getSkeleton()->getMutex());
aikido::trajectory::TrajectoryPtr timedTrajectory = ada->smoothPath(m_skeleton,
                                                                    trajectory.get(),
                                                                    testable);
@Stefanos19 Stefanos19 added the bug label Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant