Skip to content

Clarify the role of interpolation_steps? #258

Closed Answered by balakumar-s
peter-mitrano-bg asked this question in Research Q&A
Discussion options

You must be logged in to vote

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 through MotionGenResult.get_interpolated_plan().

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@balakumar-s
Comment options

Answer selected by peter-mitrano-bg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants