Skip to content

Commit 570245d

Browse files
authored
Merge pull request #814 from populus-ai/replace-unknown-state
Replace unknown state
2 parents 87f8ec1 + ee57f13 commit 570245d

6 files changed

Lines changed: 102 additions & 88 deletions

File tree

modes/car-share.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ Valid car share vehicle states are
165165
- `reserved`
166166
- `on_trip`
167167
- `stopped`
168+
- `non_contactable`
168169
- `elsewhere`
169-
- `unknown`
170170

171171
See [Vehicle States][vehicle-states] for descriptions.
172172

@@ -217,29 +217,29 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
217217
| `available` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while available for-hire |
218218
| `available` | `non_operational` | N/A | `service_end` | The vehicle has went out of service (is unavailable for-hire) |
219219
| `available` | `reserved` | `reserved` | `reserve` | The vehicle was reserved by a passenger |
220-
| `available` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while available for-use |
220+
| `available` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while available for-use |
221221
| `elsewhere` | `available` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while available for-hire |
222222
| `elsewhere` | `non_operational` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while not operating commercially |
223223
| `elsewhere` | `on_trip` | `on_trip` | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while on a trip |
224224
| `elsewhere` | `reserved` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while reserved by a customer |
225-
| `elsewhere` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while outside of jurisdictional boundaries |
225+
| `elsewhere` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while outside of jurisdictional boundaries |
226226
| `non_operational` | `available` | N/A | `service_start` | The vehicle has went into service (is available for-hire) |
227227
| `non_operational` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while not operating commercially |
228228
| `non_operational` | `removed` | N/A | `decommissioned` | The vehicle has been removed from the Provider's fleet |
229229
| `non_operational` | `removed` | N/A | `maintenance_start` | The vehicle has entered the depot for maintenance |
230-
| `non_operational` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while not operating commercially |
230+
| `non_operational` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while not operating commercially |
231231
| `on_trip` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while on a trip |
232232
| `on_trip` | `stopped` | `stopped` | `trip_stop` | The vehicle has stopped while on a trip |
233-
| `on_trip` | `unknown` | N/A | `comms_lost` | The vehicle has gone out of comms while on a trip |
233+
| `on_trip` | `non_contactable` | N/A | `comms_lost` | The vehicle has gone out of comms while on a trip |
234234
| `removed` | `non_operational` | N/A | `maintenance_end` | The vehicle has left the depot |
235235
| `removed` | `non_operational` | N/A | `recommissioned` | The vehicle has been re-added to the Provider's fleet after being previously `decommissioned` |
236-
| `removed` | `unknown` | N/A | `comms_lost` | The vehicle has gone out of comms while removed |
236+
| `removed` | `non_contactable` | N/A | `comms_lost` | The vehicle has gone out of comms while removed |
237237
| `reserved` | `available` | N/A | `driver_cancellation` | The driver has canceled the reservation |
238238
| `reserved` | `available` | N/A | `passenger_cancellation` | The passenger has canceled the reservation |
239239
| `reserved` | `available` | N/A | `provider_cancellation` | The provider has canceled the reservation |
240240
| `reserved` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left the jurisdiction while in a reservation |
241241
| `reserved` | `stopped` | `stopped` | `reserve_stop` | The vehicle has stopped to pick up the passenger |
242-
| `reserved` | `unknown` | N/A | `comms_lost` | The vehicle went out of comms while being reserved by a passenger |
242+
| `reserved` | `non_contactable` | N/A | `comms_lost` | The vehicle went out of comms while being reserved by a passenger |
243243
| `stopped` | `available` | N/A | `driver_cancellation` | The driver has canceled the trip while either waiting for the passenger, or dropping them off |
244244
| `stopped` | `available` | N/A | `passenger_cancellation` | The passenger has canceled the trip while the vehicle is waiting to pick them up, or they are being dropped off |
245245
| `stopped` | `available` | N/A | `provider_cancellation` | The provider has canceled the trip while the vehicle is waiting for a passenger, or dropping them off |
@@ -252,14 +252,14 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
252252
| `stopped` | `stopped` | `stopped` | `fueling_end` | End fueling the device with physical fuel |
253253
| `stopped` | `stopped` | `stopped` | `remote_start` | Remotely start the engine while vehicle is stopped, usually to charge battery or warm up |
254254
| `stopped` | `stopped` | `stopped` | `remote_end` | Remotely stop the engine while vehicle is already stopped |
255-
| `stopped` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
256-
| `unknown` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
257-
| `unknown` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
258-
| `unknown` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
259-
| `unknown` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
260-
| `unknown` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
261-
| `unknown` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
262-
| `unknown` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
255+
| `stopped` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
256+
| `non_contactable` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
257+
| `non_contactable` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
258+
| `non_contactable` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
259+
| `non_contactable` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
260+
| `non_contactable` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
261+
| `non_contactable` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
262+
| `non_contactable` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
263263

264264
[Top][toc]
265265

0 commit comments

Comments
 (0)