Start Joint State with Non-Zero Vel/Acc/Jerk for TrajOpt Solver #78
-
Hi! I'm trying to do trajectory optimization with start and goal joint states. The start and goal joint states could be with non-zero vel/acc/jerk. I use the last joint state of the previous trajectory as the start state for the next trajectory, but result.success =False. I checked the values of the state. None of them exceeds the maximum vel (indicated in urdf) or maximum acc/jerk (indicated in robot config file). Do you know what would be the potential issue? And in the config file, the "max_jerk" and "max_acceleration" are the acc/jerk bounds, right? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
We added optimizing from non-zero start velocity and acceleration. You can look at for how to change the motion gen configuration parameters to support non-static start state.We do not yet support non-zero velocity, acceleration for the final state. This could be done by changing the tensor_step function which currently sets the last three time steps to the same action. Do you want to have a target joint velocity/acceleration as well? Regarding max_jerk and max_acceleration, they are the bounds as you said. |
Beta Was this translation helpful? Give feedback.
These are the parameters you need to change:
Regarding optimizing for target joint state, does that mean you want to have a specific target velocity and acceleration for the joints at the final timestep? This …