Skip to content

Commit

Permalink
Output OpenRAVE::TrajectoryBase contents
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Nov 9, 2017
1 parent a522394 commit 7027438
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ bool roboticslab::YarpOpenraveControlboard::positionMove(int j, double ref) { /
probot->GetActiveDOFValues(manipulatorNow); // get current values
ptraj->Insert(0,manipulatorNow);
ptraj->Insert(1,manipulatorTargets);
CD_DEBUG("ptraj-prev\n");
ptraj->serialize(std::cout);
CD_DEBUG("ptraj-prev\n");
OpenRAVE::planningutils::SmoothActiveDOFTrajectory(ptraj,probot);
CD_DEBUG("ptraj-post\n");
ptraj->serialize(std::cout);
CD_DEBUG("ptraj-post\n");
//CD_DEBUG("ptraj-post: %s\n",ptraj->GetDescription().c_str());
pcontrol->SetPath(ptraj);
/*
int timeoffset = spec.AddDeltaTimeGroup();
Expand Down

0 comments on commit 7027438

Please sign in to comment.