Reach orientation condition
Describe the feature
The idea, or need, proposed by Nicolas Ochoa-Lleras is to trig on reaching a specified heading.
Describe the solution you would like
Make use of the existing ReachPositionCondition.
- Add a statement like: "If orientation is specified as part of the Position element, it will be used in the evaluation".
- Add tolerances for heading, pitch and roll. If only angular match is of interest the user can specify a relative position with no offset, e.g. dx="0.0" and dy="0.0". (Relative orientation type in this case means relative the road.)
Describe alternatives you have considered
A separate condition, e.g. ReachOrientationCondition. With an Orientation element and same three tolerance attributes as above. Maybe this is a clearer solution.
Describe the backwards compatibility
Both alternatives should be backwards compatible. However a risk with the extended ReachPositionCondition is that a 1.1 scenario might have an Orientation element in the Position element of ReachPositionCondition. And from having no effect in 1.1, it suddenly might prevent the trigger in cases it triggered before (if the angles do not align). A separate condition would mean full BW compatibility.
Additional context
Add any other context or screenshots about the feature request here.