- The reference path is treated as center of the four-lane highway road scenario loaded from “drivingScenarioTrafficExample” drivingScenario object.
- So referring to the section “Construct Reference Path” in the example, the waypoints mentioned are [x,y] points for the road defined in “drivingScenarioTrafficExample” scenario, as shown below:
- The [x,y] points in “waypoint” variable will need to be adjusted according to the path in your customized road scenario.
- These waypoints can be sampled when designing your scenario using the “Driving Scenario Designer” app.
- Then the points are passed through “referencePathFrenet” object to generate reference path using the specified waypoints.