MCPcopy Create free account
hub / github.com/andybarry/flight / GetIndexAtTime

Method GetIndexAtTime

controllers/TrajectoryLibrary/Trajectory.cpp:181–209  ·  view source on GitHub ↗

* Assuming a constant dt, we can compute the index of a point * based on its time. * * @param t time to find index of * @param (optional) use_rollout set to true to use time bounds from rollout instead of xpoints * @retval index of nearest point */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected