odom: goc quay EKF theo ENCODER mac dinh (pipeline.yaml ekf.gyro_yaw: false) -- WT61PC lech mot chieu khi chay: 07/10 gyro - encoder +0.11..+0.38 rad moi 30 s du quay trai hay phai (+71 do / 2.5 phut); log odom/yaw in hieu tuyet doi + nguon EKF
This commit is contained in:
@@ -306,7 +306,7 @@ StatusResponse LoadAppConfig(const std::string& dir, AppConfig* out) {
|
||||
{
|
||||
const StatusResponse r =
|
||||
Reject(e, "pipeline.yaml ekf",
|
||||
{"q_x", "q_y", "q_yaw", "q_vx", "q_vyaw", "max_dt"});
|
||||
{"q_x", "q_y", "q_yaw", "q_vx", "q_vyaw", "max_dt", "gyro_yaw"});
|
||||
if (!r.ok()) return r;
|
||||
}
|
||||
out->ekf.q_x = e.get<double>("q_x", out->ekf.q_x);
|
||||
@@ -315,6 +315,7 @@ StatusResponse LoadAppConfig(const std::string& dir, AppConfig* out) {
|
||||
out->ekf.q_vx = e.get<double>("q_vx", out->ekf.q_vx);
|
||||
out->ekf.q_vyaw = e.get<double>("q_vyaw", out->ekf.q_vyaw);
|
||||
out->ekf.sensor_timeout = e.get<double>("max_dt", out->ekf.sensor_timeout);
|
||||
out->ekf_gyro_yaw = e.get<bool>("gyro_yaw", out->ekf_gyro_yaw);
|
||||
|
||||
const ConfigNode d = root["depth_filter"];
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user