Feb-23-2021, 05:04 PM
These types of things already exist. Google "vehicle speed governor".
This is something that would be best programmed into the firmware (FPGAs, etc.) in the car rather than an external python program reading data and then trying to control the car. It could be done but any insignificant bug could be fatal. Not to mention that even if such a system works, it would prevent the ability to accelerate out of danger which many fleet vehicle drivers complain about.
In any case, programming such a thing in any language isn't your main problem. Integrating the hardware into your vehicle is. I don't know but I suspect that making these kinds of mods to your private car may make it illegal to operate on public roads. They are mostly used on fleet vehicles and drivable equipment like fork-lifts and construction vehicles. They DO make models for parents with teenage drivers also so you might want to be safe and buy one rather than rolling your own.
If you want to look further into this start with the CAN Bus network that allows most modern vehicles to transfer data around their various electronics systems: https://www.csselectronics.com/screen/pa...anguage/en
You also might want to look for OBD scanners that you plug into the port in your car to read fault codes. Some of them can monitor a lot of performance info too.
Don't forget to check your local laws before you modify your car though.
This is something that would be best programmed into the firmware (FPGAs, etc.) in the car rather than an external python program reading data and then trying to control the car. It could be done but any insignificant bug could be fatal. Not to mention that even if such a system works, it would prevent the ability to accelerate out of danger which many fleet vehicle drivers complain about.
In any case, programming such a thing in any language isn't your main problem. Integrating the hardware into your vehicle is. I don't know but I suspect that making these kinds of mods to your private car may make it illegal to operate on public roads. They are mostly used on fleet vehicles and drivable equipment like fork-lifts and construction vehicles. They DO make models for parents with teenage drivers also so you might want to be safe and buy one rather than rolling your own.
If you want to look further into this start with the CAN Bus network that allows most modern vehicles to transfer data around their various electronics systems: https://www.csselectronics.com/screen/pa...anguage/en
You also might want to look for OBD scanners that you plug into the port in your car to read fault codes. Some of them can monitor a lot of performance info too.
Don't forget to check your local laws before you modify your car though.
