{"id":100356,"date":"2018-06-20T20:50:08","date_gmt":"2018-06-20T20:50:08","guid":{"rendered":"http:\/\/sftarticles.wpenginepowered.com\/en\/?p=100356"},"modified":"2025-07-01T23:24:11","modified_gmt":"2025-07-02T06:24:11","slug":"how-do-driverless-cars-work","status":"publish","type":"post","link":"https:\/\/cms-articles.softonic.io\/en\/how-do-driverless-cars-work\/","title":{"rendered":"How do driverless cars work?"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Imagine you\u2019re a passenger in a driverless car. A group of children runs from between parked cars and into the road. The car has no time to brake. <\/span><\/p>\n<p><span style=\"font-weight: 400\">What should it do? <\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400\"> Brake anyway and hope the children aren\u2019t hurt, or<\/span><\/li>\n<li><span style=\"font-weight: 400\"> Swerve into the sidewalk, risking your life (or a pedestrian\u2019s) in the process?<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">If you agree with <\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Utilitarianism\"><span style=\"font-weight: 400\">utilitarianism<\/span><\/a><span style=\"font-weight: 400\">, a philosophy founded by Jeremy Bentham, the moral answer is sacrificing one person to save the group. A cynic, on the other hand, might argue that the practical answer depends on who\u2019s driving. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Driverless cars could make our roads safer than they are today. Computers don\u2019t get drunk or use drugs. They don\u2019t speed. They don\u2019t get tired. They don\u2019t joyride. But to avoid ethical dilemmas like the one above, they must be able to recognize and monitor their environment and respond quickly and accurately in emergency situations. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Driverless cars use a range of technology to safeguard themselves and others around them. First, they have <strong>cameras<\/strong> that help calculate distances and recognize objects such as other cars, people, and signs. <\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-100357 aligncenter\" src=\"https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2018\/04\/954px-Googles_Lexus_RX_450h_Self-Driving_Car.jpg\" alt=\"\" width=\"954\" height=\"768\" srcset=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2018\/04\/954px-Googles_Lexus_RX_450h_Self-Driving_Car.jpg 954w, https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2018\/04\/954px-Googles_Lexus_RX_450h_Self-Driving_Car-300x242.jpg 300w, https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2018\/04\/954px-Googles_Lexus_RX_450h_Self-Driving_Car-768x618.jpg 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Since it would take forever to program a driverless car with every conceivable driving scenario, drive computers use <strong>deep neural networks<\/strong>\u00a0to learn through practice. Using preloaded data on roads, vehicles, pedestrians, and so on, they learn to identify others in test and virtual drives. <\/span><\/p>\n<p><span style=\"font-weight: 400\">The cars also use <strong>sensors<\/strong> to build a detailed, dynamic representation of their environment. <strong>Lidar<\/strong>, an array of lasers that continuously spin through 360 degrees, builds up a real-time image. <strong>Radar<\/strong> measures the distance and velocity of nearby objects. These sensors feed into the driving computer, and together with camera data, give the car a thorough understanding of what&#8217;s going on around it.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Environmental data doesn&#8217;t give its location, however. <\/span><a href=\"https:\/\/spectrum.ieee.org\/tech-talk\/semiconductors\/design\/superaccurate-gps-chips-coming-to-smartphones-in-2018\"><span style=\"font-weight: 400\">Upgrades to the Global Positioning System<\/span><\/a><span style=\"font-weight: 400\"> (GPS) will make geolocation accurate to around 30cm, which is better than one to two meters currently, but not sufficient for a car to drive safely on the road. Therefore, as well as <strong>GPS<\/strong>, a driverless car uses <strong>triangulation algorithms<\/strong> (using road signs, traffic lights, and other landmarks) and <strong>high-definition maps<\/strong> to accurately pinpoint its location to within a few centimeters. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Finally, when the drive computer knows where the car is and what\u2019s around it, it can plan a route to the desired destination. When driving, the car responds to other objects, both moving and stationary, and modifies its behavior accordingly (such as slowing down at roundabouts, giving other vehicles way when obliged to, and so on). <\/span><\/p>\n<p><span style=\"font-weight: 400\">Ideally, the car\u2019s projected trajectory and its actual one should be identical, but as other objects can interfere, and precise maneuvering is difficult, they\u2019re sometimes a bit different. In real life, this happens all the time with human drivers, but engineers are shrinking the gap all the time.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Driverless cars are the future. By replacing human drivers with sensors, data, and machine learning code, we remove human error (behind the wheel, at least). This might not resolve every ethical dilemma, but if every vehicle on the road is a driverless one, it should make our roads much safer for everyone.\u00a0<\/span><\/p>\n<div class=\"sc-related-articles-grey\">\r\n<p class=\"sc-related-articles-grey__title\">Related Articles<\/p>\r\n  <div class=\"sc-related-articles-grey__row\">\r\n    <a title=\"Californians attack self-driving cars\" href=\"https:\/\/en.softonic.com\/articles\/techaways-the-week-best-bits-in-4-bites-4\">\r\n    <div class=\"sc-related-articles-grey__article\">\r\n      <div class=\"sc-related-articles-grey__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2018\/03\/TA.EN_.W11.V3.news1_.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-grey__text\">\r\n        <p>Californians attack self-driving cars<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n    <a title=\"Pizza Hut wants autonomous pizza vans\" href=\"https:\/\/en.softonic.com\/articles\/pizza-hut-want-to-take-us-back-to-the-future\">\r\n    <div class=\"sc-related-articles-grey__article sc-related-articles-grey__article--last\">\r\n      <div class=\"sc-related-articles-grey__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2018\/01\/pizza-hut-1024x576.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-grey__text\">\r\n        <p>Pizza Hut wants autonomous pizza vans<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n  <\/div>\r\n  <div class=\"sc-related-articles-grey__row\">\r\n    <a title=\"Connected Cars: the future\" href=\"https:\/\/en.softonic.com\/articles\/connected-cars-the-future\">\r\n    <div class=\"sc-related-articles-grey__article\">\r\n      <div class=\"sc-related-articles-grey__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2015\/06\/bosch-260logiQ.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-grey__text\">\r\n        <p>Connected Cars: the future<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n    <a title=\"How to Order an Uber from your PC\" href=\"https:\/\/en.softonic.com\/articles\/how-to-order-an-uber-from-your-pc\">\r\n    <div class=\"sc-related-articles-grey__article sc-related-articles-grey__article--last\">\r\n      <div class=\"sc-related-articles-grey__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2017\/09\/uber-1024x576.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-grey__text\">\r\n        <p>How to Order an Uber from your PC<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n  <\/div>\r\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine you\u2019re a passenger in a driverless car. A group of children runs from between parked cars and into the road. The car has no time to brake. What should it do? Brake anyway and hope the children aren\u2019t hurt, or Swerve into the sidewalk, risking your life (or a pedestrian\u2019s) in the process? If &hellip; <a href=\"https:\/\/cms-articles.softonic.io\/en\/how-do-driverless-cars-work\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How do driverless cars work?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":9103,"featured_media":102051,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wpcf-pageviews":0},"categories":[2441],"tags":[1032,1027,1041],"usertag":[],"vertical":[],"content-category":[],"class_list":["post-100356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-gadgets","tag-security","tag-travel"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/100356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/users\/9103"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/comments?post=100356"}],"version-history":[{"count":1,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/100356\/revisions"}],"predecessor-version":[{"id":327843,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/100356\/revisions\/327843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media\/102051"}],"wp:attachment":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media?parent=100356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/categories?post=100356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/tags?post=100356"},{"taxonomy":"usertag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/usertag?post=100356"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/vertical?post=100356"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/content-category?post=100356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}