Skip to content

Add Road Network and Obstacle components to SUMO Reader#1128

Open
timothy-glover wants to merge 42 commits intodstl:mainfrom
timothy-glover:uplift_and_update_sumo_reader_upto_date
Open

Add Road Network and Obstacle components to SUMO Reader#1128
timothy-glover wants to merge 42 commits intodstl:mainfrom
timothy-glover:uplift_and_update_sumo_reader_upto_date

Conversation

@timothy-glover
Copy link
Copy Markdown
Contributor

@timothy-glover timothy-glover commented Feb 21, 2025

NOTE: This pull request is dependent on the changes in #1096 to enable use of Obstacle platforms when processing buildings from SUMO. The first 21 commits are comparable to those in #1096, but rebased onto a more current version of main.

This pull request introduces new components for the SUMO reader, initially introduced by @hpritchett-dstl in #827. obstacle_gen is a new method for reading polygons from the SUMO config file, filtering for polygons representing buildings, and constructing a list of Obstacle platforms to represent them. Adjacent buildings that share a face are merged into a single obstacle.

The second new component is the road_network_gen method which reads road network information from the SUMO config and returns a dictionary of edges representing the network. The user can provide an optional list of enumerators (VehicleTypeEnum) for specifying the roads which should be processed, those only allowing passenger vehicles for example. Edges are represented by straight line segments with each edge in the returned dictionary containing a sequence of coordinates representing the segments. The method attempts to combine multi lane roads into a single edge to reduce the size of the output. Tests are not provided due to the difficulty in simulating SUMOGroundTruthReader without an installation of SUMO and a suitable config file.

timothy-glover and others added 20 commits February 13, 2025 09:38
…ertance for RadarBearing and RadarBearingRange
…ertance for RadarBearing and RadarBearingRange
Co-authored-by: Henry Pritchett <87075245+hpritchett-dstl@users.noreply.github.com>
Co-authored-by: James Wright <69153443+jswright-dstl@users.noreply.github.com>
…arge obstacle numbers. Add in_obstacle method and removed obstacle_check flag
…ptional dependency. Modify VIBPF to handle multiple sensors
@timothy-glover timothy-glover requested a review from a team as a code owner February 21, 2025 17:19
@timothy-glover timothy-glover requested review from csherman-dstl and sdhiscocks and removed request for a team February 21, 2025 17:19
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from ae33df9 to 80a54ad Compare February 25, 2025 16:28
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from 80a54ad to 08acf83 Compare February 27, 2025 15:19
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from 08acf83 to dae75d9 Compare March 3, 2025 14:16
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from dae75d9 to a76c52b Compare September 12, 2025 13:19
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from a76c52b to 0929db5 Compare October 31, 2025 16:11
…ved mapping from obstacle plotting, removed redundant intersection check and improved condition statements
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from 0929db5 to e35a91d Compare October 31, 2025 16:20
@timothy-glover timothy-glover force-pushed the uplift_and_update_sumo_reader_upto_date branch from e35a91d to faa3839 Compare November 3, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants