reloc: --slam-reloc(-auto) tu dinh vi lai trong node (tu xoay/tu di, nguoi luon thang); web ve robot mo o vi tri doan; sieu am cho xoay; LocalMatch gioi han huong
This commit is contained in:
@@ -210,7 +210,15 @@ SafetyOutput SafetyMonitor::Step(const SafetyInputs& in) {
|
||||
if (out.us_min < cfg_.us_stop_distance) {
|
||||
VSLAM_WARN_THROTTLE(1.0, "safety: sieu am " << out.us_min << " m (< "
|
||||
<< cfg_.us_stop_distance
|
||||
<< ") -- co the la KINH. Dung.");
|
||||
<< ") -- co the la KINH. Chan tien/lui, "
|
||||
"xoay tai cho de thoat.");
|
||||
// Chan TINH TIEN (robot that chi co ten us0..usN, khong biet huong tung
|
||||
// dau do) nhung GIU angular: xoay tai cho khong dua than robot lai gan vat.
|
||||
// Chan ca xoay la be tac -- mo phong 2026-09-28: sieu am 0.31 m < 0.40,
|
||||
// robot dung im, khong lenh nao ra duoc.
|
||||
out.cmd = Twist{};
|
||||
out.cmd.angular.z = std::max(-cfg_.max_angular,
|
||||
std::min(cfg_.max_angular, in.cmd->angular.z));
|
||||
return finish(SafetyState::kUsBlocked, "sieu am chan -- co the la kinh");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user