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
- 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
- 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