Repository navigation
Software Requirements Odometry System
Simran Cheema edited this page Jul 15, 2026
·
1 revision
- Fuse odometry, IMU, GPS, and ZED VO for accuracy.
- Provide local and global pose via EKF.
- Visualize in Mapviz and diagnostics tools.
- Remain reliable under partial sensor loss.
- Encoders → baseline odom.
- IMU reduces short-term drift.
- GPS corrects long-term drift.
- ZED2i VO as additional source.
- All data time-synchronized via headers.
-
FR-4.2.1 Local EKF fuses encoders + IMU →
/localization/odom_local(odomframe). -
FR-4.2.2 Global EKF fuses local EKF + GPS + ZED VO →
/localization/odom_global(mapframe) and publishesmap↔odom. -
FR-4.2.3
navsat_transformconsumes local orientation (from local EKF/IMU) + GPS →/localization/navsat/odometry(world frame). -
FR-4.2.4 Publish standard
/odom,/tffor other subsystems. - FR-4.2.5 Graceful degradation under GPS loss (rely on local EKF).
-
FR-4.2.6 Parameters in
ekf_local.yaml,ekf_global.yaml.
- Mapviz shows trajectory/position.
- Display local (
odom_local) and global (odom_global) paths simultaneously. - UI shows drift and sensor health.
- Logs include timestamped odom, EKF outputs, drift metrics (CSV export).
- Testable in RViz/Gazebo with simulated encoders/IMU/GPS/ZED.
- 100 m straight-line drift tests (sim + field) with bag/CSV.
- Validate EKF vs ground truth (e.g., GPS path).
- Automated scripts compute error, drift %, update rate.
| ID | Type | Requirement |
|---|---|---|
| NFR-4.1 | Accuracy | Drift < 5% over 100 m under normal conditions. |
| NFR-4.2 | Performance | Updates ≥ 30 Hz. |
| NFR-4.3 | Reliability | Stable estimates during temporary sensor dropouts. |
| NFR-4.4 | Robustness | Handle failures (continue with IMU+encoders when GPS absent). |
| NFR-4.5 | Testability | Configurable logging for inputs and EKF outputs. |
- Local EKF drift < 2% (short-term sim + field).
- Global EKF integrates GPS + ZED VO for long-term accuracy.
- Total drift < 5% over 100 m straight-line.
- Mapviz shows local/global estimates at ≥ 30 Hz.
- Sim confirms EKF performance/parameter stability pre-hardware.