mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 09:30:34 +08:00
CATS and network compatibility checker removed
This commit is contained in:
@@ -51,13 +51,6 @@ uavcan_linux::NodePtr initNode(const std::vector<std::string>& ifaces, uavcan::N
|
||||
const int start_res = node->start();
|
||||
ENFORCE(0 == start_res);
|
||||
|
||||
uavcan::NetworkCompatibilityCheckResult check_result;
|
||||
ENFORCE(0 == node->checkNetworkCompatibility(check_result));
|
||||
if (!check_result.isOk())
|
||||
{
|
||||
throw std::runtime_error("Network conflict with node " + std::to_string(check_result.conflicting_node.get()));
|
||||
}
|
||||
|
||||
node->setStatusOk();
|
||||
|
||||
return node;
|
||||
|
||||
Reference in New Issue
Block a user