Limit traffic light stop nodes to road nodes only
Prerequisites
-
I have Confirmed this bug myself. -
I have checked the documentation and found no answer. -
I checked to make sure that this issue has not already been filed.
- Prerequisites
- What is the current bug behaviour?
- Steps to reproduce the bug
- What is the expected correct behaviour?
- Relevant logs and/or screenshots
- Context for bugs on live / demo environments
- Confirmation
- Possible fixes
What is the current bug behaviour?
Users are able to put any object with a transform within the stop nodes section on a traffic light object.
Steps to reproduce the bug
- Create an object with the
TrafficLight
script. - Add any object with a transform into the stop node fields.
What is the expected correct behaviour?
Not all transforms should really be accepted into the stop nodes field as the system only evaluates the road nodes.
Relevant logs and/or screenshots
(Birmingham Road_-0.5_Path
is a RoadWay
not a RoadNode
)
Context for bugs on live / demo environments
If the bug was found on a live or demo deployment, state the time and date on which it occurred (this helps in searching web server or operating system logs for more information).
-
The simulation was run on Windows. -
The simulation was run on Linux. -
The simulation was run on MacOS (unsupported). -
The simulation was run on iOS (unsupported). -
The simulation was run on Android (unsupported).
Please also state the version number of your platform.
Confirmation
Please provide any relevant context about this bug report.
-
Marked with Priority:High, Priority:Medium, or Priority:Low, according to the needs of the client. -
This bug has been reported by the client or product owner. -
This bug has been reported by an end-user (who is not the client). -
This bug has been Confirmed, by a developer, running the develop branch locally. -
This bug has been Confirmed, by a developer, on the live system. -
This bug has been Confirmed, by a developer, on the demo deployment.
Possible fixes
Just need to change the fields to RoadNode
type and make sure other usages of the field are adjusted to allow for this