SDK Overview
About 215 wordsLess than 1 minute
2025-05-29
SDK Communication Interface Introduction
- Current software version does not support GST video stream transmission
Gen1 uses LCM/GRPC/UDP as message middleware, with main data interaction modes: topics (subscribe/publish) and RPC (request/response)
- Topics (Subscribe/Publish): Receivers subscribe to specific messages, senders send messages to receivers based on subscription lists, mainly used for medium-high frequency or continuous data interaction.
- RPC (Request/Response): Question-answer mode, implementing data acquisition or operations through requests. Used for low-frequency or data interaction during function switching.
Main calling methods for topics and RPC interfaces: functional interfaces
- Functional Interface: Encapsulates API calls into function calls for user convenience.
Getting the SDK
magicbot-gen1_sdk is MagicLab's next-generation robot development SDK. The SDK encapsulates high-level motion control, low-level motor control, voice control and other interfaces, and provides related functional interfaces. You can refer to our provided SDK tutorials to learn robot control and complete Gen1 secondary development;
SDK Download Address:
- Notice: Some interfaces and types on the official website documentation may lag behind GitHub iteration pace due to official website launch timing. Please refer to GitHub interfaces and type definitions for accuracy;