29 using namespace MotionControlGroup;
38 out.setIndex(in.getIndex() + 1);
39 out.setHoldPositionAfterwards(in.getHoldPositionAfterwardsForWaypoints());
40 out.setSetVelocitiesToZeroAtEnd(
false);
42 if (in.getIndex() < in.getStopIndex())
44 out.setJointValues(in.getJointValueWaypoints().at(in.getIndex())->toStdMap<
float>());
46 if (!(out.getIndex() < in.getStopIndex()))
48 ARMARX_INFO <<
"last waypoint " << in.getIndex() <<
": " << out.getJointValues();
49 out.setHoldPositionAfterwards(in.getHoldPositionAfterwardsForLast());
50 out.setSetVelocitiesToZeroAtEnd(in.getSetVelocitiesToZeroAtEnd());
54 ARMARX_INFO <<
"waypoint " << in.getIndex() <<
": " << out.getJointValues();