Implement a Speed-Limit RL Reward for Batched Trajectories (10Hz)
Implement a speed-limit reward function for RL.
Given:
trajwith shape[batch, num_waypoint, 2]sampled at 10Hz. Assumetraj[b][t][0]is speedv(t)(same unit as the speed limit) and `t...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
