mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 10:43:34 +08:00
Renaming: NodeInitializer --> NetworkCompatibilityChecker
This commit is contained in:
@@ -24,7 +24,7 @@ static uavcan_linux::NodePtr initNode(const std::vector<std::string>& ifaces, ua
|
||||
* Starting the node. This may take a few seconds.
|
||||
*/
|
||||
std::cout << "Starting the node..." << std::endl;
|
||||
uavcan::NodeInitializationResult init_result;
|
||||
uavcan::NetworkCompatibilityCheckResult init_result;
|
||||
const int start_res = node->start(init_result);
|
||||
std::cout << "Start returned: " << start_res << std::endl;
|
||||
ENFORCE(0 == start_res);
|
||||
|
||||
@@ -109,7 +109,7 @@ static uavcan_linux::NodePtr initNode(const std::vector<std::string>& ifaces, ua
|
||||
node->setNodeID(nid);
|
||||
node->setName(name.c_str());
|
||||
|
||||
uavcan::NodeInitializationResult init_result;
|
||||
uavcan::NetworkCompatibilityCheckResult init_result;
|
||||
const int start_res = node->start(init_result);
|
||||
ENFORCE(0 == start_res);
|
||||
if (!init_result.isOk())
|
||||
|
||||
@@ -17,7 +17,7 @@ static uavcan_linux::NodePtr initNode(const std::vector<std::string>& ifaces, ua
|
||||
node->setNodeID(nid);
|
||||
node->setName(name.c_str());
|
||||
|
||||
uavcan::NodeInitializationResult init_result;
|
||||
uavcan::NetworkCompatibilityCheckResult init_result;
|
||||
const int start_res = node->start(init_result);
|
||||
ENFORCE(0 == start_res);
|
||||
if (!init_result.isOk())
|
||||
|
||||
Reference in New Issue
Block a user