Programming control API

class mini.apis.api_setup.StartRunProgram(is_serial: bool = True)[source]

Bases: mini.apis.base_api.BaseApi

Enter programming mode api

Robot enters programming mode

Parameters

is_serial (bool) – Whether to wait for a reply, the default is True

#GetAppVersionResponse.isSuccess: Is it successful

#GetAppVersionResponse.resultCode: Return code

#GetAppVersionResponse.version

async execute()[source]

Execute the instruction to enter the programming mode

Returns

GetAppVersionResponse

class mini.apis.api_setup.StopRunProgram(is_serial: bool = True)[source]

Bases: mini.apis.base_api.BaseApi

Exit programming mode api

Robot exits programming mode

Parameters

is_serial (bool) – Whether to wait for a reply, the default is True

async execute()[source]

Execute exit programming mode instruction

Returns

DisconnectionResponse

class mini.apis.api_setup.RevertOrigin(is_serial: bool = True)[source]

Bases: mini.apis.base_api.BaseApi

Reset api

Robot reset

Parameters

is_serial (bool) – Whether to wait for a reply, the default is True

#RevertOriginResponse.isSuccess: Is it successful

#RevertOriginResponse.resultCode: Return code

async execute()[source]

Execute robot reset instruction

Returns

RevertOriginResponse