How to make the vehicle take an action other than stopping when it arrives at the end of the route

3 次查看(过去 30 天)
hello
I have a question while using the RoadRunner Scenario Editor tool.
A vehicle that does not specify a route can perform the actions (speed change, lane change) defined in the logic editor, but a vehicle with a designated route cannot perform a lane change action and automatically stops when it reaches the end of the route.
In this case, is there a way to change the vehicle that has reached the end of the route to the same state as the unrouted vehicle?
Also, can it be set so that the vehicle that has reached the end of the route keeps the last action instead of stopping?
When changing lanes, a vehicle with a designated route performs a lane change only within the set distance, and other than that, a lane change is performed only when the route is drawn in the form of a free-form curve.
For example, if the starting point and the waypoint are section A, and the waypoint and end point are section B, I would like to set the lane change of section A to 20m and the lane change of section B to 30m.

回答(1 个)

Hank
Hank 2022-12-13
Hi,
It looks like you have three questions:
1) Is there a way to change a vehicle that has reached the end of the route to the same state as the unrouted (following a lane) vehicle?
Answer: RoadRunner Scenario does not currently have a way to perform a change in routing type for a vehicle, but we will consider this for a future release.
2) Can a vehicle that is following a route be set so that when the vehicle reaches the end of the route it keeps the last action instead of stopping?
Answer: Same answer as #1.
3) When a vehicle is following a route that changes lanes twice, can I set the distance over which those two lane changes occur to two different values?
Answer: You can make a lane change on a route occur over a shorter distance than the lane change distance attribute for the route by adding control points to the route at the points where you want the lane change to start and end. To add a point to a route, RIGHT click on the route in the 3d view. This will add a control point which can then dragged alone the route to control how the lane change occurs.
Thanks
Hank

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by