Autonomous Electric Race Car Design

Niklas Funk, Nikhilesh Alatur, Robin Deuber, Frederick Gonon, Nico Messikommer, Julian Nubert, Moritz Patriarca, Simon Schaefer, Dominic Scotoni, Nicholas Bünger, Renaud Dubé, Raghav Khanna, Mark Pfeiffer, Erik Wilhelm, Roland SiegwartarXiv 2017

TL;DR

This paper details the conversion of a standard electric race car (Kyburz eRod) into a fully autonomous platform capable of navigating challenging, partially structured environments like Swiss mountain passes. The authors present a robust vision-based "teach-and-repeat" system that achieves impressive localization and control accuracy, demonstrating the viability of such systems for real-world applications.

What Problem Does This Paper Address?

The development of autonomous vehicles (AVs) has seen rapid progress, but operating them reliably in complex, unstructured, or partially structured environments remains a significant challenge. Traditional AV approaches often rely on highly structured environments with clear lane markings and precise GPS signals. This paper tackles the problem of enabling autonomous navigation in environments that lack these ideal conditions, specifically focusing on the demanding terrain of Swiss mountain passes. The authors aim to create an AV system that can accurately estimate its state, plan its motion, and execute control commands in real-world scenarios where sensor data might be noisy or incomplete, and where precise global positioning is not guaranteed.

Methods

The core of the system is a visual teach-and-repeat (T&R) pipeline.

  • Teaching Phase: A human driver pilots the eRod along a desired path, during which the system records visual features and the vehicle's pose. This creates a "feature map" of the environment.
  • Repeat Phase: The autonomous vehicle uses the recorded feature map to localize itself and then follows the taught path as closely as possible using a reference tracking controller.

Key technical components include:

  • Hardware Conversion: A standard Kyburz eRod was retrofitted with new actuators (steering, braking) and a suite of sensors.
  • Sensors:
    • Visual-Inertial (VI) Sensor: A stereo camera combined with an Inertial Measurement Unit (IMU) for visual odometry and state estimation. The camera's pitch angle was carefully calibrated to optimize feature detection.
  • LiDAR Sensor (Velodyne VLP-16): Used for 3D object detection and obstacle avoidance. The authors chose LiDAR over radar for its better angular resolution and ability to detect special surfaces.
  • Wheel Encoders & Steering Angle Encoder: Provide odometry information.
  • Software Architecture: A Linux-based computer running ROS serves as the central processing unit.
  • State Estimation: A crucial aspect involves fusing data from the VI sensor and a kinematic vehicle model. The paper highlights the use of ROVIO (Robust Visual Inertial Odometry) for 3D visual odometry, which was optimized to handle the specific IMU characteristics of the eRod in its operating environment.
  • Localization & Mapping: ORB-SLAM2 is employed for robust visual localization and mapping. The authors also discuss fusing ROVIO and ORB-SLAM2 to leverage the strengths of both, particularly for reducing drift and handling situations where ORB-SLAM2 might temporarily lose localization.
  • Obstacle Detection: A 3D object detection algorithm processes LiDAR point clouds. It filters points based on vertical angles and then uses statistical analysis to identify road points versus obstacles. A "dangerous zone" is defined around the planned trajectory, and any obstacles within this zone trigger safety measures.
  • Trajectory Following:
    • Steering Angle Control: Implemented using a Pure Pursuit Controller, a geometric approach well-suited for lower speeds and curvy paths.
  • Velocity Control: A reference velocity is calculated based on physical limits (friction), the teaching path velocity, and user-defined constraints. This reference velocity is then further penalized based on factors like obstacle distance, lateral error, and time to shutdown to ensure safety.

Datasets

Not explicitly discussed in the paper. The system relies on a "teach-and-repeat" methodology where the environment itself serves as the dataset generated during the teaching phase.

Key Insights and Ideas

  • Teach-and-Repeat in Challenging Environments: The paper strongly validates the effectiveness of the T&R paradigm for autonomous navigation in partially structured, non-ideal environments where traditional methods might fail.
  • Importance of Sensor Fusion and Optimization: The success hinges on effectively fusing data from multiple sensors (visual, inertial, LiDAR) and meticulously optimizing algorithms (ROVIO, ORB-SLAM2) for the specific vehicle and environment. The paper highlights how tuning parameters like "PenaltyDistance" in ROVIO significantly improved performance.
  • Balancing Aggression and Safety: The velocity control strategy, which incorporates penalization factors based on various safety metrics, demonstrates a practical approach to balancing aggressive path following with necessary safety margins.
  • Robustness through Redundancy and Fallbacks: The system's safety architecture, with cascading security levels and the ability to fall back to dead reckoning when localization is temporarily lost, is critical for reliable operation.
  • Cost-Effectiveness of Vision-Based Systems: The authors note the advantage of using camera-based systems over LiDAR for localization due to their significantly lower cost, while still leveraging LiDAR for essential obstacle detection.

Key Results

  • Path Tracking Accuracy: Achieved a median path tracking error of approximately 10 cm at velocities up to 25 km/h.
  • Operational Range: The system successfully navigated the challenging Klausenpass for over three kilometers.
  • Velocity Performance: The system operates reliably up to approximately 35 km/h.
  • Map Limitations: Currently limited to a path length of 3.5 km per single map, with a plan to implement map concatenation for longer runs.
  • Localization Robustness: The optimized ORB-SLAM2 system provides stable and robust mapping, capable of performing in urban, rural, and mountain road settings.
  • Safety: The authors report no accidents during 1000 km of testing, attributing this to the robust safety system and the driver's ability to intervene.

Limitations and Future Work

  • Light Dependency: Visual localization is inherently dependent on lighting conditions, which can be problematic. The authors note that bright light with low incidence angles, or repeating a route taught under different light conditions, can be challenging.
  • Map Concatenation: While implemented, testing of longer runs by concatenating multiple sub-maps was limited by testing time.
  • Velocity Limits: The system had issues when driving through critical environments with rapidly changing image frames at velocities greater than 30 km/h.
  • Obstacle Detection Limitations: The current 3D object detection algorithm has a decreased ability to detect flat objects blocking the entire road, especially if they fall between LiDAR beams.
  • Future Work:
    • Merging multiple maps recorded under different lighting conditions to mitigate visual localization's light dependency.
  • Creating a global map of all driven streets to potentially make the teaching phase obsolete.
  • Implementing lane tracking for more advanced navigation.
  • Developing the capability to drive around obstacles, not just stop in front of them.
  • Further tuning for higher velocities and critical environments.
  • Investigating 360-degree obstacle detection.

Summary updated

Abstract

Autonomous driving and electric vehicles are nowadays very active research and development areas. In this paper we present the conversion of a standard Kyburz eRod into an autonomous vehicle that can be operated in challenging environments such as Swiss mountain passes. The overall hardware and software architectures are described in detail with a special emphasis on the sensor requirements for autonomous vehicles operating in partially structured environments. Furthermore, the design process itself and the finalized system architecture are presented. The work shows state of the art results in localization and controls for self-driving high-performance electric vehicles. Test results of the overall system are presented, which show the importance of generalizable state estimation algorithms to handle a plethora of conditions.
BibTeX
@misc{funk2017autonomous,
  author = {Niklas Funk and Nikhilesh Alatur and Robin Deuber and Frederick Gonon and Nico Messikommer and Julian Nubert and Moritz Patriarca and Simon Schaefer and Dominic Scotoni and Nicholas Bünger and Renaud Dubé and Raghav Khanna and Mark Pfeiffer and Erik Wilhelm and Roland Siegwart},
  title = {{Autonomous Electric Race Car Design}},
  year = {2017},
  eprint = {1711.00548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.00548},
}
Figure