<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Eric Richter on Medium]]></title>
        <description><![CDATA[Stories by Eric Richter on Medium]]></description>
        <link>https://medium.com/@eric-richter-ad-enthusiast?source=rss-e6fc7788d0d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*46ox3236MJnOSpRDNKt1hQ.jpeg</url>
            <title>Stories by Eric Richter on Medium</title>
            <link>https://medium.com/@eric-richter-ad-enthusiast?source=rss-e6fc7788d0d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:11:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eric-richter-ad-enthusiast/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[WHY THE BEST WAY TO DETECT OBJECTS IS NOT TO DETECT THEM]]></title>
            <link>https://eric-richter-ad-enthusiast.medium.com/why-the-best-way-to-detect-objects-is-not-to-detect-them-8f5f699fa56?source=rss-e6fc7788d0d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f5f699fa56</guid>
            <category><![CDATA[automated-driving]]></category>
            <category><![CDATA[environmental-modelling]]></category>
            <category><![CDATA[path-planning]]></category>
            <category><![CDATA[perception]]></category>
            <category><![CDATA[sensor-fusion]]></category>
            <dc:creator><![CDATA[Eric Richter]]></dc:creator>
            <pubDate>Thu, 05 May 2022 07:15:06 GMT</pubDate>
            <atom:updated>2022-05-05T07:19:39.593Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why the Best Way to Detect Objects is Not to Detect Them</h3><p>Automated driving functions with higher automation levels require safe path planning that considers dynamic objects. If object dynamics are derived using approaches that rely on object detection, this involves severe risks due to error propagation in the processing chain. Integrated sensor fusion algorithms like the dynamic grid avoid these errors and provide the basis for safe path planning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*vw8SsFXaqPwoOIiC.png" /></figure><h4>Consistent Path Planning Requires Reliable Object Dynamics</h4><p>Any higher-level automated driving function needs to determine where the vehicle should go in the future. From a global perspective, this is a navigation task requiring reliable positioning and a map. However, for not colliding with other traffic participants or obstacles, a short-term motion plan is needed in addition to the global plan. Determining such a short-term plan is often called path planning.</p><p>As collision-free driving is of the highest priority, path planning is highly safety-relevant. From a sole safety perspective, the vehicle could drive to any location that is not occupied by any obstacle or that is free space. For static environments, we could determine the free space with a sensor like LiDAR. Then, it would be sufficient to plan a path so that the vehicle is always within the determined free space while the path is driven. This would be safe as all objects remain at their current positions in static environments while the vehicle is moving.</p><p>Once the environment contains dynamic objects, static path planning would not be safe anymore as the free space could change while the vehicle is driving the planned path. To overcome this limitation, we need to plan the path taking the motion of other traffic participants into account. If we know the object’s dynamics, such as velocity and driving direction, we can predict where these objects will occupy space at some future point in time and adapt the planned path accordingly.</p><h4>Approaches Based on Object Detection Introduce Risks to the Path Planning</h4><p>In general, sensors provide no (camera, LiDAR) or limited (radar) information on object dynamics. Instead, they provide 2d/3d locations of reflections (LiDAR, radar) and pixel-level data (camera). Radar sensors are an exception as they provide the objects’ radial (Doppler) velocity. However, they cannot determine the velocity of crossing traffic and often contain additional velocity ambiguities. The classical approach to determining the object dynamics is</p><ul><li>extracting or detecting objects in the raw sensor data to get 2d/3d bounding boxes in world or image coordinates and then,</li><li>apply object tracking approaches to the detected bounding boxes and infer the dynamics over time.</li></ul><p>Typically, detection failures (false negatives) and other detection errors have a much higher negative impact on the quality of the resulting environmental model than additional sensor errors, e.g., the accuracy of a radar’s range measurement. Therefore, approaches based on object detection contain inherent risks for safety-related aspects like path planning.</p><p>Several architectures have been proposed for these approaches based on object detection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*eZN8V6tu-sqAe_4Zw7yACQ.png" /><figcaption><em>Sensor-wise object detection and dynamics determination: Objects are detected/clustered and tracked independently for each sensor, followed by an object fusion. Free space is determined by a static occupancy grid that requires the dynamic objects provided by the object fusion. Thus, object detection errors propagate to the path planning.</em></figcaption></figure><p>This approach/architecture has potential drawbacks:</p><ul><li>Sensor-wise object detection and tracking: Typical for this architecture, so-called smart sensors detect and track objects based on the sensor’s individual information. Often, smart sensors are intended to be directly connected to an L2 driving function such as AEB or ACC and thus, optimize for low false alarm rates. Consequently, these systems rather miss an object than give a false alarm.</li><li>Object fusion on already tracked objects: Each smart sensor has different assumptions and models objects differently. Often, these assumptions are hardly known to the designer of the object fusion, which leads to incorrect models and limited object fusion performance. Even if the assumptions are known, they often cannot be integrated into the object fusion due to typical modeling limitations of the object fusion algorithms.</li><li>Propagation of detection errors: Path planning occurs after several processing steps where errors propagate and potentially accumulate. As object dynamics are derived from detected objects, any error in the object detection will potentially lead to errors in the object dynamics and thus, affects the safety of the path planning.</li></ul><p>Improved architectures combine the sensor data at a low level and detect and track objects based on this fused information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*CnLY-ZPqYUBv1ftZ4TDMwQ.png" /><figcaption><em>Improved detection-based approach: Objects are extracted/detected from combined raw data using artificial intelligence (AI). Then, object dynamics are inferred over time using object fusion, and free space is determined. Still, object detection errors propagate and accumulate and end up in the path planning.</em></figcaption></figure><p>However, these approaches/architectures still rely on object detection and a separate determination of dynamic objects and free space and, thus, might be affected by the same error sources. In addition, this architecture has further disadvantages:</p><ul><li>Centralized object detection: Although the object detection can rely on more information, the overall architecture still depends on the object detection performance, and object detection errors propagate to the path planning.</li><li>Learning required: Artificial intelligence (AI) as part of the object detection requires training specific to the actual sensor setup. Thus, fully pre-trained modules (e.g., coming from a supplier) cannot be used.</li></ul><h4>Dynamic Grid Fusion Allows for Early and Consistent Path Planning</h4><p>While the classical approach requires detecting objects for deriving their dynamics and thus, potentially introduces errors, dynamic grid fusion determines quantities like velocity and driving direction at a lower level — the cell level. As a track-before-detect approach, it doesn’t need to detect objects explicitly. Instead, dynamic quantities are determined for each cell individually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ej_M4m5HvDT-cMpt96TgVg.png" /><figcaption>Dynamic Grid: The cell-based determination of dynamic quantities requires less a priori knowledge about relevant objects for path planning. This enables to derive dynamics from objects even if their shape is unknown at design time.</figcaption></figure><p>Typical detection errors cannot negatively impact path planning by design when objects do not need to be detected. However, other functionalities may still require explicitly detected objects, e.g., to apply traffic rules such as giving way to other traffic participants. An architecture based on dynamic grid fusion allows for freely choosing the best data level for each function — cell-level for path planning, object-level for other functionalities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*s2QxHUo9iZUEuMcpmwMZ3w.png" /><figcaption><em>Architecture based on dynamic grid fusion: The low-level sensor fusion approach determines dynamic and static objects as well as free space in an integrated manner. Potentially erroneous object extraction is done after the path planning and has no impact on its safety.</em></figcaption></figure><p>An architecture based on dynamic grid fusion has the following advantages:</p><ul><li>Safe path planning through consistent occupancy: The occupancy of relevant regions is consistently predicted at the cell level. As no object detection is involved, detection errors cannot propagate to the path planning.</li><li>Support for unknown dynamic objects: The dynamic grid determines the dynamics of objects even if their type is unknown at design time.</li><li>No artificial intelligence involved: Dynamic grid fusion does not contain AI and is purely based on statistical methods. For safety-critical applications, verification and validation require fewer efforts.</li><li>Optional object detection: Although path planning can be done on the cell level, explicit or additional object extraction is still possible and well supported as the available dynamic information makes object extraction and clustering more reliable.</li><li>Flexible sensor configuration: Different sensor modalities can be freely combined depending on the application, and not a specific modality like a camera is required.</li><li>No learning required: As no AI is involved in the dynamic grid, data-extensive learning is not required. Optionally, the dynamic grid architecture can include fully pre-trained modules from suppliers.</li></ul><p>This article was initially written and published on the BASELABS website: <a href="https://www.baselabs.de/sensor-fusion/why-the-best-way-to-detect-objects-is-not-to-detect-them/">Why the best way to detect objects is not to detect them | BASELABS</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f5f699fa56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sensor Fusion — It’s all about Prediction]]></title>
            <link>https://eric-richter-ad-enthusiast.medium.com/sensor-fusion-its-all-about-prediction-3e71a891faf4?source=rss-e6fc7788d0d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e71a891faf4</guid>
            <category><![CDATA[automated-driving]]></category>
            <category><![CDATA[sensor-fusion]]></category>
            <dc:creator><![CDATA[Eric Richter]]></dc:creator>
            <pubDate>Fri, 10 Dec 2021 08:26:40 GMT</pubDate>
            <atom:updated>2021-12-16T20:44:29.023Z</atom:updated>
            <content:encoded><![CDATA[<h3>Sensor Fusion — It’s all about Prediction</h3><p>Sensor fusion systems spend a significant amount of resources in predicting the future. Here is why this improves automated driving functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QW4CkjmhOzaPNjcH5s6qVA.jpeg" /><figcaption>Challenging scenario for the protection of pedestrians inspired by the NCAP AEB test catalog. The pedestrian must be recognized as endangered <strong>before </strong>he or she enters the road so that the vehicle can initiate a harmless emergency stop. Predicting the pedestrian’s motion using different behavior assumptions is a crucial requirement for the sensor fusion system.</figcaption></figure><p>It is often stated that automated driving and advanced driver assistance systems (ADAS) need to correctly perceive the vehicle’s environment. In this context, we frequently see camera images with object detections that come from sophisticated artificial intelligence (AI) based detection methods typically visualized by rectangular bounding boxes as an overlay on top of the image.</p><p>From a human perspective, these image detections often give the impression that the problem is solved and that a machine now could decide how the car should proceed. However, in contrast to currently available machines, humans can extract much more context information from a single image. For example, a human might understand that a pedestrian is rushing to a cab and that he or she will cross the street so that harsh braking might be appropriate.</p><p>For an automated driving function such as autonomous emergency braking (AEB) with its limited recognition capabilities to react similarly, it must not only know where an object is located right <em>now </em>but also where it <em>will be</em> in the near future — the object’s position needs to be predicted to this near future.</p><p>In this article, I will explain why prediction is not only used by the driving function itself, but has massive impact to the performance of the sensor fusion system that provides the environmental model.</p><h3>Sensor Fusion in a Nutshell</h3><p>In automated driving, the combination of multiple diverse sensors compensates for individual sensor weaknesses, e.g., a camera better detects pedestrians than a radar while a radar provides long-distance coverage. Converting the different sensor data into a uniform image of the vehicle environment is called sensor data fusion — or sensor fusion for short.</p><p>Sensor fusion is not a single monolithic algorithm. Instead, it assembles multiple algorithms whose selection and combination depend on the sensor setup and the driving function.</p><blockquote><em>However,</em> <em>the main task of any sensor fusion system is to compare the sensor observations or measurements with the system’s expectation of these measurements.</em> <em>From the differences, the system’s state gets adapted or updated.</em></blockquote><p>An example: A vehicle is driving in front of us. Let’s assume the sensor fusion system already knows that the vehicle is approximately 50 meters away and 10 m/s slower than us. If a sensor observes that vehicle 100 milliseconds later, the sensor fusion system could expect the vehicle at 49 meters using simple kinematics s = s₀ + v∙t — the so-called <em>motion model</em>. However, if, in reality, the vehicle was 15m/s slower than us, the observed distance would be 48.5 instead of 49 meters. From the difference 49m — 48.5m = 0.5m, the sensor fusion may conclude that its initial velocity estimation was “wrong” and should be around 15m/s = 10m/s + 0.5m/0.1s instead — the system’s state gets updated.</p><p>To perform the described update step, sensor measurements need to be associated with already known objects or so-called tracks. For this <em>association</em>, all tracks are predicted to the time of the measurements using the motion model. Then, each measurement is associated with the track whose prediction is closest to the measurement, and the track gets updated with that measurement.</p><blockquote><em>The prediction quality is essential for the association and thus for the overall sensor fusion performance.</em></blockquote><p>Suppose the association fails to find a measurement close to a predicted track, or it selects a track the measurement does not belong to due to an unsuitable prediction. In that case, tracks either won’t get updated or get updated using the wrong measurement, which in turn leads to invalid track states like a wrong track position. Often, such incorrect association leads to a sensor fusion failure and incorrect driving function behavior. Let’s see how we can avoid this.</p><h3>The Right Number of Models</h3><p>While the example’s motion model seems obvious, other models might be more appropriate:</p><ul><li>If the sensor fusion needs to support turning vehicles, models that include the curvature should be considered, e.g., the so-called constant curvature and acceleration (CCA) model.</li><li>If the same sensor fusion system also needs to support pedestrians, a motion model with a higher degree of freedom could be used, e.g., the constant velocity (CV) model.</li><li>For bicyclists, the CCA model might be used as well. However, the model parameters probably differ from the parameters used for vehicles.</li></ul><blockquote><em>Using a separate model for each object class can significantly increase the sensor fusion performance as track predictions get better and thus, the association gets better.</em></blockquote><p>Unfortunately, the class of an object is often not reliably known to the sensor fusion system if it is a “new” object, e.g., an object that enters the sensor’s field of view. Imagine the radar of a system detects the new object first (and does not provide classification information). Then, the system cannot decide on a single motion model as this could be wrong and, thus, would again lead to wrong predictions and associations.</p><p>Instead, the sensor fusion should create multiple hypotheses, one for each class the system should support, e.g., one hypothesis assuming that the object is a vehicle using the CCA model and one hypothesis assuming that the object is a pedestrian using the CV model. Then, all of these hypotheses can be used to predict the track’s state.</p><blockquote><em>With such a </em>Multiple Model<em> approach, it becomes more likely that the correct measurements get associated with the track.</em></blockquote><p>Over time, when more measurements arrive, the sensor fusion system should resolve the model ambiguity as soon as possible to save compute and memory resources. There are several options on how to get rid of invalid hypotheses:</p><ul><li>The actual motion of the object may not fit a track hypothesis. In such case, measurements may appear in large distance to the hypothesis. Sensor fusion systems with integrated existence estimation decrease the existence probability of hypothesis whose measurements are unlikely. If the existence value drops below a specific value, the hypothesis gets removed.</li><li>The object’s class is determined by a sensor like a camera at some point in time. Hypotheses that belong to other classes can be removed.</li></ul><p>Modern sensor fusion systems have to handle even more hypotheses due to a higher level of ambiguity. A typical challenge in urban areas is that the objects’ driving direction or heading often cannot be reliably derived from the first frames after initial detection. If the “wrong” heading value is used in the motion model, the prediction gets wrong again. To overcome this, multiple hypotheses with different heading values are created, and the most likely hypothesis will survive in the sensor fusion system.</p><blockquote><em>Handling all hypotheses correctly and efficiently is a complex task that needs to be addressed by modern sensor fusion systems.</em></blockquote><p>In addition to dedicated motion models per object class, the detection and measurement models (see my previous <a href="https://eric-richter-ad-enthusiast.medium.com/sensor-models-key-ingredient-for-sensor-fusion-in-automated-driving-cac8fd246ae1">article on sensor models</a>) should be class-specific. By this, the sensor fusion can consider class-specific sensor characteristics, and better measurement predictions can be determined.</p><p>The performance of sensor fusion systems depends on their capability to predict different object classes. In particular, sensor fusion systems should support</p><ul><li>class-specific motion models using multiple model approaches to account for different object behaviors,</li><li>to initialize tracks using multiple hypotheses to cope with initialization ambiguities,</li><li>to apply different sensor models depending on the object class,</li><li>to efficiently handle the hypotheses to save CPU and memory resources.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e71a891faf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Next-Generation Sensor Fusion for Next-Generation Sensors and Driving Functions]]></title>
            <link>https://eric-richter-ad-enthusiast.medium.com/next-generation-sensor-fusion-for-next-generation-sensors-and-driving-functions-c61aa53833ab?source=rss-e6fc7788d0d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c61aa53833ab</guid>
            <category><![CDATA[high-resolution-radar]]></category>
            <category><![CDATA[sensor-fusion]]></category>
            <category><![CDATA[dynamic-grid]]></category>
            <category><![CDATA[automated-driving]]></category>
            <category><![CDATA[semantic-annotation]]></category>
            <dc:creator><![CDATA[Eric Richter]]></dc:creator>
            <pubDate>Wed, 24 Nov 2021 08:50:10 GMT</pubDate>
            <atom:updated>2021-11-24T08:50:10.591Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VhiApaCVi8pIuhB-Erq9QA.png" /></figure><p>Current sensor fusion approaches have inherent properties that limit their applicability for next-generation driving functions and sensors. Integrated sensor fusion approaches like the Dynamic Grid resolve these limitations and thus, enable next-generation driving functions. In this article, I will show why.</p><p>Typical driver assistance systems or automated driving functions consist of several components: One or multiple sensors, the sensor fusion, the driving function, and the actual vehicle control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*wxfVNN728MQXCdBgtN8U2w.png" /><figcaption>Block diagram of typical ADAS and automated driving functions</figcaption></figure><p>Current generation ADAS like AEB, ACC, and lane-keeping operate in well-structured environments and need to be aware of similar object types in a limited number of scenarios. For this, low-resolution sensors are used:</p><ul><li>Low-resolution radar: These radar sensors provide detections where each detection consists of a 2d position and the Doppler velocity. Per detected object, a maximum of 2 to 3 detections are provided.</li><li>Low-resolution camera: Independent from the pixel resolution of the internal camera sensor, these sensors provide bounding boxes of detected objects, either in the world or the image frame. Often, a single detection per object is provided.</li></ul><p>To use the data from multiple sensors and extract dynamic objects, current ADAS apply so-called <em>Dynamic Object Fusion</em> approaches with the following general properties:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*cgL3bWywGK_XOYJqM7Yitw.png" /><figcaption>Dynamic Object Fusion: Small amounts of sensor detections (blue/red) are processed using Kalman filtering (grey ellipse and arrow).</figcaption></figure><ul><li>They are based on Kalman filtering, which runs on comparably small CPUs.</li><li>They require low-resolution sensor inputs and thus are a natural fit for the sensors mentioned above.</li><li>They require to know all object types during design time. There is no support for unknown object types.</li><li>They are well suited for large distance tracking of dynamic objects. However, they have only limited performance for near-distance and extended objects.</li><li>They neither support static environment nor free-space.</li></ul><h3>Next-Generation Sensors and Driving Functions</h3><p>Let’s have a look at next-generation radar sensors. Just like the current ones, they provide detections consisting of a 2d position plus the Doppler velocity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*aom6kl_X7WRl5UBr5y_n1Q.png" /><figcaption>Detections from an HD-radar coming from the contour and from the inside of the objects</figcaption></figure><p>However, the big difference is the number of detections, which is many times higher than with current sensors. As a result, radar sensors are now also able to image objects in greater detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*mm5D8pp3cykAaklz4zokww.png" /><figcaption>Output from a camera with semantic segmentation</figcaption></figure><p>While current-generation cameras provide detections of objects, next-generation cameras often perform so-called semantic annotation.</p><p>For each pixel of the image, the class of the underlying object is determined and provided. Again, much more details of the scene and the containing objects become available to the sensor fusion.</p><p>Next-generation driving functions come with new requirements and challenges. While current driving functions often operate on highway conditions, more and more driving functions are developed for urban scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*TdWh_M43ScCUkNR6U3IKCg.png" /><figcaption>Environmental model output for next generation driving functions: Dynamic objects (grey), static objects (red), free space (green)</figcaption></figure><p>These urban scenarios include more traffic participant types like pedestrians, bicycles, and wheelchairs. Additionally, dynamic objects that are not known at design time are more likely in these scenarios and must be detected. From these driving function requirements, the following needs for the environmental model can be derived:</p><ul><li>Object extensions: The environment model shall provide the spatial extension of dynamic objects, e.g., for proper lane association.</li><li>Object motion prediction: For each dynamic object, its kinematics should be determined so that its motion can be predicted up to a certain extend.</li><li>Static objects: In addition to dynamic objects, static objects should be provided.</li><li>Free space: As soon as the driving function includes automated steering and path planning, explicit free space information is required.</li><li>Unknown object types: Modeling all potentially moving objects types upfront is an enormous if not unsolvable challenge. Thus, unknown dynamic objects need to be detected and predicted as well.</li></ul><h3>Limitations of Current Sensor Fusion Approaches</h3><p>Current-generation sensor fusion approaches often include a combination of dynamic object fusion and a static occupancy grid. Dynamic object fusion and its Kalman filter approaches have limited performance for small distances and extended objects, mainly due to the often heavily violated point-source assumption that underlies these algorithms. They require to know all object types in advance and thus, have an <strong>inherent risk of missing such objects</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*hEH8dnoP5cpFvieBxIH7hQ.png" /><figcaption>Typical clustering error in classical sensor fusion approaches</figcaption></figure><p>Furthermore, if used with high-resolution sensors, clustering of the data is required so it can be used with Kalman filters. As such clustering is done at the detection level, <strong>clustering</strong> <strong>errors occur often</strong> and can hardly be corrected by later processing steps. These clustering errors then result in poor object fusion performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*vgIwoKFNv8EGESs7wPnqXA.png" /><figcaption>Static occupancy grids contain outdated free space regions (red “tails”) if dynamic objects are within the scene.</figcaption></figure><p>Static occupancy grid methods provide static objects as well as free space. While this is sufficient from an interface perspective, static grids also contain dynamic objects that generate the typical incorrect tails, resulting in <strong>false negatives for free space</strong>.</p><p>To circumvent this effect, people often try to exclude measurements from dynamic objects before putting the measurements into the grid. For determining which measurements stem from dynamic objects, the association from the dynamic object fusion is used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CLBEXp1HLUEdOgR9gJbcnQ.png" /><figcaption>Error propagation in classical sensor fusion approaches: If errors occur in the dynamic object fusion, they propagate to the static grid.</figcaption></figure><p>As the quality of the association heavily depends on the clustering mentioned above, <strong>errors are propagated from the clustering through the object fusion to the static occupancy grid</strong>.</p><h3>Built-In Consistency: Objects and Free Space Based on a Single Source</h3><p>Integrated sensor fusion approaches solve this chicken-and-egg problem by estimating both static and dynamic objects as well as free space.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlSbIpaOqgeM%3Fstart%3D205%26feature%3Doembed%26start%3D205&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlSbIpaOqgeM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlSbIpaOqgeM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cedc5b6aaf9dea80a30648f54aa0fc8b/href">https://medium.com/media/cedc5b6aaf9dea80a30648f54aa0fc8b/href</a></iframe><p>The Dynamic Occupancy Grid or short Dynamic Grid is an integrated low-level sensor fusion approach that does not rely on a clustering step as mentioned above. Thus, it does not suffer from error propagation due to early decisions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*gG65m38A0n1XKN1O62Peiw.png" /><figcaption><em>The dynamic grid adds estimates of </em>the object <em>dynamics in the grid cells by using different hypotheses for </em>the object<em> velocity and direction („particles“) and thus enables better prediction.</em></figcaption></figure><p>Instead, the classification between static and dynamic objects is based on more information, resulting in better performance. Per design, there are no conflicts between dynamic traffic participants and static environment as they are derived from the same model at low latency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*7uaxqPoO0s8fSGSrtOYp1w.png" /><figcaption>Up-to-date free space estimation of the Dynamic Grid (left), outdated free space estimation of the Static Occupancy Grid (right)</figcaption></figure><p>The grid-based approach also supports unknown dynamic object types, which further improves the applicability in urban environments. If a sensor provides object classification such as semantic segmentation information from a camera, this information can be added to the grid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*IcVAMldkJCIwM_-1tQdBFw.png" /><figcaption>Enhancing the dynamic grid with additional semantics</figcaption></figure><p>This improves the robustness of object extraction, provides detailed class information for traffic participants and can be used to classify free space, e.g. for automated parking applications.</p><p>To summarize, classic sensor fusion approaches like dynamic object fusion and static occupancy grids have limited performance and applicability for high-resolution sensors and next-generation driving functions.</p><p>Low-level sensor fusion approaches like the dynamic grid resolve these limitations by directly processing the HD sensor data in an integrated fashion, providing a consistent environmental model consisting of dynamic and static objects as well as free space plus class information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c61aa53833ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Was macht BASELABS eigentlich?]]></title>
            <link>https://eric-richter-ad-enthusiast.medium.com/was-macht-baselabs-eigentlich-b654f910b43c?source=rss-e6fc7788d0d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b654f910b43c</guid>
            <category><![CDATA[sensor-fusion]]></category>
            <category><![CDATA[arbeitgeber]]></category>
            <category><![CDATA[baselabs]]></category>
            <category><![CDATA[automatisiertes-fahren]]></category>
            <category><![CDATA[software-entwicklung]]></category>
            <dc:creator><![CDATA[Eric Richter]]></dc:creator>
            <pubDate>Tue, 13 Jul 2021 14:20:34 GMT</pubDate>
            <atom:updated>2022-06-01T06:21:54.599Z</atom:updated>
            <content:encoded><![CDATA[<p>Ich werde oft gefragt, was genau <a href="https://www.baselabs.de/">BASELABS</a> eigentlich entwickelt und welche Technologien dafür verwendet werden. Hier ein kleiner Einblick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JE9w7O1iqtg3pQI-xc2dDw.jpeg" /></figure><p>BASELABS erstellt Softwareentwicklungswerkzeuge und -bibliotheken, die es Softwareentwicklern und -ingenieuren bei unseren Kunden wie z.B. Continental ermöglichen, effizient sichere Algorithmen für das automatisierte Fahren zu entwickeln. Wir haben uns dabei auf die sogenannte Sensordatenfusion spezialisiert, die Daten unterschiedlicher Sensoren wie Kamera, Radar und LiDAR kombiniert und daraus ein einheitliches und fehlerbereinigtes Abbild der Fahrzeugumgebung ermittelt.</p><h3>Sensorfusion als Produkt</h3><p>Wir haben unser gesamtes Wissen über Sensorfusion in unsere Software <a href="https://www.baselabs.de/object-fusion/baselabs-create-embedded/">BASELABS Create Embedded</a> und <a href="https://www.baselabs.de/dynamic-grid/">BASELABS Dynamic Grid</a> gepackt, damit dieses Wissen allen Entwicklern zur Verfügung steht, um eigene Systeme möglichst effizient zu entwickeln. Die Software besteht aus unterschiedlichen Teilen, die beim Kunden zusammenspielen. Der Kern ist eine nach Sicherheitsnormen zertifizierte Bibliothek bzw. ein SDK, die/das verschiedene mathematische und statistische Verfahren wie den Kalman Filter beinhaltet. Für die Entwicklung der Bibliotheken verwenden wir eine stark an Rust angelehnte und selbst entwickelte Programmiersprache, die wir <a href="https://marketplace.visualstudio.com/items?itemName=BASELABS.baselabs-traitc-vscode">Trait-C</a> nennen, aber auch C++ kommt stark zum Einsatz.</p><p>Ein weiterer Teil sind grafische Benutzeroberflächen, die die teilweise komplexen technischen Lösungen einfach(er) benutz- und erlebbar machen. Wir haben es zum Beispiel geschafft, dass unsere Kunden Sensorfusionsalgorithmen über eine Oberfläche vollständig konfigurieren und daraus C-Quellcode generieren können, der sich direkt für eingebettete Systeme kompilieren und darauf ausführen lässt:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UKPaJTwKShbcORRrmZfGw.gif" /><figcaption>Benutzeroberfläche unserer Software BASELABS Create Embedded. Modelle und Parameter aller im System verwendeten Sensoren werden vom Nutzer konfiguriert. Daraus erzeugt die Software C-Quellcode, der für die jeweilige Zielplattform kompiliert wird. Im Fahrzeug werden dann die Daten aller Sensoren eingesammelt und dem erzeugten Algorithmus bzw. der Sensorfusion übergeben. Diese berechnet ein einheitliches Abbild der Fahrzeugumgebung, woraus die Fahrbefehle wie Bremsen oder Lenken abgeleitet werden. — Übrigens: Die Automobilwelt setzt stark auf die Sprachen C und C++, um den hohen Sicherheits- und Performanceanforderungen gerecht zu werden. Speziell für diese Sprachen gibt es bereits eine Vielzahl von zertifizierten Tools und Workflows, die in der Regel beibehalten werden sollen.</figcaption></figure><p>Neben Software und Algorithmen für aktuell verfügbare Fahrerassistenzsysteme wie dem automatischen Notbremsen arbeiten wir bereits auch an den nächsten Algorithmengenerationen wie zum Beispiel <em>Dynamic Grid</em> und <em>Extended Object Fusion</em>. Dabei liegt eine große Herausforderung darin, diese Verfahren für typische automotive CPUs zu optimieren.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*Kje7Mj1mFKB5oYG3S4YoMg.gif" /><figcaption>Freie Bereiche (schwarz) vs. statische Hindernisse (grau) vs. dynamische Objekte (bunt) — Mit hochauflösenden Sensoren und dem neuartigen Verfahren “Dynamic Grid” können vielfältige Objektarten inkl. Freiraum genau erfasst werden.</figcaption></figure><h3>Softwareprodukt vs. Auftragsentwicklung</h3><p>Natürlich entwickeln wir auch hin und wieder Software nach genauen Vorgaben eines Kunden, unser Fokus liegt jedoch in der Entwicklung von Softwareprodukten. Wo liegen die Unterschiede zwischen beiden Entwicklungsarten? Softwarequalität eignet sich hier nicht als Unterscheidungsmerkmal; diese hängt vor allem von der Entwicklungsphase wie z.B. Vor- oder Serienentwicklung ab.</p><p>Softwareprodukte zeichnen sich vor allem darin aus, dass sie von möglichst vielen Anwendern ohne Anpassung verwendet werden können. Dies erfordert ein sehr gutes Verständnis der Anwendungsfälle des Produktes im Vorfeld der Entwicklung, die wir durch regelmäßigen Austausch mit unseren Kunden und der Entwicklergemeinschaft erheben, oft allerdings erst durch viele (wirklich viele) Diskussionen mit unseren Experten „entdecken“, vor allem dann, wenn es am Markt (noch) nichts Vergleichbares gibt.</p><p>Ist ein Anwendungsfall einmal verstanden, geht es an die Umsetzung bzw. Implementierung, die sich oft von einer Entwicklung für einen einzelnen Kunden bzw. der Auftragsentwicklung unterscheidet. Einerseits möchte man mit einer maximal generischen Umsetzung so viele Anwendungsfälle wie möglich adressieren, andererseits soll jeder Anwendungsfall so spezifisch wie möglich gelöst werden. Diesen scheinbaren Widerspruch aufzulösen, stellt für mich eine der spannendsten Aufgaben der Softwareproduktentwicklung dar.</p><p>Zusätzlich gelten bei der Produktentwicklung in der Regel deutlich höhere Anforderungen an die Erweiter- und Wartbarkeit der Software. Ist zum Beispiel die Schnittstelle einer Bibliothek einmal veröffentlicht, können spätere Schnittstellenänderungen bei der Nutzung durch lediglich einen (Projekt-)Kunden verhältnismäßig einfach nachgezogen werden. Wird die Schnittstelle jedoch von vielen Kunden in vielleicht sogar unterschiedlichen Anwendungsfällen verwendet, stellen nachträgliche Änderungen oft eine mittlere Katastrophe dar, die wir durch sorgfältiges Schnittstellendesign oft vermeiden können.</p><h3>Big Data für die Entwicklung von Sensorfusionssystemen</h3><p>Sensorfusionsalgorithmen enthalten eine Vielzahl von statistischen Modellen, die durch den Anwender für sein spezifisches System und Sensorkombination gefunden, parametriert und angewendet werden müssen. Wir entwickeln daher gerade eine neue Software, die es ermöglicht, genau diese Modelle automatisiert zu finden und zu parametrieren.</p><p>Dafür zeichnen unsere Kunden große Datenmengen in Testfahrten auf, die dann für das Anlernen der Modelle und die Validierung in unserer Software verwendet werden — oft werden bis zu einer Million Kilometer an Daten eingefahren.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQRNELdpnt3fIlVxg3QK-w.gif" /><figcaption>Auszug aus einem Vortrag, den wir auf der diesjährigen Tech.AD Konferenz in Berlin gezeigt haben.</figcaption></figure><p>Auch hier soll eine grafische Benutzeroberfläche die oft große Komplexität beim Auswerten der Daten reduzieren und dem Kunden schnelle Ergebnisse liefern. Die GUI richtet sich vor allem an Entwickler und Ingenieure und soll technische und statistische Größen sowie Zusammenhänge konfigurier- und darstellbar machen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_aKxhECjQgWZXWfGV0aPhA.gif" /><figcaption>Moderne Radarsensoren liefern viele sogenannte Reflektionen oder Detektionen, je nachdem, von welcher Seite ein Fahrzeug vom Sensor gesehen wird. Um solche Modelle zu entwickeln, werden große Datenmengen benötigt.</figcaption></figure><p>Dafür werden die aufgezeichneten Daten im Backend aufbereitet; hier kommen Technologien wie <a href="https://spark.apache.org/">Apache Spark</a> und <a href="https://www.docker.com/">Docker</a> zum Einsatz. Für die Entwicklung der GUI haben wir uns für die Technologie <a href="https://www.avaloniaui.net/">Avalonia</a> entschieden, da sie eine XAML und MVVM basierte Entwicklung ähnlich zu WPF mit .Net (Core) ermöglicht und gleichzeitig Plattformunabhängigkeit bietet. Dadurch wird die Oberfläche neben Windows auch auf Linux nativ lauffähig, was für viele unserer Kunden ein Must-have ist.</p><h3>Womit und wie wir Software entwickeln</h3><p>Als Entwicklungsumgebung verwenden viele Kollegen Visual Studio (Code), die Programmiersprachen reichen von C über C++ (zwischen ´98 und ´20 ist alles vertreten) zu C#, Python, CUDA und unserer eigenen Sprache Trait-C. Die Verwendung von git, Jira, Code Review und Unit Testing Tools ist für uns selbstverständlich und natürlich werden alle Produkte und Projekte im Rahmen von Continuous Integration entwickelt — dafür verwenden wir TeamCity von JetBrains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*auZouG1hcW3L5kPIBG6MGg.png" /><figcaption>Continuous Integration (hier am Beispiel mit TeamCity) ermöglicht schnelle Integration und permanentes automatisiertes Testen von neuen Codebestandteilen. Fehler werden so frühzeitig erkannt und Entwickler gehen sicher, dass ihre Änderungen wie beabsichtigt funktionieren.</figcaption></figure><p>Für Entwickler bei BASELABS gibt es einen festen täglichen Termin, das sogenannte Daily Stand-Up, welches bei den meisten Teams kurz vor der Mittagspause zwischen 11:45 und 12 Uhr stattfindet und in dem sich die Team Mitglieder kurz über den aktuellen Stand austauschen. Größere Planungen finden im Mittel aller zwei Wochen statt.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b654f910b43c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sensor Models — Key Ingredient for Sensor Fusion in Automated Driving]]></title>
            <link>https://eric-richter-ad-enthusiast.medium.com/sensor-models-key-ingredient-for-sensor-fusion-in-automated-driving-cac8fd246ae1?source=rss-e6fc7788d0d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cac8fd246ae1</guid>
            <category><![CDATA[ada]]></category>
            <category><![CDATA[sensor-fusion]]></category>
            <category><![CDATA[sensor-models]]></category>
            <category><![CDATA[automated-driving]]></category>
            <dc:creator><![CDATA[Eric Richter]]></dc:creator>
            <pubDate>Fri, 05 Feb 2021 13:11:04 GMT</pubDate>
            <atom:updated>2021-02-05T13:11:04.336Z</atom:updated>
            <content:encoded><![CDATA[<h3>Sensor Models — Key Ingredient for Sensor Fusion in Automated Driving</h3><p>In automated driving, the term <em>sensor model</em> is typically used when it comes to the simulation of sensors, e.g. as part of a validation chain. While sensor models are a major aspect of simulation, they are equally important for the performance of the environmental model and its contained sensor fusion. Scalable sensor fusion architectures allow easy exchange of sensor models so that tested components can be reused and more development resources can be spent in sensor modeling.</p><h3>What is a Sensor Model?</h3><p>Regardless of whether a sensor model is used for simulation or sensor fusion, it describes (and typically approximates) how objects like cars, pedestrians and so on interact with a particular sensor. Here, “interacting” involves the two aspects <em>object detectability </em>and <em>object appearance</em>:</p><p><strong>Detectability</strong> This part of the sensor model describes <em>if </em>a sensor can detect an object. Suppose a camera is part of the sensor setup and an AI-based image detector was trained on images containing views of vehicle rear sides only. Such an image detector would correctly detect vehicles when their rear side is in the image, e.g. vehicles driving in front of the automated vehicle. However, the same image detector would not detect crossing vehicles as it was not trained on side views of vehicles. In practice it is not that black-and-white, rather it is that a sensor can detect one object better than another one, e.g. 9 out of 10 cars are detected if they are driving in front of the automated vehicle and 7 out of 10 cars are detected if they are crossing. Beside this single example, there are many object properties that may influence the <em>detection characteristic</em> of a sensor, e.g. the object aspect angle, distance, size and type. Additionally, the environment could influence the detection performance, e.g. weather or illumination conditions. Finally, the sensor’s host system may have an influence, e.g. depending on the mounting position of the sensor, the detection characteristic may differ. Depending on its application and the required model approximation quality, a resulting <em>detection model</em> may contain an arbitrary selection of the aforementioned properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5iVnmrWuBbYUWFdHr1eFQ.png" /><figcaption>Exemplary radar camera fusion where the radar‘s detection rate gets smaller with increasing object distance. Object confirmation time gets reduced if the radar’s detection characteristic is properly modeled (solid lines) compared to a radar model with constant detection rate (dashed lines).</figcaption></figure><p><strong>Appearance</strong> While the detectability part of a sensor model describes if a sensor can detect an object, the appearance model describes <em>how </em>a sensor perceives an object. For an example radar sensor, an object could “appear” to the sensor in the form of three values <em>distance</em>, <em>azimuth angle</em>, and <em>Doppler velocity</em>. From this example we can see that the appearance model includes sensor limitations, e.g. a radar can observe the radial part of the object’s velocity (the Doppler velocity) only and if an object is crossing the observed Doppler velocity contains a fraction of the actual object velocity only. Additionally, the appearance or <em>measurement model </em>typically describes the errors in the observed quantities, e.g. a radar may observe the object’s distance with ±1m accuracy. Similar to the detection characteristic, the appearance characteristic may depend on the object itself, e.g. the distance accuracy could be better for cars than for trucks, or it could depend on environment and/or host vehicle conditions.</p><h3>How Sensor Models Influence Sensor Fusion Architectures</h3><p>In theory, we could design sensor models that are very close to the real sensor behavior, e.g. physical models or highly complex phenomenological models. In reality, we are often limited in the degree of freedom for sensor modeling. This is mainly due to limitations of the intended execution hardware and a lack of relevant data for the identification and parametrization of such complex models.</p><p><strong>Hardware </strong>Typical ADAS and L2 functions run on embedded hardware such as the INFINEON AURIX safety processor that limit the choice of computationally tractable algorithms. For object fusion and tracking, the selection is often even reduced to Kalman filter based algorithms and architectures only.</p><p>Kalman filters are great as they are well known and their closed form allows for an execution on typical automotive embedded hardware. However, Kalman filters cannot directly make use of arbitrarily complex models. Instead, they are limited to the usage of so-called <em>uni</em>-modal sensor models. If, for example, cars appear differently to the sensor than trucks, then this cannot be handled by a single Kalman filter as this would require using a <em>bi</em>-modal model.</p><h3>Requirements of a Scalable Sensor Fusion Architecture</h3><p>Modifications in the architecture of the sensor fusion can compensate for this limitation up to some extend, however, these <strong>architecture modifications are model-specific</strong> and often require deep modifications of the overall algorithm and code. Especially when it comes to production usage and automotive development processes and regulations like ISO 26262, these modifications become cost and time intensive if applied manually in each and every project.</p><p><strong>Separated Sensor Models</strong> For a sensor fusion architecture to become scalable, sensor models need to be completely separated from the sensor fusion architecture. Furthermore, the sensor model itself needs to be split into the parts detectability and appearance. By this, sensor models can be developed as dedicated small units that are testable and easily exchangeable. Additionally, this simplifies model identification and parametrization.</p><p><strong>Reusability </strong>From a mathematical perspective, exchanging a sensor model in a sensor fusion algorithm is relatively easy. However, when it comes to the implementation, the exchange of a sensor model typically requires to adapt vast amount of code at different architectural levels. In particular, if the sensor fusion runs on embedded hardware and needs to ensure functional safety, replacing a sensor model should not require manual adaptation of these pieces of code, nor should it require reassurance of its safe execution. Instead, a scalable sensor fusion architecture needs to support the exchange of sensor models while safely reusing the (much larger) remaining parts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cac8fd246ae1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>