Performance: Localization in known map
This affects the real-time responsiveness and smoothness of robot navigation by impacting sensor data processing and map matching speed.
Use an adaptive Monte Carlo Localization (AMCL) with optimized particle count and sensor data preprocessing to reduce noise.
Use a brute-force particle filter with a very high number of particles without adaptive resampling or sensor data filtering.
| Pattern | CPU Usage | Latency per Update | Memory Usage | Verdict |
|---|---|---|---|---|
| High particle count brute-force filter | Very High | 100+ ms | High | [X] Bad |
| Adaptive Monte Carlo Localization with sensor filtering | Moderate | Under 20 ms | Moderate | [OK] Good |
<node pkg="amcl" type="amcl" name="amcl"> <param name="use_map_topic" value="true"/> <param name="initial_pose_x" value="2.0"/> <param name="initial_pose_y" value="3.0"/> </node>
initial_pose_x and initial_pose_y do?Pass the test and this pattern moves unknown