ruckig
ruckig copied to clipboard
Enable vector of times as input to at_time
Hi,
How can one modify at_time to accept a vector of times to obtain a whole trajectory at once? I am using the Python wrapper
Thanks in advance
What is wrong about iterating over the vector in Python? Seems to be a one-liner:
trajectory_states = [traj.at_time(t) for t in times]
The only issue is computational time. That adds at least len(times) x Python function call overhead seconds of computational time