Skip to content

Where to take driver out?

Introduction

When preparing for a deployment along a specific route, AV developers may test their AV in simulation against scenarios that are statistically likely to take place in that given location. They will also usually send out their AV along the route with a safety driver. This way, they can collect information about how their AV is performing at different sections of the route in a safe manner.

Figuring out when taking the safety driver out can be a complex task with high-stakes. In the following demo, we use Edge to determine failure modes in specific areas, see where those failure modes don’t occur, and use that understanding as a place to consider a deployment without a safety driver.

Open Autonomous Vehicle Sandbox in Edge →

Gathering what we need

Annotations

In order to analyse the performance of our AV, we have gathered a set of scenarios and key scenario annotations into the view title "Scenario Results - Taxonomy View":

How could I make this Taxonomy view myself?

Steps:

  1. Open up the "Full Scenario Taxonomy View"
  2. Create a new view called "Scenario Results - Taxonomy View"
  3. Search for the headers to each of the taxonomies categories using the view search tool (shortcut ⌘f on Mac and ctrl-f on Windows) followed by Zoom-selected (+ key)
  4. Highlight the headers and their successors, and copy/ paste the nodes into your new view
  5. Use a horizontal layout to organise the subset of our taxonomy we will use for this investigation
  6. Gather all the successors of the Test Scenarios node into the view

Test Scenarios

The scenarios we will analyse during this demo are the successors of the header node Test Scenarios which can be found on the RHS of our taxonomy view. We can open up the spatial view titled "Scenario Results - Spatial View" to see these same scenario nodes positioned along the route on which they take place.

How could I make this Spatial view myself?

Spatial views such as these can be easily created by highlighting any group of scenario nodes, followed by hitting the button Spatial View located in the Tools menu bar. Note that this feature is not available to all users - if you would like access, please contact dRISK.

Let's prepare the view for our investigation:

  1. Reset the colours of all the scenarios nodes by highlighting the pile of scenarios in the Taxonomy view, hitting the . key to open Node Properties menu, and change their colour to blue
  2. Turn up the size of nodes such that they are easier to work with using the Node Size button in the view toolbar

Which regions of our route contain the most VRUs?

Let's start off by getting an overview of how many of our scenarios contained a high-risk hazard such as VRUs (pedestrians, cyclists, etc.) and where along the route they took place, so that we know which regions of the route we should treat with caution.

  1. Highlight the annotations representing the different types of hazard
  2. Press ⇧ ↓ (shift followed by the down-arrow key) to add the connected scenarios to our selection
  3. Use the Barplot button in the tools menu to open a bar plot of hazard types
  4. Highlight each column in the bar plot and observe where those scenarios light up on the spatial view

The following insights are clear:

  • The majority of scenarios involve a car hazard (as opposed to pedestrians, objects, trucks)
  • Scenarios involving pedestrians took place predominantly at the central junction of the map and as such, we may want to treat this region with caution and keep the driver in here
  • Scenarios involving obstacles and vehicles are fairly well-distributed across the map

Where is our AV performing best?

Now let’s find out where on the map our AV is performing best. To do so, we will colour the scenario nodes according to whether the AV entered a collision with the hazard, or whether the scenario was navigated safely and successfully.

Colour the scenarios which involved no collision green:

  1. Highlight the not_a_collision annotation, located under the Collision Type header node
  2. Select the successors of this annotations using the Select Successors button in the Select menu bar, or by using the down-arrow on your keyboard .
  3. Navigate to the Node Properties window by pressing the . shortcut, or via the Node(s) menu bar
  4. Select the colour green and press OKAY

At this point, we can already see our AV could be safely deployed along the LHS of our map, due to good performance on the scenarios which are likely to take place there.

Where is our AV still failing?

It is known that incidents involving head-on collisions between vehicles are the most deadly, so let’s treat any spots along the route at which our AV has entered such a collision very carefully. To visualise risk, let's colour head-on scenarios red, and all other collision types orange, using the same 4 steps outlined above. As an extra step, increase the node size of head-on scenarios such they can be easily seen.

This has reinforced what we discovered previously: roads along the LHS of our map would be the least risky spot to first deploy our AV without a safety driver.

Any other factors we wish to consider?

Lastly, it's worth noting that another category of high-risk areas are those where vehicles tend to operate at high speeds. Let's check out the speed profile of our scenario set by opening up the "Histogram - Maximum Speed of Hazard" view.

To ensure the region of our map which we plan to take the driver out is indeed lower risk, highlight the LHS of the spatial view and observe where the scenarios light up in the histogram.

The region we hypothesised it might be the safest to take the driver out does indeed contain scenarios at the lower end of hazard speeds!

How could I make this Histogram myself?

Histograms can be easily created using the following steps:

  1. Highlight your metric of interest — in this case hazard max speed — from the taxonomy view
  2. Hit ⇧ ↓ (shift followed by the down-arrow key) to add the connected scenarios to our selection
  3. Press the Histogram button in the Tools menu

Note that this feature is not available to all users - if you would like access, please contact dRISK.


Last update: 2024-06-07