feat: warn at boot about tape keys ignored while the tape is off

This commit is contained in:
2026-10-30 14:21:38 +07:00
parent b00d320094
commit 775c16820b
5 changed files with 36 additions and 0 deletions

View File

@@ -513,6 +513,13 @@ private:
return false;
}
const std::string ignored_tape_keys = profile.ignoredTapeKeys();
if (!ignored_tape_keys.empty())
{
robot::log_warning("[trolley_detection] '%s': profile '%s': tape off, ignoring %s.",
name_.c_str(), profile_name.c_str(), ignored_tape_keys.c_str());
}
profiles_[profile_name] = profile;
}