slope: test doc tu dong (--slope-test) -- dinh vi lai xong robot tu tim truc doc tren ban do (do cao san cua node), quay mat xuong doc, cho nut Y (gamepad.button_test) roi chay N luot xuong/len, moi luot mot van toc (mac dinh 10 luot 0.10..0.46 m/s)
Lenh di qua FSM an toan nhu moi lenh khac; dung han khi lech duong > 0.4 m, scan mat khop 1.5 s, pose nhay > 0.3 m, nghieng > 20 do. Do lech dinh vi 2 lan/giay (khop scan voi likelihood field, doc lap RTAB-Map) ra logs/slope_test_<gio>.csv + bang tong. Sim 08/10 (slope_two_ramps, 10 luot): lech that trung vi 0.9 cm, max 3.0 cm, sai z trung vi 0.3 cm, khong troi tu luot 1 den 10.
This commit is contained in:
@@ -765,7 +765,7 @@ StatusResponse LoadAppConfig(const std::string& dir, AppConfig* out) {
|
||||
"min_angular_kick", "idle_publish_sec", "reopen_period_sec",
|
||||
"turbo_linear", "turbo_angular", "slow_linear", "slow_angular",
|
||||
"axis_linear", "axis_linear_dpad", "axis_angular",
|
||||
"axis_angular_dpad", "button_enable", "button_zero",
|
||||
"axis_angular_dpad", "button_enable", "button_zero", "button_test",
|
||||
"button_turbo", "button_slow", "invert_linear",
|
||||
"invert_angular", "lt_stop", "axis_lt", "lt_press_above"});
|
||||
if (!r.ok()) return r;
|
||||
@@ -805,6 +805,7 @@ StatusResponse LoadAppConfig(const std::string& dir, AppConfig* out) {
|
||||
out->gamepad.button_enable =
|
||||
gp.get<int>("button_enable", out->gamepad.button_enable);
|
||||
out->gamepad.button_zero = gp.get<int>("button_zero", out->gamepad.button_zero);
|
||||
out->gamepad.button_test = gp.get<int>("button_test", out->gamepad.button_test);
|
||||
out->gamepad.button_turbo =
|
||||
gp.get<int>("button_turbo", out->gamepad.button_turbo);
|
||||
out->gamepad.button_slow = gp.get<int>("button_slow", out->gamepad.button_slow);
|
||||
|
||||
Reference in New Issue
Block a user