Replies: 3 comments
-
A few things.
You might put a breakpoint or printout in the JointVelErrCalculator operator (in kinematic_terms.cpp) and just make sure it is being called. It could be that we broke something on the frontend. |
Beta Was this translation helpful? Give feedback.
-
@schornakj Any update on this? Did you get it to work or do we think it is broken? Or do we not know? |
Beta Was this translation helpful? Give feedback.
-
I wasn't able to get it working in the way I expected ( |
Beta Was this translation helpful? Give feedback.
-
I would like Trajopt to assign timesteps for each waypoint, so I can have my trajectory conform to joint velocity and acceleration goals without requiring a time parameterization postprocessing step.
So far, I've set
pci.basic_info.use_time = true
and I have a joint velocity cost with theTT_USE_TIME
term type, which looks like this:The optimization converges to a reasonable freespace trajectory. The resulting trajectory is an N x 7 matrix, which is correct since I have a 6-DOF robot.
My problem is that the last column (which I've assumed is the duration elapsed since the first waypoint) is exclusively ones, which indicates that the optimization isn't working in the way I'd expect. What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions