motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
674 stars 129 forks source link

how can i get the goal states #221

Closed wangjunhe8127 closed 1 year ago

wangjunhe8127 commented 1 year ago

hi,i want to get the goal state, and i want to know which function will provide to me in test phase? image

or there are other function to get the goal states? thanks!

patk-motional commented 1 year ago

Hi @wangjunhe8127,

The mission goal will be given. However, you will be given this through the PlannerInput class and not through the scenario interface directly

yaqlee commented 1 year ago

But PlannerInput class does not have property like 'goal state', how does it work?

patk-motional commented 1 year ago

This may have changed recently. Please check PlannerInitialization instead. This will be given to your planner at the start of each scenario simulation .