{"id":14454,"date":"2020-02-17T18:58:43","date_gmt":"2020-02-17T13:28:43","guid":{"rendered":"https:\/\/cigniti.com\/blog\/?p=14454"},"modified":"2020-02-17T18:58:43","modified_gmt":"2020-02-17T13:28:43","slug":"software-testing-for-autonomous-vehicles","status":"publish","type":"post","link":"https:\/\/www.cigniti.com\/blog\/software-testing-for-autonomous-vehicles\/","title":{"rendered":"Why software testing is the real driver of the autonomous cars"},"content":{"rendered":"

In the early 1800s,\u00a0<\/span>the human race witnessed an astonishing new invention on the roads around them. The invention was then called horseless carriages, which we now call cars. \u201cHorseless carriages\u201d was a transitional term given to the cars while we got adjusted to the fact that we will not need animals to pull our wagons anymore. In the present day, we are experiencing another transition, which we have termed as \u201cdriverless cars\u201d.<\/span>\u00a0<\/span>\u00a0<\/span><\/p>\n

Two centuries ago, we did away with the need\u00a0<\/span>for<\/span>\u00a0four-legged animals for driving us. Today, we are eliminating the necessity of human drivers, thereby, completely relying on the advanced technologies and smart systems for\u00a0<\/span>a\u00a0<\/span>safe commute.<\/span>\u00a0<\/span>Autonomous driving tech<\/span>n<\/span>ology is being tested by several industry giants<\/span>\u00a0including Google, Tesla, and Uber.\u00a0<\/span>\u00a0<\/span><\/p>\n

Elon Musk, CEO at Tesla, expects to put a million self-driving\u00a0Teslas\u00a0on the road by the end of this year.<\/span>\u00a0In fact, several carmakers and technology companies in the Silicon Valley envisioned 2019 to be an age of driverless cars with thousands of self-driving taxis on the road. There were high expectations and crazy anticipation, but the two fatal accidents involving autonomous vehicles last year became an eye-opener.\u00a0<\/span>\u00a0<\/span><\/p>\n

A\u00a0<\/span>Statista<\/span><\/a>\u00a0survey revealed that about 27% of the U.S. adults consider autonomous vehicles to be \u2018very unsafe\u2019 and 33% of the\u00a0surveyees\u00a0think of them to be \u2018somewhat unsafe\u2019. Only 8% of them think that autonomous vehicles are very safe. This data paints a concerning yet clear picture of where do we stand as a society in terms of acceptance of these autonomous cars. Had there not be<\/span>en<\/span>\u00a0such tragic incidents involving the autonomous vehicles, we might be more open to the concept of being driven by software rather than a human being.<\/span>\u00a0<\/span><\/p>\n

Sam\u00a0Abuelsamid, an analyst at Navigant Research, said, \u201c<\/span>There was this incredible optimism<\/span>.<\/span>\u00a0<\/span>Companies thought this was a very straightforward problem. You just throw in some sensors and artificial intelligence, and it would be easy to do.\u201d<\/span>\u00a0<\/span>In reality, the main challenge lies in building up a trustworthy software that can drive these sensors and AI technologies, collate the data<\/span>,<\/span>\u00a0and make quick decisions in real<\/span>–<\/span>time for self-driving cars to become a reality.<\/span>\u00a0<\/span><\/p>\n

Technology on wheels and behind them<\/span><\/b>\u00a0<\/span><\/p>\n

Self-driving cars are purely technology-driven and do not require manual intervention for working successfully. That is the ideal situation, anyway<\/span>. These cars should be aware of their surroundings like manual drivers are. They need to know when to stop, when to go, and when to give way to other vehicles.\u00a0<\/span>They cannot be too slow or too fast, which means they need to maintain the pace similar to the other moving bodies on the road. The autonomous vehicles are required to make decisions in real-time and implement them effectively. All in all, the self-driving cars have to mimic a professional human driver in the entirety. To do all of this, these vehicles utilize a range of technologies which can be broadly categorized into LIDAR, Radar, and cameras. Let\u2019s take an example of the technologies that power the\u00a0<\/span>Google self-driving car<\/span><\/a>\u00a0to gain a better understanding:<\/span>\u00a0<\/span><\/p>\n

    \n
  1. Laser\u00a0<\/span><\/b>range fi<\/span><\/b>nder:<\/span><\/b>\u00a0LIDAR, a roof-top mounted rotating camera on top of the Google car is a laser range finder. This\u00a0<\/span>camera creates 3D images of the surrounding objects with the help of laser beams.<\/span>\u00a0<\/span><\/li>\n
  2. Front camera for near<\/span><\/b>\u00a0<\/span>vision:\u00a0<\/span><\/b>The front camera mounted on the windshield allows the car to \u2018see\u2019 the objects right in the front, including pedestrians and motorists. It also helps the car detect and record information about road signs and traffic lights to be interpreted by the internal software for making decisions.<\/span>\u00a0<\/span><\/li>\n
  3. Bumper mounted radar:<\/span><\/b>\u00a0<\/span>The four radars mounted on the car\u2019s front and rear bumpers are programmed to help it maintain a distance of at least 2-4 seconds from the other vehicles.<\/span>\u00a0<\/span><\/li>\n
  4. Aerial that reads precise geo<\/span><\/b>-location:<\/span><\/b>\u00a0<\/span>The car has a GPS inertial navigation unit that works with the Aerial sensors at the rear of the car to identify its location. The GPS data collected from the satellites is compared with the sensor data collected previously from the same location to\u00a0<\/span>minimize<\/span>\u00a0the degrees of uncertainty regarding the actual position.<\/span>\u00a0<\/span><\/li>\n
  5. Ultrasonic sensors on rear wheels:<\/span><\/b>\u00a0These sensors help the car\u00a0<\/span>identify the obstacles on the rear side while keeping a track on the car\u2019s movement.<\/span>\u00a0<\/span><\/li>\n
  6. Devices within the car:<\/span><\/b>\u00a0Altimeters, gyroscopes, and tachymeters measure several parameters to determine the accurate position of the car and enable the car to operate safely.<\/span>\u00a0<\/span><\/li>\n
  7. Synergistic combining of sensors:<\/span><\/b>\u00a0All the data collected by the sensors have to be combined and interpreted accurately for safe driving. This is performed by the internal software system of such cars.<\/span>\u00a0<\/span><\/li>\n<\/ol>\n

    The magic is in the interpretation<\/span><\/b>\u00a0<\/span><\/p>\n

    An autonomous car might have all the sophisticated technologies integrated within. It might have all the data that it needs to map the distance from the obstacles and the pedestrians. But what if it misinterprets the available information? What if the software, whose responsibility is to combine the available\u00a0<\/span>information and offer accurate interpretations for making real-time decisions, is faulty? We have already seen the result of the \u2018what ifs\u2019 in the form of two fatal accidents last year.\u00a0<\/span>\u00a0<\/span><\/p>\n

    The operability of the self-driving cars does not limit to safety only. It also concerns a seamless flow of traffic. The haphazard, non-intuitive movements of a self-driving car might disrupt the everyday traffic.\u00a0<\/span>In essence, self-driving cars should be both safe and practical. It will all depend on how the software in the car perceives the information and interprets the available data. And the ability of this perception and interpretation depends on how well the software is tested.\u00a0<\/span>\u00a0<\/span><\/p>\n

    At\u00a0Cigniti, we\u00a0<\/span>offer holistic software testing, quality engineering, and test automation solutions. Having worked with several global fortune companies, we have rich experience and deep expertise in resolving complex testing challenges.\u00a0<\/span>Connect with us<\/span><\/a>\u00a0and get your software-related issues resolved by our experts.<\/span>\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

    In the early 1800s,\u00a0the human race witnessed an astonishing new invention on the roads around them. The invention was then called horseless carriages, which we now call cars. \u201cHorseless carriages\u201d was a transitional term given to the cars while we got adjusted to the fact that we will not need animals to pull our wagons […]<\/p>\n","protected":false},"author":20,"featured_media":14455,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[2805],"tags":[2537,3013,3012,3010,3011,1589,3014,701,3015],"ppma_author":[3727],"class_list":["post-14454","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-travel-hospitality","tag-automated-testing-services","tag-autonomous-vehicle-solutions","tag-software-testing-for-autonomous-cars","tag-software-testing-for-autonomous-vehicles","tag-software-testing-for-self-driving-cars","tag-software-testing-solutions","tag-test-automation-for-automotive","tag-test-automation-services","tag-testing-solutions-for-vehicle-systems"],"authors":[{"term_id":3727,"user_id":20,"is_guest":0,"slug":"cigniti","display_name":"Cigniti Technologies","avatar_url":{"url":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png","url2x":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png"},"user_url":"https:\/\/www.cigniti.com\/","last_name":"Technologies","first_name":"Cigniti","job_title":"","description":"Cigniti is the world\u2019s leading AI & IP-led Digital Assurance and Digital Engineering services company with offices in India, the USA, Canada, the UK, the UAE, Australia, South Africa, the Czech Republic, and Singapore. We help companies accelerate their digital transformation journey across various stages of digital adoption and help them achieve market leadership."}],"_links":{"self":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/14454"}],"collection":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/comments?post=14454"}],"version-history":[{"count":0,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/14454\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media\/14455"}],"wp:attachment":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media?parent=14454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/categories?post=14454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/tags?post=14454"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=14454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}

    Software testing for autonomous vehicles is\u00a0<\/span>the only sane way of evaluating them on the safety and practical<\/span>ity<\/span>\u00a0parameters.\u00a0<\/span>Testing autonomous vehicle systems<\/span><\/a>\u00a0bestows a degree of trust and certainty regarding the capabilities of the self-driving car. It analyzes and assures that all the systems involved in the decision-making process are working in complete tandem with one another without any anomal<\/span>ies<\/span>.\u00a0<\/span>Pre-emptive software testing for self-driving cars identifies any bugs present in the software before the car gets on the road.\u00a0<\/span>As all the sensors, radars, and cameras depend on super-fast connectivity,\u00a0<\/span>IoT testing<\/span><\/a>\u00a0of these units also become essential for assessing if all the necessary information is communicated smoothly or not.\u00a0<\/span>Testing the AI systems<\/span><\/a>\u00a0in the autonomous vehicles ensures that the data fed to the system is understood properly and the predictions offered are viable and accurate.<\/span>\u00a0This i<\/span>s why not the software, but software testing is the real driver of the driverless cars.<\/span>\u00a0<\/span><\/p>\n