This commit is contained in:
trung09122002
2026-09-19 18:35:09 +07:00
parent 3896886349
commit 62b611a3eb
9 changed files with 238 additions and 30 deletions

View File

@@ -27,6 +27,7 @@
#include "vslam/ekf_se2.h"
#include "vslam/gravity_align.h"
#include "vslam/perception_pipeline.h"
#include "vslam/driver_config.h"
#include "vslam/robot_model.h"
#include "vslam/safety_monitor.h"
#include "vslam/scan_sanitizer.h"
@@ -80,6 +81,18 @@ struct AppConfig {
ScanSanitizerConfig sanitizer; // sensors.yaml
SensorRates sensors;
// Config cho driver phan cung that (--live). CHI dung o nhanh kLive:
// --sim va --replay cap cac interface nay tu SimSource/ReplaySource va
// khong doc gi o day.
//
// Hinh hoc trong `base` duoc SAO tu `robot` luc nap, khong doc rieng tu
// YAML: robot.yaml la nguon duy nhat cho hinh hoc, va mot ban sao doc lap
// trong sensors.yaml se troi khoi no ma khong ai phat hien.
LidarConfig lidar_driver; // sensors.yaml lidar
CameraConfig camera_driver; // sensors.yaml camera
McuConfig mcu_driver; // sensors.yaml mcu
BaseConfig base_driver; // sensors.yaml base + robot.yaml
WheelOdometryConfig wheel_odom; // robot.yaml + pipeline.yaml
EkfSe2Config ekf; // pipeline.yaml
PerceptionConfig perception; // pipeline.yaml + robot.yaml