Skip to content

Commit

Permalink
fix scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Svastits committed Oct 25, 2023
1 parent 16cf499 commit 59ad2f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ int main(int argc, char * argv[])
example_node->addBreakPoint();
example_node->moveGroupInterface()->execute(*planned_trajectory);
}

example_node->addBreakPoint();
example_node->moveGroupInterface()->setMaxVelocityScalingFactor(0.1);
example_node->moveGroupInterface()->setMaxAccelerationScalingFactor(0.1);

// Pilz LIN planner
auto cart_goal = Eigen::Isometry3d(
Eigen::Translation3d(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ int main(int argc, char * argv[])
.detach();

node->initialize();

node->moveGroupInterface()->setMaxVelocityScalingFactor(0.1);
node->moveGroupInterface()->setMaxAccelerationScalingFactor(0.1);
// Add robot platform
node->addRobotPlatform();
node->addBreakPoint();
Expand Down

0 comments on commit 59ad2f0

Please sign in to comment.