System Status Types

PowerStatus

class PowerStatus:
    is_charging: bool  # Whether charging
    value: float       # Battery percentage (0-100)

ExecutionResult

class ExecutionResult:
    is_success: bool      # Whether execution is successful
    error_message: str    # Error message
    error_code: ErrorCode # Error code

SensorStatus

class SensorStatus:
    class StateCode(enum.IntEnum):
        STATE_DISABLE = 0 # Disabled
        STATE_ENABLE = 1 # Enabled
        STATE_STANDBY = 2 # Standby/low-power mode
        STATE_CALIBRATING = 3 # Calibrating state
        STATE_DEFAULT = 255 # Default, before initialization

    class ErrorCode(enum.IntEnum):
        ERROR_HEALTHY = 0 # Healthy
        ERROR_OFFLINE = 1 # Offline
        ERROR_WARNING_TEMPERATURE = 2 # Warning temperature
        ERROR_UNKNOWN = 254 # Undefined error
        ERROR_DEFAULT = 255 # Default state, before initialization

RobotStaticInfo

class RobotstaticInfo:
    model_type: RobotModelType
    model: str
    robot_id: int
    device_sn: str
    device_name: str
    software_version: str
    hardware_version: str  # reserved
    device_ip: list[str]

RobotDynamicInfo

class RobotDynamicInfo:
    power_status: PowerStatus
    runtime_info: RobotRuntimeInfo

RobotRuntimeInfo

class RobotRuntimeInfo:
    cpu_load_percent: float
    gpu_load_percent: float
    memory_usage_mb: float
    core_temp_celsius:

SaveMapParam

class SaveMapParam:
    map_name: str

StartLocalizationParam

class StartLocalizationParam(betterproto2.Message):
    map_name: str
    use_init_pose: bool
    init_pose: _geometry_msgs__.Pose
    """
    Initial pose in map coordinate system, valid only when use_init_pose is true