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 conode 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 conode →
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:
- Open up the "Full Scenario Taxonomy View"
- Create a new view called "Scenario Results - Taxonomy View"
- Search for the headers to each of the taxonomies categories using the view search tool
(shortcut
⌘f
on Mac andctrl-f
on Windows) followed by Zoom-selected (+
key) - Highlight the headers and their successors, and copy/ paste the nodes into your new view
- Use a horizontal layout to organise the subset of our taxonomy we will use for this investigation
- 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 us.
Let's prepare the view for our investigation:
- 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 - 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.
- Highlight the annotations representing the different types of hazard
- Press
⇧ ↓
(shift followed by the down-arrow key) to add the connected scenarios to our selection - Use the
Barplot
button in the tools menu to open a bar plot of hazard types - 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:
- Highlight the
not_a_collision
annotation, located under theCollision Type
header node - Select the successors of this annotations using the
Select Successors
button in theSelect
menu bar, or by using the down-arrow on your keyboard↓
. - Navigate to the
Node Properties
window by pressing the.
shortcut, or via theNode(s)
menu bar - 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:
- Highlight your metric of interest — in this case
hazard max speed
— from the taxonomy view - Hit
⇧ ↓
(shift followed by the down-arrow key) to add the connected scenarios to our selection - 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 us.