4 ms·
try { enforceTopSpeed(getMaxSpeed(clear_road_ahead)); } catch (CatastrophicBrakeFailureException ex) { // ??? }
by mcbits 10y ago
try {
enforceTopSpeed(getMaxSpeed(clear_road_ahead));
}
catch (CatastrophicBrakeFailureException ex) {
// ???
}
- hawkice 10y agoThis is probably the perfect example of why I find these discussions massive wastes of time. If there is a catastrophic brake failure currently, with human drivers, it isn't seen as a deep philosophical issue. I have absolutely no clue why this changes because the car is operated differently.
- TillE 10y agoSudden brake failure on a properly maintained car is vanishingly unlikely. Having it occur the instant you need to slam the brakes for a life-or-death intervention will basically never happen. For the vast, vast majority of catastrophic failures, the basic procedure of pulling over and stopping the car will be absolutely fine.
- venomsnake 10y agoturnOffEngine(); The engine turned off can be used very effectively as a brake.
- sonthonax 10y agoShould an electric engine also literally be able to 'reverse the polarity' as well?
- mcbits 10y agoBetter catch EngineControlException. Oh, and TireShotBySniperException. Brake failure is just an example. There dozens of sensors and subsystems with innumerable combinations that can fail and put the vehicle in a state where some kind of collision is unavoidable. It will have to decide what to do. Humans end up calling randomPanic() at some point, so maybe that's what the vehicle should do to avoid accusations that it "intentionally" harmed one party or another.