Skip to content

Commit

Permalink
schema/cam: adding safety car container as a possible special vehicle…
Browse files Browse the repository at this point in the history
… container

Signed-off-by: Hugues Oudeville <hugues.oudeville@orange.com>
  • Loading branch information
Hugues360 committed Dec 17, 2024
1 parent 58a6325 commit 067aea0
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions schema/cam/cam_schema_2-1-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,11 @@
"required": [
"emergency_container"
]
},
{
"required": [
"safety_car_container"
]
}
],
"properties": {
Expand Down Expand Up @@ -898,6 +903,52 @@
]
}
}
},
"safety_car_container": {
"type": "object",
"description": "detailed information of the Safety Car Container",
"required": [
"light_bar_siren_in_use"
],
"properties": {
"light_bar_siren_in_use": {
"type": "string",
"description": "indicates the status of light bar and any sort of audible alarm system besides the horn as a bit string: lightBarActivated(0), sirenActivated(1)",
"minLength": 2,
"maxLength": 2,
"example": [
"00",
"10"
]
},
"incident_indication": {
"type": "object",
"description": "the optional incident related to the roadworks to provide additional information of the roadworks zone",
"required": [
"cc_and_scc"
],
"properties": {
"cc_and_scc": {
"type": "integer",
"description": "reserved for future use(0), trafficCondition(1), accident(2), roadworks(3), reserved for future usage(4), impassability(5), adverseWeatherCondition-Adhesion(6), aquaplaning(7), reserved for future usage(8),hazardousLocation-SurfaceCondition(9), hazardousLocation-ObstacleOnTheRoad(10), hazardousLocation-AnimalOnTheRoad(11), humanPresenceOnTheRoad(12), reserved for future usage(13), wrongWayDriving(14), rescueAndRecoveryWorkInProgress(15), reserved for future usage(16), adverseWeatherCondition-ExtremeWeatherCondition(17), adverseWeatherCondition-Visibility(18), adverseWeatherCondition-Precipitation(19), violence(20), reserved for future usage(21-25), slowVehicle(26), dangerousEndOfQueue(27), reserved for future usage(28-90), vehicleBreakdown(91), postCrash(92), humanProblem(93), stationaryVehicle(94), emergencyVehicleApproaching(95), hazardousLocation-DangerousCurve(96), collisionRisk(97), signalViolation(98), dangerousSituation(99), railwayLevelCrossing(100), reserved for future usage(101-255)",
"minimum": 0,
"maximum": 255
}
}
},
"traffic_rule": {
"type": "integer",
"description": "indicates whether vehicles are allowed to overtake a safety car that is originating this CAM: noPassing(0), noPassingForTrucks(1), passToRight(2), passToLeft(3)",
"minimum": 0,
"maximum": 3
},
"speed_limit": {
"type": "integer",
"description": "indicates whether a speed limit is applied to vehicles following the safety car. Unit: km/h",
"minimum": 1,
"maximum": 255
}
}
}
}
}
Expand Down

0 comments on commit 067aea0

Please sign in to comment.