Conversation
There was a problem hiding this comment.
Motion model of the vehicle has already been implemented in the following state class.
https://github.com/ShisatoYano/AutonomousVehicleControlBeginnersGuide/blob/main/src/components/state/state.py
Please refactor your code by using the above existing motion model.
| return H | ||
|
|
||
|
|
||
| def simulate_observation(robot_state, lx, ly, sigma_r, sigma_phi): |
There was a problem hiding this comment.
Please implement a sensor model to observe landmarks refer to the following existing sensor models code.
https://github.com/ShisatoYano/AutonomousVehicleControlBeginnersGuide/tree/main/src/components/sensors
| from math import atan2, sqrt | ||
|
|
||
|
|
||
| def observe_landmark(robot_state, lx, ly): |
There was a problem hiding this comment.
Please implement a landmark class refer to the existing obstacle class.
https://github.com/ShisatoYano/AutonomousVehicleControlBeginnersGuide/tree/main/src/components/obstacle
There was a problem hiding this comment.
This simulation code does not follow the existing simulation codes. Please refactor the implementation refer to these existing codes,
https://github.com/ShisatoYano/AutonomousVehicleControlBeginnersGuide/tree/main/src/simulations
Summary
EKF-SLAM Component for 2D Landmark-Based Mapping
[x, y, yaw][l_x, l_y, ...]predict_robot_stateobserve_landmarkbuild_H_matrixLandmark Management
duplicate_position_thresholdof existing landmarks.Visualization for Learning SLAM Behavior
Test Plan
Run the EKF-SLAM Simulation End-to-End