This example shows how to initialize the Airbot SDK and retrieve product information.
This example shows how to initialize the Airbot SDK and retrieve product information.Example usage:
int main() {
auto sdk = std::make_shared<AirbotSdk>("192.168.0.xxx", 50051);
if (sdk->IsRunning()) {
sdk->GetLogger()->info("SDK start running:");
sdk->GetLogger()->info("Product Info:");
auto info = sdk->GetProductInfo();
for (const auto& [key, value] : info) {
sdk->GetLogger()->info(" {}: {}", key, value);
}
}
return 0;
}
Main SDK interface for controlling Airbot robotic arm.
Namespace containing all Airbot SDK related definitions.