PDF
AUBO SDK  0.26.0
Main Entrance

AuboApi More...

Functions

MathPtr arcs::common_interface::AuboApi::getMath ()
 Math Get pure mathematic related API
SystemInfoPtr arcs::common_interface::AuboApi::getSystemInfo ()
 System Information Get system info
RuntimeMachinePtr arcs::common_interface::AuboApi::getRuntimeMachine ()
 Runtime Management Get runtime api
RegisterControlPtr arcs::common_interface::AuboApi::getRegisterControl ()
 RegisterControl External registers api
std::vector< std::string > arcs::common_interface::AuboApi::getRobotNames ()
 Get robot list
RobotInterfacePtr arcs::common_interface::AuboApi::getRobotInterface (const std::string &name)
 Robot Module Get RobotInterfacePtr based on name
std::vector< std::string > arcs::common_interface::AuboApi::getAxisNames ()
 Get external axis list.
AxisInterfacePtr arcs::common_interface::AuboApi::getAxisInterface (const std::string &name)
 External Axis Get external axis interface
SocketPtr arcs::common_interface::AuboApi::getSocket ()
 Socket Network Communication Get socket
SerialPtr arcs::common_interface::AuboApi::getSerial ()
 Serial Communication
SyncMovePtr arcs::common_interface::AuboApi::getSyncMove (const std::string &name)
 Synchronized Movement Control and Axis Group Management Get syncronous move interface
TracePtr arcs::common_interface::AuboApi::getTrace (const std::string &name)
 Log and Pop-up Get alert interface
GripperInterfacePtr arcs::common_interface::AuboApi::getGripperInterface ()
 Gripper Interface Get gripper interface

Detailed Description

Function Documentation

◆ getAxisInterface()

AxisInterfacePtr arcs::common_interface::AuboApi::getAxisInterface ( const std::string & name)

External Axis Get external axis interface

Parameters
name
Returns

◆ getAxisNames()

std::vector< std::string > arcs::common_interface::AuboApi::getAxisNames ( )

Get external axis list.

Returns

◆ getGripperInterface()

GripperInterfacePtr arcs::common_interface::AuboApi::getGripperInterface ( )

Gripper Interface Get gripper interface

Returns
Shared pointer of gripper object

◆ getMath()

MathPtr arcs::common_interface::AuboApi::getMath ( )

Math Get pure mathematic related API

Returns
Shared pointer to a Math object
Python function prototype
getMath(self: pyaubo_sdk.AuboApi) -> pyaubo_sdk.Math
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
MathPtr ptr = rpc_cli->getMath();
std::shared_ptr< Math > MathPtr
Definition math.h:1080

◆ getRegisterControl()

RegisterControlPtr arcs::common_interface::AuboApi::getRegisterControl ( )

RegisterControl External registers api

Returns
Shared pointer to RegisterControl object
Python function prototype
getRegisterControl(self: pyaubo_sdk.AuboApi) -> pyaubo_sdk.RegisterControl
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
RegisterControlPtr ptr = rpc_cli->getRegisterControl();
std::shared_ptr< RegisterControl > RegisterControlPtr

◆ getRobotInterface()

RobotInterfacePtr arcs::common_interface::AuboApi::getRobotInterface ( const std::string & name)

Robot Module Get RobotInterfacePtr based on name

Parameters
nameRobot name
Returns
Shared pointer to a RobotInterface object
Python function prototype
getRobotInterface(self: pyaubo_sdk.AuboApi, arg0: str) -> pyaubo_sdk.RobotInterface
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
auto robot_name = rpc_cli->getRobotNames().front();
RobotInterfacePtr ptr = rpc_cli->getRobotInterface(robot_name);
std::shared_ptr< RobotInterface > RobotInterfacePtr

◆ getRobotNames()

std::vector< std::string > arcs::common_interface::AuboApi::getRobotNames ( )

Get robot list

Returns
robot list
Python function prototype
getRobotNames(self: pyaubo_sdk.AuboApi) -> List[str]
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
auto robot_name = rpc_cli->getRobotNames().front();
JSON-RPC request example
{"jsonrpc":"2.0","method":"getRobotNames","params":[],"id":1}
JSON-RPC response example
{"id":1,"jsonrpc":"2.0","result":["rob1"]}

◆ getRuntimeMachine()

RuntimeMachinePtr arcs::common_interface::AuboApi::getRuntimeMachine ( )

Runtime Management Get runtime api

Returns
Shared pointer to RuntimeMachine object Python function prototype getRuntimeMachine(self: pyaubo_sdk.AuboApi) -> pyaubo_sdk.RuntimeMachine
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
RuntimeMachinePtr ptr = rpc_cli->getRuntimeMachine();
std::shared_ptr< RuntimeMachine > RuntimeMachinePtr

◆ getSerial()

SerialPtr arcs::common_interface::AuboApi::getSerial ( )

Serial Communication

Returns
Shared pointer to Serial object
Python function prototype
getSerial(self: pyaubo_sdk.AuboApi) -> arcs::common_interface::Serial
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
SerialPtr ptr = rpc_cli->getSerial();
std::shared_ptr< Serial > SerialPtr
Definition serial.h:413

◆ getSocket()

SocketPtr arcs::common_interface::AuboApi::getSocket ( )

Socket Network Communication Get socket

Returns
Shared pointer to a socket object
Python function prototype
getSocket(self: pyaubo_sdk.AuboApi) -> arcs::common_interface::Socket
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
SocketPtr ptr = rpc_cli->getSocket();
std::shared_ptr< Socket > SocketPtr
Definition socket.h:663

◆ getSyncMove()

SyncMovePtr arcs::common_interface::AuboApi::getSyncMove ( const std::string & name)

Synchronized Movement Control and Axis Group Management Get syncronous move interface

Returns
Shared pointer to SyncMove object

◆ getSystemInfo()

SystemInfoPtr arcs::common_interface::AuboApi::getSystemInfo ( )

System Information Get system info

Returns
Shared pointer to SystemInfo object
Python function prototype
getSystemInfo(self: pyaubo_sdk.AuboApi) -> pyaubo_sdk.SystemInfo
C++ example
auto rpc_cli = std::make_shared<RpcClient>();
SystemInfoPtr ptr = rpc_cli->getSystemInfo();
std::shared_ptr< SystemInfo > SystemInfoPtr

◆ getTrace()

TracePtr arcs::common_interface::AuboApi::getTrace ( const std::string & name)

Log and Pop-up Get alert interface

Returns
Shared pointer of trace object