Bugfixes and cleanups in core components
We'd like to address some bugfixes and cleanups in various core components:
Refactoring:
- ObservationLog: Method ReadIfSet should be renamed to something more appropriate
Improve logging:
- During signal parsing
- During import of turning rates
- When a SpawnerProfile is missing
Tests:
- Add end to end test for TrafficLights
- Add tests for TrafficLight logging
- Add tests for CollisionDetector
Cleanups:
- Remove deprecated Localization tests
- More const correctness in interfaces
- Remove duplicate GetDimensionFromOsiObject() template function
Bugfixes:
- ObservationLog
- Stop reason not set
- SensorDriver
- Crash when reference point is not on route
- UpdateGraphPosition crashes if road position cannot be retrieved
- World
- Erroneous lane width calculation
- LaneStream creation
- Incorrect cast to AgentInterface in LaneStream::GetObjectsInRange()
- Route calculation crashes on unidirectional road
- EgoAgent::GetObstruction() should check for valid route
- EgoAgent::GetWorldPosition() should use std::optional as return type to account for queries where reference point is not on route
- Limit object orientation angles to +/- PI
- Wrong assignment of speed limit for buses
- Allow missing VehicleProfiles tag in ProfilesCatalog.xml
- Allow GetRelativeLanes() and GetRoadGraph() on roads against OpenDRIVE orientation
- CommonHelper
- SetAngleToValidRange not working as expected for values > 3*PI
- Documentation:
- Add traffic sign pictures