You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I had a vector of velocities, and a vector of waypoints. I want to iterate through each waypoint and drive at the corresponding velocity. In the waypoints example a LoopDouble and LoopPose decorator is used, however the {number} from LoopDouble cannot be used with UseWaypoint in LoopPose:
This node requires multiple Loop children each with the same size queue, then it will tick each child once. In essence, a for loop that passes the current index to each child.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Suppose I had a vector of velocities, and a vector of waypoints. I want to iterate through each waypoint and drive at the corresponding velocity. In the waypoints example a LoopDouble and LoopPose decorator is used, however the
{number}
fromLoopDouble
cannot be used withUseWaypoint
inLoopPose
:What would be the best approach to using the LoopDouble queue in LoopPose?
I have considered a couple options:
Combine LoopDouble and LoopPose
Create a SyncronizedParallelLoop decorator
This node requires multiple Loop children each with the same size queue, then it will tick each child once. In essence, a for loop that passes the current index to each child.
Using scripts:
Beta Was this translation helpful? Give feedback.
All reactions