#include <aubo_api.h>
Definition at line 21 of file aubo_api.h.
◆ AuboApi()
| arcs::common_interface::AuboApi::AuboApi |
( |
| ) |
|
◆ ~AuboApi()
| virtual arcs::common_interface::AuboApi::~AuboApi |
( |
| ) |
|
|
virtual |
◆ getAxisInterface()
| AxisInterfacePtr arcs::common_interface::AuboApi::getAxisInterface |
( |
const std::string & |
name | ) |
|
Get external axis interface
- Parameters
-
- Returns
◆ getAxisNames()
| std::vector< std::string > arcs::common_interface::AuboApi::getAxisNames |
( |
| ) |
|
Get external axis list.
- Returns
◆ getMath()
| MathPtr arcs::common_interface::AuboApi::getMath |
( |
| ) |
|
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>();
std::shared_ptr< Math > MathPtr
◆ getRegisterControl()
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>();
std::shared_ptr< RegisterControl > RegisterControlPtr
◆ getRobotInterface()
| RobotInterfacePtr arcs::common_interface::AuboApi::getRobotInterface |
( |
const std::string & |
name | ) |
|
Get RobotInterfacePtr based on name
- Parameters
-
- 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();
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()
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>();
std::shared_ptr< RuntimeMachine > RuntimeMachinePtr
◆ getSerial()
| SerialPtr arcs::common_interface::AuboApi::getSerial |
( |
| ) |
|
- 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>();
std::shared_ptr< Serial > SerialPtr
◆ getSocket()
| SocketPtr arcs::common_interface::AuboApi::getSocket |
( |
| ) |
|
Get independent IO module interface.
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>();
std::shared_ptr< Socket > SocketPtr
◆ getSyncMove()
| SyncMovePtr arcs::common_interface::AuboApi::getSyncMove |
( |
const std::string & |
name | ) |
|
Get syncronous move interface.
- Returns
- Shared pointer to SyncMove object
◆ getSystemInfo()
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>();
std::shared_ptr< SystemInfo > SystemInfoPtr
◆ getTrace()
| TracePtr arcs::common_interface::AuboApi::getTrace |
( |
const std::string & |
name | ) |
|
Get alert interface.
- Returns
- Shared pointer of trace object
◆ d_
| void* arcs::common_interface::AuboApi::d_ { nullptr } |
|
protected |
The documentation for this class was generated from the following file: