mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 02:21:35 +08:00
uavcan_nodetool - fixed node name
This commit is contained in:
@@ -354,7 +354,7 @@ int main(int argc, const char** argv)
|
|||||||
}
|
}
|
||||||
const int self_node_id = std::stoi(argv[1]);
|
const int self_node_id = std::stoi(argv[1]);
|
||||||
const std::vector<std::string> iface_names(argv + 2, argv + argc);
|
const std::vector<std::string> iface_names(argv + 2, argv + argc);
|
||||||
uavcan_linux::NodePtr node = initNode(iface_names, self_node_id, "org.uavcan.linux_test_node_status_monitor");
|
uavcan_linux::NodePtr node = initNode(iface_names, self_node_id, "org.uavcan.linux_nodetool");
|
||||||
runForever(node);
|
runForever(node);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user