Clarify the role of interpolation_steps
?
#258
-
From the docstring, it would seem like this mean that the shape of the interpolated plan is always exactly Could we clarify how this parameter works? When is it respected or ignored? From reading the code it really only seems to effect the graph planner? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
interpolation_steps
is a max buffer to store interpolated trajectories in. We use a CUDA kernel to interpolate batch of trajectories given solutions from the solver. Hence we need to preallocate tensors for the interpolated trajectories. We additionally store the last index for each interpolated trajectory in the batch and use this index to return variable length interpolated trajectories throughMotionGenResult.get_interpolated_plan()
.