This work is licensed under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
1. Introduction
Cars remain the main method of transportation both globally and in the Kingdom of Saudi Arabia (KSA). However, traffic safety statistics show that more efforts are required to improve car safety. According to a World Health Organization (WHO) report, the yearly fatality rate per 100,000 people caused by traffic accidents in the KSA has increased from 17.4 to 27.4 since the last decade [1, 2]. Such a rate puts KSA the worst among the G20 countries in terms of deaths resulted from traffic accidents [3]. Such accidents also cost the kingdom around 5.6 billion dollars (4.3% of its Gross Domestic Product (GDP)) annually [4]. To reduce such a shocking rate of accidents, it is important to focus on the driver aspects because human error is the main cause of road traffic accidents (over 90%), according to the U.S. National Highway Traffic Safety Administration [5] and the European Union [6]. In KSA, also driver behavior such as speeding, driver distractions, noncompliance to traffic rules, and sudden lane change is the main cause of traffic accidents according to different studies [7–9].
To improve safety, there have been many recent advancements in traffic violation detection technologies and stricter punishments in KSA to decrease such dangerous driving behaviors [10]. However, it is important to implement proactive measures that improve driver control. Hence, self-driving cars can also improve traffic safety in the kingdom since many existing self-driving technologies show significant safety benefits. For example, in lane-keeping, an essential task in driving, technologies such as lane centering has already demonstrated success in reducing traffic crash fatalities and injuries in both left- and right-side driving in different parts of the world [11–13]. In addition, many studies have shown that automatic braking (i.e., adaptive cruise control (ACC)) is very effective in reducing collisions [14–16]. Due to these benefits, many studies have estimated that market demand for self-driving cars will grow by 63.1% between 2021 and 2030 [17] and that market value will reach 60 million USD by 2024 [18].
However, self-driving cars can also cause fatalities if not implemented correctly and tested thoroughly. For example, in 2018, a self-driving Uber car hit and killed a woman because it failed to recognize jaywalking pedestrians [19]. A Tesla driver was also killed in 2018 in a deadly car crash because the Tesla’s Autopilot system failed to detect a side concrete lane divider and slammed into it [20]. Infrastructure should be also prepared for self-driving cars. This is especially important for solutions like Waymo, an autonomous driving technology development company that focuses on certain selected premapped areas in the United States. Thus, there is a need to investigate the reliability of such systems in different conditions. In this paper, I analyze Comma.ai Openpilot (OP), a self-driving technology available in KSA, to examine the reliability and compatibility of such technologies with Saudi infrastructure. I also provide an extensive dataset of real drives in KSA. This can help automakers and developers improve self-driving algorithms by overcoming these algorithms’ existing limitations and addressing the KSA infrastructure challenges. It can also help governments understand the current limitations of such technologies so that they can regulate them and enhance infrastructures to prepare for the mass adoption of self-driving cars.
2. Related Work
Self-driving technologies require thorough reliability and security analysis to ensure the safety of passengers. With the increased reliance on machine learning (ML) algorithms for self-driving systems such as OP, new attacks are emerging to exploit such systems. For example, a real-world DNN-based attack on LKASes was explained in [21]. Hence, many efforts were made to improve the reliability and security of complex self-driving systems. For instance, testing system resiliency is a fault injection framework based on system-theoretic process analysis [22]. In this framework, the system is tested under different identified hazardous scenarios created by a strategic software fault injection. In addition, TensorFI is an injection tool for hardware and software faults in TensorFlow programs. TensorFI evaluates the resilience of 12 ML programs, including DNNs used in the autonomous vehicle domain [23]. Moreover, Moss et al. developed an open-source framework to learn the underlying probability distributions of the noise disturbances from driving data in low and high-fidelity simulators [24]. This work extends a reinforcement learning approach known as adaptive stress testing to be more data efficient in detecting probable failures in simulations.
Security of such systems must also be investigated, and many efforts have been made in this area. Moukahal and Zulkernine presented security vulnerability metrics for connected cars [25]. Vulnerability assessments help software testers identify which components need to be prioritized to reduce risk and thereby secure the car. The proposed metrics were applied to OP to show how to measure the car’s software. Another approach was also taken by Moukahal et al. in Vulnerability-oriented fuzz (VulFuzz) testing to direct and prioritize the fuzz testing toward the most vulnerable components in connected cars [26]. To increase test performance and avoid dropped test cases, they used an input structure-aware mutation technique to bypass car software systems’ input formats. Furthermore, Chen et al. proposed a learning framework to detect novel scenarios (due to adversarial attacks, for example) in a task-aware manner [27]. They use network saliency to provide the learning architecture with information of the input areas that are relevant to the decision-making and learn an association between the saliency map and the predicted output to detect the novelty of the input. Jiang et al. also proposed an Intrusion Detection System (IDS), named Road context-aware IDS (RAIDS) that validates corresponding frames observed on the in-car network and detects anomalous frames that substantially deviate from road context. This IDS can protect the self-driving systems from out-of-context road pictures that can be inserted maliciously into the vision model to cause inaccurate driving decisions accordingly. In addition, Dasgupta et al. proposed a Global Navigation Satellite System (GNSS) spoofing attack detection method using the long short-term memory (LSTM) model [28]. The recurrent neural network model LSTM is used to predict the distance traveled between two consecutive locations of an autonomous car.
OP in particular has previously been assessed in terms of the probability of accidents under a base distribution governing standard traffic behavior [29]. In that study, the authors performed their experiments in a black-box simulation to quantify system risk resulting from failure to make correct decisions in normal conditions, such as direct sunlight. Researchers have also examined the security of the system. Moreover, Liang et al. provided a quantitative analysis of adversarial attack impact (leveraging road patches) on system planning and control [30]. They considered an end-to-end approach that addresses adversarial attacks that focus on the entire advanced driver assistance system (ADAS) or autonomous driving pipeline, from sensing and perception to planning, navigation, and control.
Datasets used on most works that examine OP relied on an available dataset produced by Comma.ai called Comma2k19. This dataset includes 33 hours of driving in California, US in 2019 [31]. It was collected using EONs (i.e., the first generation of Comma devices) that have sensors similar to those of any modern smartphone, including a road-facing camera, phone GPS, thermometers, and 9-axis IMU. In addition, the EON captures raw GNSS measurements and all CAN data sent by the car. This dataset can be used to train vision models or self-driving algorithms. However, it cannot be used to study KSA roads due to the differences in infrastructure and driving behavior. It also does not include a wide view of the roads, which can be useful in applications such as recognizing road signs.
Therefore, the aforementioned works cannot be used to analyze OP, especially in the context of KSA due to the following reasons:
(i) Used driving datasets are not from KSA or similar region(s)
(ii) Focus is only on the ML-based vision models without considering other factors like connectivity issues or surrounding environmental factors
(iii) They are based on older versions of OP and do not cover new versions like vision model V2, driver attention model, and so on [32]
(iv) They use simulations that do not reflect real environments, especially unique aspects of the Saudi environment (e.g., hot and sunny weather, roads without lanes, and atypical traffic behavior)
Hence, this paper provides a reliability and security analysis of the latest version of OP using two different hardware in two different cars. Moreover, the datasets used in the analysis are collected from KSA based on real drives in different areas of KSA. The importance of this work is that it does not only focus on the evaluating vision model through simulators but also covers different aspects such as data security, environmental conditions like sunlight and temperature. Another key contribution of this work is that it provides a dataset of real unique drives. This will help developers to better design and tune vision models in self-driving technologies to improve their effectiveness in KSA.
3. Background
Self-driving cars, also known as driverless cars, autonomous vehicles, or robo-cars, are cars that are capable of sensing their environments and moving safely with little or no human intervention. This paper focuses on passenger self-driving car solutions, which are classified into six levels based on the extent of their driving automation (i.e., the amount of human intervention required) [33]. As shown in Table 1, the Society of Automotive Engineers (SAEs) classifies driving automation into six levels ranging from 0 (fully manual) to 5 (fully autonomous). The SAE levels have been widely adopted in many regions, including the United States [39] and Europe [40]. Table 1 describes each level and provides some examples [41].
Table 1
Comparison of driving automation levels [34].
| Level | Description | Example | Lateral and longitudinal control | Driving environment monitoring | Fallback performance | Driver attention and control |
| Level 0: no driving automation | The driver controls the car from the start through the end of the trip. Limited driver assistance features, such as warnings for lane departure and speed limit, may be included in cars at this level. | Most cars since safety features that are not standard in most cars sold. | Constant attention and control | |||
| Level 1: driver assistance | Cars must have at least one ADAS feature, such as ACC or blind-spot monitoring. A human still controls driving from the start through the end of the trip, but for convenience, the car can maintain its speed in specific situations. Lane-keeping technologies also fall into this category. | Cars at this level are becoming increasingly common as Chinese-manufactured cars, which offer more features at competitive prices, have entered the market [35] | ||||
| Level 2: partial automation | Car has at least two ADAS features that must be applied in a coordinated fashion to control the car’s acceleration, steering, or braking at certain times. However, a human driver must still actively monitor the car and be ready to intervene at any time. Examples of qualifying systems at this level include ACC, active lane-keep assist, and automatic emergency braking. | General Motors Super Cruise, Mercedes-Benz Distronic Plus, Nissan ProPilot Assist. Moreover, Comma.ai’s OP [36] is an after-market solution that is described in detail in the next section. | Constant attention and temporary control | |||
| Level 3: conditional automation | The driver is not responsible for driving the car when the specified automated driving features are engaged (i.e., the car can assume full control and operation during select parts of a journey when certain operating conditions are met) but the driver must reassume responsibility for driving when the features request it (e.g., the car is unable to safely make decisions). For instance, a car that can manage itself on a highway trip, excluding city driving and exits, can be classified as Level 3. This level of automation usually requires advanced sensors, hardware backups, and software to keep passengers safe. | Currently, there are no cars at this level, but many car manufacturers (e.g., Tesla) are developing cars that have such features. OP also has the potential to support Level 3 automation in the future. | Temporary attention and control | |||
| Level 4: high automation | Car does not require driver intervention (or the car can even operate entirely without a driver) when the automated driving features are engaged and the driver is not expected to take over driving when the automated driving features are in use. However, at this level, the automated driving features can only operate with some constraints and will not engage unless certain conditions are met. These constraints may include restrictions to a specific geographical location (i.e., geofencing) or restrictions to certain speeds. A Level 4 car will likely still include driver controls such as a steering wheel and gas and brake pedals for instances in which a human may be required to assume control. | Currently, no Level 4 production cars are available to consumers, although some car makers (e.g., Honda) have announced plans to create products with Level 4 features in the near future [37]. There are also some local Waymo driverless taxis currently operating in specific areas of the United States [38]. | No attention and control necessary | |||
| Level 5: full automation | The driver is not responsible for driving the car and is not expected to take over driving when the automated driving features are engaged (i.e., the car is 100% percent driverless). The automated driving features can be used in all conditions and in all locations without geographical, weather, or speed limitations due to the car’s advanced car-to-car and car-to-environment sensing, communications, and analysis. | Despite many plans and initiatives by car manufacturers like General Motors, there are yet no available real examples or demos of Level 5 cars. | No attention and control required | |||
4. Comma.ai Openpilot
Openpilot (OP) is a Level 2 open source self-driving solution developed by Comma.ai, a company founded by George Hotz, a security hacker known for developing the early iOS and PlayStation 3 privilege escalation exploits [42]. It is compliant with the industry standard MISRA C, which includes software development guidelines for the C programming language developed by the Motor Industry Software Reliability Association (MISRA) that aim to facilitate code safety, security, portability, and reliability in the context of embedded systems. As shown in Table 2 according to Consumer Reports, OP is currently the most advanced ADAS of the many available systems [43]. OP supports a growing list of cars equipped with necessary sensors and integrates with cars’ stock sensors to enhance the stock lateral and longitudinal control. More specifically, OP improves the automated lane keep assist system (LKAS), which uses the camera(s) mounted on the windshield. In addition to the car sensors, OP also uses its AI-based vision model to provide accurate lateral control. OP also uses some additional sensors from systems such as blind-spot monitoring for safe automatic lane changing [44]. For longitudinal control, OP requires car sensors from systems like ACC and forward collision warning to provide additional and more accurate functionalities.
Table 2
Consumer reports top 5 ADASs [43].
| System | Score | Capability and performance | Keeping driver engaged | Easy of use | Clear when safe to use | Unresponsive driver |
| Comma.ai Comma Two | 78 | 8 | 9 | 8 | 6 | 8 |
| Cadillac Super Cruise | 69 | 8 | 7 | 3 | 8 | 9 |
| Tesla Autopilot | 57 | 9 | 3 | 7 | 2 | 6 |
| Ford/Lincoln Co-pilot 360 | 52 | 8 | 4 | 3 | 4 | 5 |
| Audi Driver Assistance Plus | 48 | 8 | 3 | 3 | 2 | 6 |
OP works by intercepting and modifying (i.e., man-in-the-middle) the commands sent from the LKAS camera or ACC sensors inside hidden Controller Area Network (CAN) buses in the car network. Hence, OP’s commands should match the original commands issued by cars to avoid any technical errors. Most modern cars use several CAN buses to allow the various modules of the car to communicate with one another. One CAN bus is exposed to the OBD2 port, which is often located under the steering wheel. OP originally used a neural network in the vision model to detect the lanes captured by the camera(s) and issue steering commands accordingly, although as of version 0.8, OP does not use ML for longitudinal control [45], instead relying only on the stock system commands. To ensure compatibility with every supported car, the commands issued by OP regenerate the original commands issued by the car, with some minor changes to masquerade as though they were issued from the car stock systems. Despite some efforts by developers, OP currently does not yet fully support the FlexRay networks found in European brands such as Audi, BMW, and Mercedes [46].
OP can only be installed on hardware purchased from Comma.ai that is then installed in supported cars. The updated full list of supported cars can be found on the system’s page [47]. As of December 2021, Comma.ai sells two types of devices: the Comma Three and the Comma Two, which cost, with a car harness, $2,199 [48] and $1,099 [49], respectively. There are other cheaper unofficial hardware made by the community members, such as [50], which are outside the scope of this paper. The official kit includes the following items, which are connected inside the car as shown on the setup page [51]:
(i) Comma Device (Three or Two). This device is an Android-based (Two) or Linux-based (Three) phone enclosed in a case that includes fans and infrared cameras that monitor the driver’s attention, even at night. Compared with Comma Two, Comma Three has an additional front wide-angle camera for detecting cars on side lines. Both devices are designed to always be placed on the windshield because they have auto-shutoff to protect the car battery and can tolerate high heat from the sun since they do not have batteries. These devices are the brain of OP, as they are responsible for real-time capturing, analyzing, and issuing of commands that control the car as well as monitoring the driver’s attention.
(ii) Car-Specific Harness Adapter. This is a universal interface to the car to connect the Comma device to the car. It is designed to be almost invisible in the car. The car harness includes:
(i) Harness Connector. This car-specific T-harness connects the car stock LKAS camera(s) to the harness box in order to intercept the messages coming from the LKAS camera(s).
(ii) Comma Power v2: this uses the car’s OBD-II port to power the harness box (which also powers the Comma device) and provides ECU fingerprinting capabilities to identify every car.
(iii) Harness Box: this connects with the Comma device (using a USB-C cable), harness connector, and Comma Power v2 (using an RJ45 cable) in order to connect them all so the Comma device can read the LKAS messages and send steering commands. It also provides automatic switching to stock in situations where the Comma device is not working.
Compared with other systems, as shown in Table 3, OP is better with regard to some characteristics (highlighted in green) and falls short in terms of others (highlighted in red). Note that, Tesla cars are currently not available in KSA, but Tesla Autopilot was added to the comparison because it is currently one of the top self-driving systems and the most widely used system, with over two billion miles driven [52]. A unique feature of OP is that it can be installed for only $1,199 to $2,199 on a wide range of affordable supported cars. This provides flexibility because consumers can use the self-driving capability without being restricted to certain brands, styles, or budgets. Moreover, since it is open source, people can contribute by improving the system or porting unsupported cars. In fact, most of OP’s supported cars were added to the system by people who analyzed their cars and altered OP to work with them. Moreover, since OP is based on AI technologies such as deep learning and neural networks, it can make accurate decisions on previously unseen roads, and the more it is used, the more accurate it becomes when making decisions. This makes OP’s lane centering much better than that of stock systems, which tend to zigzag aggressively (and only after crossing the side lanes), as shown in Figure 1. Even though OP is better than most stock self-driving systems, it is also continuously improving due to over-the-air updates, which can occur anytime and anywhere because the system is always connected to the Internet through Wi-Fi or cellular networks. Another unique feature of OP is that it actively tracks the driver’s attention (day and night) using infrared cameras, rather than requiring drivers to periodically put their hands on the wheel. OP also supports dashcam functionality, and mapped recordings of drives are stored for up to one week for free in a web portal called Cabana, which also includes logs of all drive data recorded by car sensors. Drives are uploaded using Wi-Fi or over cellular networks.
Table 3
Comparison of top self-driving systems.
| Feature | Comma.ai OP | Tesla Autopilot | Cadillac Super Cruise |
| Price | $1,099–2,199 | $10,000 | $2,500 |
| Miles driven | Over 40 million | Over 2 billion | Over 7 million |
| Car estimated price | Varies | Starts at $35,000 | Starts at $35,000 |
| License | Open source | Proprietary | Proprietary |
| AI-based | Yes | Yes | No |
| Can work on unknown (unmapped) roads | Yes | Yes | No |
| Over-the-air updates | Yes | Yes | Yes |
| Internet-connected | Yes | Yes | Yes |
| Driver attention monitoring | Yes | By touching the wheel | Yes |
| Dashcam functionality | Yes | Yes | No |
| Automatic lane changing | Yes | Yes | Yes |
| Cut-in detection | Yes | Yes | No |
| Lead car following | Yes | Yes | Yes |
| Lane-keep accuracy (including roads without lanes) | High | High | High |
| Ease of use | No | Yes | Yes |
| Ease of installation | No | Yes | Yes |
| Number of features | Few | High | High |
[figure(s) omitted; refer to PDF]
Other features that OP has in common with other ADASs include automatic lane changing, cut-in detection, lead car following, LKAS, and ACC. However, the accuracy of these features in OP depends on the car, as some manufacturers place restrictions on the torque (i.e., steering angle) and minimum speeds allowed for the self-driving systems to engage. For example, Toyota cars are known to have high torque, which OP can exploit to take sharp curves, whereas Mazda cars have limited torque and lateral control and can only function above 45 km/h. Nevertheless, as shown in Figure 1 and Tables 2-3, OP generally remains the best ADAS.
Despite these positive features of OP, the system also has some drawbacks. First, it supports only limited self-driving functionalities (i.e., LKAS, automatic lane changing, and ACC) and is missing certain features that exist in other systems, such as pedestrian detection, automatic parking, and traffic sign recognition, among others. In addition, installing and maintaining OP can be challenging for users who are not tech-savvy, as these processes require running some wires and computer commands. Moreover, some car dealerships can void the car warranty if they notice that OP is installed because they believe it can cause some electrical issues. Hence, having OP installed can be inconvenient for users who prefer to perform regular maintenance at dealerships. Other issues that exist in all ADASs include the inability to make decisions as a human would in severe weather conditions (e.g., snow and heavy rain) because they rely on image recognition to read lanes, which can be difficult in harsh weather. Finally, since Comma devices are mounted on the windshield, they can increase vulnerability to car break-ins in some areas.
5. Analysis of Comma.ai’s Openpilot
This section provides a detailed analysis of OP using data gathered from real drives in KSA of a car equipped with the system. In this analysis, I used data representing approximately 13,000 km over 550 drives on different roads in KSA (mainly in the province of Makkah) using four different cars, hardware, and versions of OP. These data are used in the following subsections to analyze the system’s reliability, security, and safety, as well as the readiness of KSA roads for such systems.
5.1. Security and Safety
Maintaining the security of OP is important in ensuring that the system does not pose any safety risk when controlling the car. Hence, OP can be accessed only through Secure Shell, generally considered a secure method for remote connections to manage the device. Other exploits available via physical access to the device itself do not pose any risk because the driver is considered a trusted user of the system. Nevertheless, if an intruder were to access the system through a means such as a steering torque interceptor (TI), which is a man-in-the-middle device that can increase the steering limit in the car EPS [53], Comma.ai will ban the account using interceptors from their servers. This is because Comma.ai believes that such devices change the parameters set by manufacturers after extensive testing by a large number of experienced Automotive Safety Integrity Level D (ASIL-D) hardware and software engineers, which cannot be guaranteed in after-market interceptors [54]. Any mistakes related to safety here can result in a car that the driver cannot physically steer. Therefore, Comma.ai does not allow such devices to avoid bad publicity. However, it is still possible to use such interceptors with custom forks but without OP’s online features.
OP also implements a safety model that consists of the following three rules [55]:
(1) The driver must always be paying attention. This is enforced by the very effective driver monitoring system, which ensures that drivers are always paying attention and that their eyes are on the road; otherwise, the system will disengage and cannot be used again without restarting the car.
(2) The driver must always be capable of immediately retaking manual control of the car. This is enforced by the safety code, which has a state variable controls-allowed that determines whether control messages can be sent on the CAN bus. The controls-allowed state can be entered by turning on cruise control and canceled by canceling cruise control. Pressing the brake always immediately cancels the controls-allowed state. In stock OP, the gas pedal will always cancel the controls-allowed state as well, though there are custom forks that do not cancel the controls-allowed state on gas pressing in order to match the car ADAS behavior.
(3) The car must not alter its trajectory so quickly that the driver cannot safely react. This is enforced by relying on the safety model implemented on car stock ADASs. Thus, only CAN messages designed for the car’s stock ADAS are allowed, and an extra layer of safety is implemented to limit how these messages can be used.
5.2. Privacy
OP’s privacy policy does not comply with any privacy standards. The privacy policy presented on Comma.ai’s website indicates that Comma.ai owns all data collected by OP [56]. These data include personal information such as name, phone number, and e-mail address, as well as other information provided by the user. Comma.ai also owns data collected from the car’s CAN bus network, such as car use, operation, and performance, including but not limited to the geolocation of the car, trip durations and routes, parking locations of the car, braking, and acceleration. Comma.ai also owns the driver monitoring recordings captured by the front camera, such as recordings of faces and eyes. However, the user has the option to disable saving front camera recordings in OP’s settings. Although Comma.ai devices have microphone(s), they are not currently utilized. The data collected from the OP are used to provide, analyze, and improve OP’s performance and security, to improve or modify other existing products and services, and to develop new products and services. Comma.ai may share personal information with service providers and business partners or with other third parties. The collected information can be also provided in response to lawful requests by government agencies. Email addresses can be also used to send advertisements and notifications, which can be stopped by unsubscribing from the mailing list.
5.3. Reliability
Ensuring the reliability of self-driving systems is important to guarantee that they drive as safely as humans. To evaluate that, several tests were carried out using two different cars and two different Comma devices to ensure comprehensive analysis, as follows.
5.3.1. Test1: Comma Two
In this test, I used the 2020 Mazda CX-9 (not officially supported by Comma.ai) and Comma two devkit. As shown in Table 4, out of 500 drives in my testing, the system was not able to engage (i.e., cannot be turned on or not ready to run) in 25 (5%) due to network issues. This could be related to bugs in the software update (e.g., some cars’ fingerprints were replaced, which caused conflicts with other cars) or wiring issues. In some cases, the device cannot start working after the car was parked for a long time. However, in most cases, flashing or restarting the system was able to solve the issue. The remaining valid 475 drives were categorized into different groups based on the time of the day: daytime (298 drives) or night (86 drives). This categorization is important in accurately determining the reliability of OP’s vision model in recognizing the traffic environment at different brightness and glare levels. Drives in twilight periods were excluded from these datasets because they did not have much of an effect on the vision model decisions. In every category, I randomly took 20% (a widely recommended sample size [57]) of the recorded drives to analyze them in more detail. None of the recorded drives is longer than approximately 2 hours. This is due to the Comma Two limited storage, which made it impossible to obtain and analyze the logs of the drives.
Table 4
Data used in Test 1.
| Dataset | Number of drives | Distance of drives | Number of recorded drives | Distance of recorded drives | Sample size (20%) of recorded drives |
| Total | 500 | 8,739.82 km (5,430.93 miles) | 50 | 771.67 km (479.51 miles) | N/A |
| Failure to engage | 25 | N/A | 0 | N/A | 0 |
| Daytime | 298 | 4,790.38 km (2,976.74 miles) | 31 | 398.62 km (247.7 miles) | 6 (named T1D1–T1D6) |
| Night | 86 | 2,201.43 km (1,367.97 miles) | 10 | 185.09 km (115.01 miles) | 2 (named T1N1–T1N2) |
Of the time series variables recorded by OP in the drive logs (approximately 3,779), which can be found in [58], I focused my analysis on only the most important variables that affect the reliability of the system and consequently pose safety risks if the driver is not paying attention. The descriptions of the variables used are shown in Table 5. The variable column shows the full path of the variable in the time series list. The source indicates whether this variable is recorded by OP or was read from the car stock system. The recorded variables were plotted using Plotjuggler, a plotting tool customized by Comma.ai to plot OP logs. The plots of the variables used in T1D1 (i.e., one of the six samples taken in the daytime) are shown in Figures 2–6, where the x-axis represents the duration of the drive.
Table 5
Used OP variables.
| Variable | Source | Description |
| modelV2/laneLineProbes/1 | OP | Measures the probability (confidence) of left lane recognition |
| modelV2/laneLineProbes/2 | OP | Measures the probability (confidence) of left (1) and right (2) lane recognition |
| modelV2/leads/1/prob | OP | Measures the probability (confidence) of one-car-away lead car recognition |
| carState/brakePressed | Car | Indicates brake pressing by the driver or OP |
| driverMonitoringState/awarenessActive | OP | Measures driver awareness |
| controlsState/lateralControlState/pidState/steeringRateDeg | OP/car | Measures the steering degrees ordered by OP |
| controlsState/lateralControlState/pidState/steeringAngleDesiredDeg | OP | Measures the steering degrees required by OP |
| carParams/steerRatio | Car | Indicates the car’s available steering degree while OP or LKAS is engaged |
| deviceState/gpuTempC/0 | OP | Measures the temperature of graphics processing unit (GPU) in core 0 of comma device |
| deviceState/cpuTempC/0 | OP | Measures the temperature of central processing unit (CPU) in core 0 of comma device |
| deviceState/ambientTempC | OP | Measures the ambient temperature inside car |
[figure(s) omitted; refer to PDF]
Figure 2 shows OP’s ability to recognize the left and right lanes where 1 (in the y axis) indicates that the model is 100% confident a lane exists. This is crucial to send commands for centering the car within lanes. Values below 0.5 indicate that the system did not detect the lanes and it will show that on the Comma device screen. In such cases, it will not send centering commands and the driver may feel that the car is slightly not centered inside the lanes. Figure 3 shows OP’s ability to recognize a lead car that is one car away where 1 (in the y axis) indicates that the model is 100% confident a lead car, that is one car away, exists. This is important to keep a safe distance away (brake value should be 1) from the front car and brake accordingly to avoid accidents. Figure 4 shows OP’s monitoring of driver awareness (i.e., paying attention to the road) where 1 (in the y axis) indicates that the model is 100% confident the driver's eyes are on the road. This is to ensure that the system warns the driver to keep their eyes on the road. Driver monitoring figures are not present for all test drives if the system did not detect any driver distraction (i.e., the driver awareness value was 1 the whole drive). Figure 5 shows the steering degrees taken by the car. The figure highlights cases where the car needed to steering degrees that exceeds the car turn degree limit set by the car’s electric power steering (EPS) (i.e., represented by the steering ratio in the left and right directions). Hence, such turns that OP could not do, were assisted by the driver. The fewer the turns that exceed the car limit the better. Figure 6 shows the temperatures in Celsius (on the y axis) of the Comma device. This shows cases where OP stops working due to high temperatures. The plots of the other selected drives in Test 1 are provided in the Figures 7–38.
[figure(s) omitted; refer to PDF]
For every drive, I used OP’s debugging interface (Figure 39) to compare the actual drive recording with the selected variables recorded by OP. I divided the drives into segments of 1 minute each and removed the first and last segments because they are always not controlled by OP (i.e., while departing and parking). I compared the decisions made by OP (and, accordingly, the car actions) in all segments of the recorded variables with the optimal decisions a human driver would make. I calculated the success rate of OP decisions according to the following formula:
[figure(s) omitted; refer to PDF]
(1) Test1 Results and Discussion. Table 6 shows the analysis results of all drives in Test 1. Overall, OP was effective in 82% of cases. This means that it was able to drive as a human would most of the time. For the remaining 18% of the time, the driver needed to take control, which should not be a concern given the system’s very effective driver monitoring. I did not see much difference between daytime and nighttime drives in terms of overall success rate. In terms of lead car detection and braking (i.e., ACC), night drives showed better success rates. This is likely due to the combination of OP’s vision model and the car’s ACC radar. This is likely because the vision model sees less background clutter in the images captured by the camera at night. The background would be mostly black because distant objects will not be visible at night. Another reason could be less traffic at night. However, smoother braking would be better to avoid rear-ending accidents. This would require enhancing the detection of lead cars from a far distance and slowing the speed accordingly. In terms of lane recognition, which is crucial for lane centering, I noticed that on roads without lanes, OP was able to detect only the edge of the road as a left or right lane. Hence, the success rates of both lanes, most of the time, did not match. Regarding driver monitoring, I found that OP was able to constantly and very effectively monitor the driver’s awareness even at night (using the infrared front camera). It was able to detect eyes closing, looking left or right, or looking at one’s phone. However, I found it to be very cautious and overalerts too quickly for driver activities that do not necessarily indicate driver distraction, such as drinking from large bottles that can block the driver’s face. The main limitation of OP was its inability to steer in sharp turns. This is due to the limited torque available for LKAS in the EPS of the testing car, which is approximately 17 degrees. Other cars, like Toyotas, are known to have better torque that allows them to take sharp turns. However, this should not be an issue on highways, where OP is mostly used. In addition, if OP cannot fully steer during any turn, the system always predicts it and alerts the driver to take control (as shown in Figure 40). Regarding thermal management, Comma Two CPU and GPU temperatures are limited to 75 C degrees and try always to lower the temperatures. This is possibly to avoid overheating issues that Comma Two suffers in the early versions of OP.
Table 6
Analysis of all drives in Test1.
| Variable | Success rates | ||||||||||
| T1D1 | T1D2 | T1D3 | T1D4 | T1D5 | T1D6 | T1D1–T1D6 | T1N1 | T1N2 | T1N1–T1N2 | Overall average (%) | |
| A = 32 (%) | A = 30 (%) | A = 12 (%) | A = 16 (%) | A = 16 (%) | A = 17 (%) | Average (%) | A = 20 (%) | A = 19 (%) | Average (%) | ||
| Left lane recognition | 77 | 80 | 58 | 75 | 81 | 82 | 76 | 90 | 68 | 79 | 77 |
| Right lane recognition | 69 | 83 | 75 | 81 | 88 | 82 | 80 | 85 | 63 | 74 | 77 |
| Braking after lead car detection | 84 | 97 | 75 | 88 | 88 | 88 | 87 | 100 | 100 | 100 | 93 |
| OP steering | 66 | 83 | 58 | 69 | 75 | 71 | 70 | 50 | 68 | 59 | 65 |
| Driver awareness monitoring | 96 | 100 | 100 | 100 | 100 | 94 | 98 | 100 | 100 | 100 | 99 |
| Average | 78 | 89 | 73 | 83 | 86 | 84 | 82 | 85 | 80 | 83 | 82 |
[figure(s) omitted; refer to PDF]
5.3.2. Test2: Comma Three
To test OP in different hardware and in other cars, I also tested the system on Comma Three (the latest hardware from Comma.ai as of April 2022) that was installed in the 2019 Hyundai Tucson. This can provide insights into whether the new and improved cameras can provide better accuracy. As of OP v0.8.13, the system does not use the wide camera for controlling the car. However, the high-resolution narrow camera combined with the better processor can provide clearer images that can improve the speed and accuracy of the system decisions. This of course requires more storage that is available in Comma Three, which can store up to 15 hours of drives compared to only 2 hours in Comma Two. For that, in this test, I focused on longer drives (longer than 20 miles) to test how the system performs under load for long periods of time. As shown in Table 7, I analyzed six randomly selected drives as done in Test1. One of the drives (i.e., T2N1) was made in rainy weather, which allowed analyzing the system in different weather conditions. The same variables in Test1 were plotted using Plotjuggler. The plots of T2D1 (i.e., one of the three samples taken in the daytime) are shown in Figures 41–44, where the x-axis represents the duration of the drive. The plots of the other drivers in Test2 are in Figures 45–60.
Table 7
Data used in Test2.
| Dataset | Number of drives | Distance of drives | Number of recorded drives | Distance of recorded drives | Sample size (20%) of recorded drives |
| Total | 126 | 3011.14 KM (1871.12 miles) | 23 | 1981.16 KM (1231.09 miles) | N/A |
| Failure to engage | 1 | N/A | 0 | N/A | 0 |
| Daytime | 73 | 1846.7 KM (1147.54 miles) | 14 | 1037.7 KM (644.8 miles) | 3 (named T2D1–T2D3) |
| Night | 44 | 683.4 KM (424.66 miles) | 6 | 394.9 KM (245.35 miles) | 2 (named T2N1-T2N2) |
[figure(s) omitted; refer to PDF]
(1) Test2 Results and Discussion. As shown in Table 8, the overall results of OP in Test2 were better than in Test1. It also never failed to engage. This could be due to better design and processing capabilities in Comma Three. Figure 41 shows that OP in Comma Three was able to recognize the left and right lanes very effectively, where 1 (in the y-axis) indicates that the model is 100% confident a lane exists. As shown in Table 8, after performing the same method in Test1, the SR was very high in both left and right lanes detection despite the heavy rain. This could be related to the better cameras in Comma Three. Figure 42 shows OP’s ability to recognize a lead car where 1 (in the y-axis) indicates that the model is 100% confident a lead car that is one car away exists. All logs from Comma Three on the testing car did not show the braking status to check if the car was braking after detecting a lead car. This could be related to the test car, or the OP system, which is known to have inconsistencies in logs for different car makes and models. However, replaying the drive in OP debugging interface and comparing speed before and after detecting a lead car, showed that longitudinal control was also improved but still slows down very aggressively. Driver monitoring, which was accurate in Test1, shows slightly better results. Due to the higher torque limit in the Test2 car (i.e., about 20 degrees), the driver required fewer assisted turns. Although the SR was improved compared to Test1 in steering degrees, as shown in Table 9, it is still not near what Torque interceptors can do with the higher steering torque. In terms of thermal management, Comma Three seems to sustain high GPU and CPU temperatures (about 80 C) more than Comma Two. However, the camera lenses tend to get too hot, which might reduce the device’s longevity in the long term.
Table 8
Analysis of all drives in Test2.
| Variable | Success rates | |||||||
| T2D1 | T2D2 | T2D3 | T2D1–T2D3 | T2N1 | T2N2 | T2N1–T2N2 | Overall average (%) | |
| A = 142 (%) | A = 71 (%) | A = 73 (%) | Average (%) | A = 211 (%) | A = 33 (%) | Average (%) | ||
| Left lane recognition | 96 | 38 | 98 | 77 | 99 | 84 | 92 | 84 |
| Right lane recognition | 95 | 82 | 97 | 91 | 97 | 85 | 91 | 91 |
| Braking after lead car detection | 87 | 79 | 89 | 85 | 95 | 82 | 89 | 87 |
| OP steering | 88 | 83 | 64 | 78 | 87 | 85 | 86 | 82 |
| Driver awareness monitoring | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| Average | 93 | 76 | 90 | 86 | 96 | 87 | 91 | 89 |
5.3.3. Test 3: Torque Interceptor (TI)
To overcome some of the limitations in the Test1 used car, I installed TI, which is a man-in-the-middle device that can unlock some features that are disabled in the car EPS (e.g., steering lock-out, stop-and-go) [53]. The interceptor costs around $399. As shown in Table 9, the TI enhances the usability of the stock OP system by providing Stop and Go and removing steering lock-out. Higher steering torque was also noticeable, which is almost double the steering degrees. The testing car can now take about 90 degrees in custom forks or with driver assistance without disengaging. Unfortunately, as described earlier, since Openpilot does not allow the use of such devices, I was unable to obtain any logs to measure the difference. This is because if the recorded logs reach the Comma.ai servers, Comma.ai will ban the associated account, which is necessary to run the system. Nevertheless, the difference is very noticeable with TI installed compared to the stock OP system. However, with the increase in steering torque, the driver needs to pay attention while the system is engaged at low speeds (steering torque is higher at low speed than at high speed). I have faced a few situations where the car tried to drive too close to the edge of the road very quickly. Such cases could not be examined due to the lack of logs. This should not be an issue because OP is rarely used inside the city at low speeds. However, for this reason, as well as the lack of OP online features such as cloud storage of drives, logs, and OTA updates, I do not recommend using such TIs before such limitations are addressed by Comma.ai and/or the community developers.
Table 9
Comparison of OP features in different hardware.
| Setup | Test1 (Comma Two) | Test1 (Comma Two with TI) | Test2 (Comma Three) |
| Storage available for long drives | No | No | Yes |
| Available steering torque (turn degree) | Limited (∼17 degrees) | High (∼30 degrees) can reach (∼90 degrees with driver assistance) | Limited (∼20 degrees) can reach (∼70 degrees with driver assistance) |
| Steer to zero | No | Yes | Yes |
| Stop & go | No | Yes | Yes |
| Steering lock-out | Yes. Must use weights on steering wheel | No | No |
| OP connect (dashcam) | Yes | No | Yes |
| Comma prime | Yes | No | Yes |
| End-to-end navigation (experimental) | No | No | Yes |
5.3.4. Test 4: Comma Three vs. Comma Two
I compared two identical drives (in terms of route and time as well as the testing car) using Comma Two and Comma Three. The goal is to find if there is any difference in terms of reliability. However, without testing the “big model,” a new vision model announced by Comma.ai that will be only available for Comma Three, I did not find any noticeable difference in the self-driving capabilities worthy of investigation. The big model can utilize the HDR images captured by Comma Three to be used in training on the full 1024 × 512 camera frame instead of the cropped 512 × 256 middle frame it currently has. The new model also used frames annotated by the community in the Comma Pencil project to better train the model to detect other cars and objects on the road [59]. Therefore, I anticipate the difference between the two hardware will be noticed and can be practically examined in the future.
5.3.5. Overall Results and Discussion
The goal of this analysis is to comprehensively assess OP reliability in the context of KSA from the driver’s point of view to highlight the gaps in the system or KSA infrastructure that can be improved. The above-mentioned tests were performed in different weather conditions, hardware, and cars. This section discusses the common findings and limitations in all tests. For that, I analyzed all disengages in the testing drives to understand why the driver did not trust OP and decided to take control. Two drivers were asked (a male and a female). The reasons can be summarized as follows:
(i) No marked lanes: many roads like inside neighborhoods or cities in KSA do not have lanes. Despite that OP can recognize the road’s edges, it tends to drive in the middle of wide roads that can fit two cars. This makes it not suitable to be used on such roads.
(ii) Sharp turns: most drives inside neighborhoods require sharp turns (i.e., at least 90 degrees), which most OP-equipped cars cannot do. Even TIs cannot do such sharp turns like U-turns. Thus, the drivers tend to avoid using OP at the beginning and end of drives (e.g., while parking).
(iii) Inaccurate longitudinal control: OP relies on stock longitudinal control systems in most supported cars to detect lead cars and brake accordingly. However, such systems cannot detect stopped cars (e.g., at traffic lights), which may lead to car accidents. Moreover, such systems tend to leave at least one car length distance, which is a safe recommended distance enforced by traffic cameras across KSA. However, reckless drivers can exploit this to change lanes very quickly (i.e., cut in out of traffic) [60, 61], in which most stock ADAS systems do not immediately recognize and/or apply strong braking thinking collision to be avoided. This can make driving with OP engaged tiresome in traffic congestions.
(iv) Thermal issues in Comma devices: unlike car stock systems and components, which can operate at high temperatures, Comma devices (both Twos and Threes) tend to get very hot if the car is parked under direct sunlight. This makes OP cannot work immediately after starting the car, and it takes at least 2–5 minutes before it is on and running. Of course, drivers can always disconnect the Comma device and place it away from the sunlight; but this is inconvenient. Also, with the upcoming big model, overheating issues might be noticed, especially in Comma Two, which has limited processing capabilities.
6. Dataset
One of the main obstacles for developers is the lack of real datasets that can be used for ML training and testing. To the best of our knowledge, there is no detailed dataset that includes extensive logs and video recordings of drives in KSA. This is important to understand how the road edges or lanes look. This can help solve issues related to the region, such as higher speed limits in which OP cannot operate (i.e., above 145 km/h (90 mp/h) as shown in Figure 61), or heat issues. Therefore, in this paper, I provide a dataset of more than 25 hours of driving captured for Test and others by Comma Three (the latest hardware from Comma.ai that I used in Test (2) in Makkah Province in KSA. The dataset includes routes (folders) that are divided into segments (subfolders) of one minute each. Each segment contains the following files [62]:
(1) Rlog.bz2: an archive of the serialized capnproto messages that have all the messages passed amongst openpilot’s processes and car. This file can be read and visualized using the PlotJuggler tool provided with OP.
(2) Qlog.bz2: a decimated subset of the rlog that makes it easy to upload over a cellular network. This file can be read and visualized using the PlotJuggler tool provided with OP.
(3) Fcamera.hevc: a H.265 encoded video of the road captured by the narrow back camera of Comma device.
(4) Qcamera.ts: a lower resolution version of the fcamera.hevc that makes it easy to upload over a cellular network.
(5) Ecamera.hevc: H.265 encoded video of the road captured by the wide back camera of Comma Three.
[figure(s) omitted; refer to PDF]
Note that, for privacy reasons, I omitted dcamera.hevc, a H.265 encoded video of the driver that can be captured by the front camera(s) of the Comma device. The dataset can be found on the Github page (https://github.com/fsalsubaei/KSA_Drives). The dataset will be updated regularly to include labels (day, night, sunny, rainy, long, short, etc), logs decoding, more drives, different cars, and regions.
7. Recommendations
Despite the continuous improvements in OP, there is always room for enhancements to make the driving experience as humanlike as possible and reduce the defects I noticed during my extensive experiments using the system. In this section, I provide general recommendations to address the previously discussed limitations of OP. In terms of lateral control, the lack of steering torque should be addressed by Comma.ai as well as car manufacturers to reach safe torque limits after thorough testing. Alternatively, rather than banning the use of TIs, which made the use of drives with TIs cannot be logged and improved, Comma.ai should work with TI developers to ensure that such devices are rigorously tested according to industry standards. Comma.ai should also allow logging to continuously monitor the TI drives to detect and resolve any safety concerns as soon as they are discovered. This would eliminate the limitations discussed before, especially in car brands where ADASs functionalities are limited.
Moreover, since lateral control is related to the current infrastructure in KSA, more contributions are needed from the OP community in KSA to provide more data to train and better tune the system parameters to suit the current infrastructure, specifically, to detect the current road speed and upcoming turns so that the car can slow down in order to take sharp turns. Even though Comma.ai is working on big model, which can hopefully improve the detection of road edges and driving on lane less roads, cities should also contribute to marking lanes and road signs because this will not only help with OP equipped cars but also all cars with stock ADAS systems. This is a common obstacle for self-driving technologies worldwide, even in developed countries like the U.S. [63]. Hence, collaboration is required among all stakeholders, such as the ministry of transportation, technology companies, and car manufacturers to agree on standards that ensure the readiness of the infrastructure for safe mass self-driving adoption. Such collaboration should also consider the fact that there is less tendency for self-driving cars adoption in rural areas, and individuals with longer commutes tend to prefer self-driving cars. Therefore, distant houses are recommended to increase the urban spread and car miles traveled, which will consequently increase traffic safety.
Longitudinal control can also be better tuned to adapt to driving behavior in KSA, where tailgating is very common, specifically, to detect stopped cars and to reduce the distance from the lead car to avoid cut-in lanes and hard braking, which can result in rear-end accidents. For this reason, it is important that Comma.ai provides detailed and consistent logs and documentation for nontechnical users to attract new users, which will ultimately enhance the model’s accuracy by providing more training data, which will benefit all users. Finally, to overcome the thermal issues, until Comma.ai produces white color devices, I recommend painting the Comma devices with white color because this reduces the issue of overheating under direct sunlight. Comma.ai should also invest more in developing better cooling mechanisms and materials to keep up with car industry parts that can sustain high temperatures.
8. Conclusion and Future Work
Self-driving technologies have developed rapidly in recent years. Such technologies and their application in KSA have not been thoroughly studied in the past. Thus, this paper analyzed the security, privacy, safety, and reliability of OP, the most advanced self-driving technology available in KSA. The analysis showed that OP is very effective despite some limitations related to equipped cars (e.g., steering lock-out) and the environment (e.g., no clear lanes). In addition, despite the secure implementation of OP, more attention is required from Comma.ai to improve its privacy policy to ensure that no sensitive information, such as GPS coordinates and drivers’ identities, is used unnecessarily.
Future work includes increasing the size of the testing sample by including the OP upcoming big model, more variables, different cities, and different cars and comparing the other systems available in the Saudi market to OP. Such work could help early adopters of such advanced systems to learn about their effectiveness in KSA. This is important because many people, even tech-savvy users, are unaware of such systems or think they are unnecessary. Technology and automobile companies might find this work important in understanding the current self-driving landscape and how it can be improved to increase revenue and save lives. Governments and municipalities can also benefit from this work to set legislation and improve current infrastructure to better facilitate such technologies. I believe the large-scale adoption of self-driving technologies can help detect current areas for improvement to enhance safety and reduce the high number of traffic accident fatalities in KSA.
Acknowledgments
This work was funded by the University of Jeddah, Jeddah, Saudi Arabia, under Grant No. UJ-21-DR-45. The authors, therefore, acknowledge with thanks the University of Jeddah for its technical and financial support.
[1] A. A. Al-Tit, I. Ben Dhaou, F. M. Albejaidi, M. S. Alshitawi, "Traffic safety factors in the qassim region of Saudi Arabia," Sage Open, vol. 10,DOI: 10.1177/2158244020919500, 2020.
[2] A. Jamal, M. T. Rahman, H. M. Al-Ahmadi, U. Mansoor, "The dilemma of road safety in the eastern province of Saudi Arabia: consequences and prevention strategies," International Journal of Environmental Research and Public Health, vol. 17 no. 1,DOI: 10.3390/ijerph17010157, 2019.
[3] A. Jamal, T. Mahmood, M. Riaz, H. M. Al-Ahmadi, "GLM-based flexible monitoring methods: an application to real-time highway safety surveillance," Symmetry, vol. 13 no. 2,DOI: 10.3390/sym13020362, 2021.
[4] M. T. Rahman, A. Jamal, H. M. Al-Ahmadi, "Examining hotspots of traffic collisions and their spatial relationships with land use: a GIS-based geographically weighted regression approach for dammam, Saudi Arabia," ISPRS International Journal of Geo-Information, vol. 9,DOI: 10.3390/ijgi9090540, 2020.
[5] "The relative frequency of unsafe driving acts: background," 2021. https://one.nhtsa.gov/people/injury/research/udashortrpt/background.html
[6] "Safer roads: new EU measures to reduce car accidents," 2019. https://www.europarl.europa.eu/news/en/headlines/society/20190307STO30715/safer-roads-new-eu-measures-to-reduce-car-accidents
[7] A. Jamal, M. Zahid, M. Tauhidur Rahman, H. M. Al-Ahmadi, M. Almoshaogeh, D. Farooq, M. Ahmad, "Injury severity prediction of traffic crashes with ensemble machine learning techniques: a comparative study," International Journal of Injury Control and Safety Promotion, vol. 28 no. 4, pp. 408-427, DOI: 10.1080/17457300.2021.1928233, 2021.
[8] M. Almoshaogeh, R. Abdulrehman, H. Haider, F. Alharbi, A. Jamal, S. Alarifi, M. Shafiquzzaman, "Traffic accident risk assessment framework for qassim, Saudi Arabia: evaluating the impact of speed cameras," Applied Sciences, vol. 11 no. 15,DOI: 10.3390/app11156682, 2021.
[9] S. Mark Lee, A. I. Al-Mansour, "Development of a new traffic safety education material for the future drivers in the Kingdom of Saudi Arabia," Journal of King Saud University - Engineering Sciences, vol. 32 no. 1, pp. 19-26, DOI: 10.1016/j.jksues.2018.11.003, 2020.
[10] "Automatic surveillance of motorists changing lanes without signaling to begin after a week," 2020. http://saudigazette.com.sa/article/599943
[11] H. Tan, F. Zhao, H. Hao, Z. Liu, "Estimate of safety impact of lane keeping assistant system on fatalities and injuries reduction for China: scenarios through 2030," Traffic Injury Prevention, vol. 21 no. 2, pp. 156-162, DOI: 10.1080/15389588.2020.1711518, 2020.
[12] P. Penmetsa, M. Hudnall, S. Nambisan, "Potential safety benefits of lane departure prevention technology," IATSS Research, vol. 43 no. 1, pp. 21-26, DOI: 10.1016/j.iatssr.2018.08.002, 2019.
[13] S. Sternlund, J. Strandroth, M. Rizzi, A. Lie, C. Tingvall, "The effectiveness of lane departure warning systems—a reduction in real-world passenger car injury crashes," Traffic Injury Prevention, vol. 18 no. 2, pp. 225-229, DOI: 10.1080/15389588.2016.1230672, 2017.
[14] "New study finds automatic braking, adaptive cruise control effective at reducing collisions," 2021. https://www.jdpower.com/automotive-news/new-study-finds-automatic-braking-adaptive-cruise-control-effective-at-reducing-collisions
[15] V. C. Kummetha, A. Kondyli, S. D. Schrock, "Analysis of the effects of adaptive cruise control on driver behavior and awareness using a driving simulator," Journal of Transportation Safety & Security, vol. 12 no. 5, pp. 587-610, DOI: 10.1080/19439962.2018.1518359, 2020.
[16] Y. Li, Z. Li, H. Wang, W. Wang, L. Xing, "Evaluating the safety impact of adaptive cruise control in traffic oscillations on freeways," Accident Analysis & Prevention, vol. 104, pp. 137-145, DOI: 10.1016/j.aap.2017.04.025, 2017.
[17] "Autonomous vehicle market size, share | industry report," 2021. https://www.grandviewresearch.com/industry-analysis/autonomous-vehicles-market
[18] "Autonomous cars market forecast 2018-2024 industry share report, global market insights, inc," 2021. https://www.gminsights.com/industry-analysis/autonomous-car-market
[19] "Self-driving Uber car that hit and killed woman did not recognize that pedestrians jaywalk," 2021. https://www.nbcnews.com/tech/tech-news/self-driving-uber-car-hit-killed-woman-did-not-recognize-n1079281
[20] "Tesla’s self-driving Autopilot involved in another deadly crash, wired," 2021. https://www.wired.com/story/tesla-autopilot-self-driving-crash-california
[21] T. Sato, J. Shen, N. Wang, Y. J. Jia, X. Lin, Q. A. Chen, "Security of deep learning based lane keeping system under physical-world adversarial attack," 2020. http://arxiv.org/abs/2003.01782
[22] A. H. M. Rubaiyat, Y. Qin, H. Alemzadeh, "Experimental resilience assessment of an open-source driving agent," 2018 IEEE 23rd Pacific Rim International Symposium on Dependable Computing (PRDC), pp. 54-63, DOI: 10.1109/PRDC.2018.00016, 2018.
[23] Z. Chen, N. Narayanan, B. Fang, G. Li, K. Pattabiraman, N. DeBardeleben, Tensor: A Flexible Fault Injection Framework for TensorFlow Applications, 2020. http://arxiv.org/abs/2004.01743
[24] "Autonomous vehicle risk assessment framework, stanford intelligent systems laboratory," 2022. https://github.com/sisl/AutonomousRiskFramework.jl
[25] L. Moukahal, M. Zulkernine, "Security vulnerability metrics for connected vehicles," 2019 IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C), pp. 17-23, DOI: 10.1109/QRS-C.2019.00017, 2019.
[26] L. J. Moukahal, M. Zulkernine, M. Soukup, "Vulnerability-oriented fuzz testing for connected autonomous vehicle systems," IEEE Transactions on Reliability, vol. 70 no. 4, pp. 1422-1437, DOI: 10.1109/TR.2021.3112538, 2021.
[27] V. Chen, M.-K. Yoon, Z. Shao, "Task-aware novelty detection for visual-based deep learning in autonomous systems," 2020 IEEE International Conference on Robotics and Automation (ICRA), pp. 11060-11066, DOI: 10.1109/ICRA40945.2020.9196720, 2020.
[28] S. Dasgupta, M. Rahman, M. Islam, M. Chowdhury, "Prediction-based GNSS spoofing attack detection for autonomous vehicles," 2020. http://arxiv.org/abs/2010.11722
[29] J. Norden, M. O’Kelly, A. Sinha, "Efficient black-box Assessment of autonomous vehicle safety," 2020. http://arxiv.org/abs/1912.03618
[30] H. Liang, R. Jiao, T. Sato, J. Shen, Q. A. Chen, Q. Zhu, "WIP: end-to-end analysis of adversarial attacks to automated lane centering systems," IEEE Intelligent Vehicles Symposium, vol. IV, 2021.
[31] H. Schafer, E. Santana, A. Haden, R. Biasini, "A commute in data: the comma2k19 dataset," 2018. http://arxiv.org/abs/1812.05752
[32] "commaai/openpilot, comma.ai," 2021. https://github.com/commaai/openpilot/blob/9086c377e245bf7ad668b834ef6dfa25a617559f/RELEASES.md
[33] "J3016B: taxonomy and definitions for terms related to driving automation systems for on-road motor vehicles - SAE international," 2021. https://www.sae.org/standards/content/j3016_201806/
[34] S. Pillath, "Automated vehicles in the EU," 2016. https://www.europarl.europa.eu/RegData/etudes/BRIE/2016/573902/EPRS_BRI(2016)573902_EN.pdf
[35] "Chinese car giant steps up expansion into Gulf markets," 2021. https://www.arabianbusiness.com/retail/408216-chinese-car-giant-steps-up-expansion-into-gulf-markets
[36] "comma.ai – introducing openpilot, Comma.Ai – introducing openpilot," 2021. https://comma.ai/
[37] "Honda targeting introduction of level 4 automated driving capability by 2025," 2017. https://hondanews.com/en-US/releases/honda-targeting-introduction-of-level-4-automated-driving-capability-by-2025
[38] "Waymo begins fully driverless rides for all Arizona customers," 2020. https://www.bloomberg.com/news/articles/2020-10-08/waymo-one-app-offers-driverless-alternative-to-uber-in-arizona
[39] D. Williams, Human Factors Design Guidance for Level 2 and Level 3 Automated Driving Concepts, 2014.
[40] "Self-driving cars in the EU: from science fiction to reality | News | European Parliament," 2019. https://www.europarl.europa.eu/news/en/headlines/economy/20190110STO23102/self-driving-cars-in-the-eu-from-science-fiction-to-reality
[41] A. Tobin, "What are the different levels of self-driving cars?," 2021. https://www.forbes.com/sites/annatobin/2019/07/07/what-are-the-different-levels-of-self-driving-cars/
[42] A. J. Hawkins, "George Hotz is on a hacker crusade against the “scam” of self-driving cars," 2018. https://www.theverge.com/2018/7/13/17561484/george-hotz-comma-ai-self-driving-car-scam-diy-kit
[43] "Active driving assistance systems: test results and design recommendations," 2020. https://data.consumerreports.org/wp-content/uploads/2020/11/consumer-reports-active-driving-assistance-systems-november-16-2020.pdf
[44] "comma, Lane changing is coming to openpilot 0.7," 2019. https://www.youtube.com/watch?v=8wPdQN-E2kc
[45] "Comma ai, How does openpilot work?, Medium," 2017. https://medium.com/@comma_ai/how-does-openpilot-work-c7076d4407b3
[46] "Comma ai, Hacking an Audi: performing a man-in-the-middle attack on FlexRay, Medium," 2020. https://medium.com/@comma_ai/hacking-an-audi-performing-a-man-in-the-middle-attack-on-flexray-2710b1d29f3f
[47] "comma.ai, (n.d.)," 2022. https://comma.ai/vehicles
[48] "Comma three devkit, Comma Shop," 2021. https://comma.ai/shop/products/three
[49] "Comma two devkit, Comma.Ai Shop. (n.d.)," 2021. https://comma.ai/shop/products/comma-two-devkit
[50] "Find all China products on sale from mr-one store on Aliexpress.com - VOLKSWAGEN harness,new design!!open pilot kit for honda Nidec,openpilot kit for Toyota and lexux without GPS and more, Aliexpress.Com," 2022. https://www.aliexpress.com/store/all-wholesale-products/912395326.html?spm=a2g0o.store_pc_home.pcShopHead_6001908024487.99
[51] "Comma two setup - comma.ai, Comma Two Setup - Comma," 2021. https://comma.ai/setup
[52] T. Team, "Tesla: king of self-driving cars? Unbelievable," 2021. https://www.forbes.com/sites/greatspeculations/2020/07/03/tesla-king-of-self-driving-cars
[53] "Mazda torque interceptor for openpilot, MoreTorque," 2021. https://torqueinterceptor.com/products/torque-interceptor-for-mazda
[54] "Safer control of steering, Comma.Ai blog," 2020. https://blog.comma.ai/safer-control-of-steering/
[55] "Comma ai, understanding the openpilot safety model, medium," 2020. https://comma-ai.medium.com/understanding-the-openpilot-safety-model-fe9797e306bf
[56] "Openpilot privacy policy," 2021. https://connect.comma.ai/privacy
[57] J. L. Loeppky, J. Sacks, W. J. Welch, "Choosing the sample size of a computer experiment: a practical guide," Technometrics, vol. 51 no. 4, pp. 366-376, DOI: 10.1198/TECH.2009.08040, 2009.
[58] "commaai/cereal, comma.ai," 2021. https://github.com/commaai/cereal/blob/35122285b97ba467b715e749f5e99834ea91c0fe/log.capnp
[59] "comma10k, comma.ai," 2022. https://github.com/commaai/comma10k
[60] S. Ramisetty-Mikler, A. Almakadma, "Attitudes and behaviors towards risky driving among adolescents in Saudi Arabia," International Journal of Pediatrics and Adolescent Medicine, vol. 3 no. 2, pp. 55-63, DOI: 10.1016/j.ijpam.2016.03.003, 2016.
[61] A. M. Al-Wathinani, D. C. Schwebel, A. H. Al-Nasser, A. K. Alrugaib, H. I. Al-Suwaidan, S. S. Al-Rowais, A. N. AlZahrani, R. H. Abushryei, A. M. Mobrad, R. A. Alhazmi, S. M. Althunayyan, K. Goniewicz, "The prevalence of risky driving habits in riyadh, Saudi Arabia," Sustainability, vol. 13,DOI: 10.3390/su13137338, 2021.
[62] "Unify framereader/logreader implementations · Issue #22500 · commaai/openpilot, GitHub," 2022. https://github.com/commaai/openpilot/issues/22500
[63] T. U. Saeed, "Road infrastructure readiness for autonomous vehicles," ,DOI: 10.25394/PGS.8949011.v1, 2019.
[64] T. U. Saeed, M. W. Burris, S. Labi, K. C. Sinha, "An empirical discourse on forecasting the use of autonomous vehicles using consumers’ preferences," Technological Forecasting and Social Change, vol. 158,DOI: 10.1016/j.techfore.2020.120130, 2020.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
Copyright © 2022 Faisal S. Alsubaei. This work is licensed under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Abstract
Saudi Arabia has an ambitious vision that embraces artificial intelligence (AI) technologies at a mass scale in new cities such as Neom. Self-driving has recently become one of the most important AI applications due to the advancement of sensors and AI algorithms. Given that safety is vital to the success of self-driving cars, existing infrastructures (e.g., roads and traffic signs) should be compatible with self-driving technologies. However, self-driving technologies have not been thoroughly examined in Saudi Arabia with regard to the country’s infrastructure and traffic. Therefore, this paper highlights the main areas of improvement in available self-driving technologies in Saudi Arabia. This analysis can help governments understand the current limitations of such technologies so that they can regulate them and enhance infrastructures to prepare for the mass adoption of self-driving cars. It can also help car manufacturers and developers improve self-driving algorithms to overcome their existing limitations, which will ultimately improve the safety and experience of driving.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer






