Tesla to upgrade Autopilot software.

Electric carmaker Tesla announced Sunday it was upgrading its Autopilot software to use more advanced radar technology.

In a teleconference, Tesla founder and CEO Elon Musk said the update, which should be downloadable in two weeks for models delivered after October 2014, “very likely” would have saved the life of a Florida driver who died in May after colliding with a truck.

With the latest update, the system would have identified a “large metal object across the road,” Musk said.

The Florida tragedy — the first deadly crash with a driverless system — took place after Autopilot failed to detect the truck due to poor weather and low luminosity.

The radar technology — which will now be used as a primary control sensor, rather than relying on the standard camera system — easily sees through fog, dust rain or snow.