zxs 2 weeks ago
parent
commit
bcf8a7bbd7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      robot/robotics/message_bus.hpp

+ 0 - 2
robot/robotics/message_bus.hpp

@@ -116,8 +116,6 @@ namespace robotics {
 					}
 				}
 				else {
-					if(funcs.empty())
-						throw std::runtime_error("no function binded to topic " + str_topic);
 					_Ret result = _Ret{};
 					for (auto& fn : funcs) {
 						if (!fn.first) {