API Overview
Available APIs
API |
Brief |
---|---|
|
Interface with the robot device(s). |
|
Interface for file transfer with the robot. The robot must be put into IDLE mode when transferring files. |
|
Interface with the robot gripper. |
|
Interface to access certain robot kinematics and dynamics data. |
|
Main interface with the robot, containing several function categories and background services. |
|
Real-time scheduler that can simultaneously run multiple periodic tasks. Parameters for each task are configured independently. |
|
Interface to online update and interact with the robot tools. All changes made to the robot tool system will take effect immediately without needing to reboot. However, the robot must be put into IDLE mode when making these changes. |
Access by OS and programming language
The supported OS and programming languages can form various OS-language combinations like Linux-C++, Windows-Python, etc. In RDK, API access varies by such combination: Linux-C++ and macOS-C++ have full access to all APIs, while the other combinations have partial access as listed below:
API |
Unix-C++ |
Windows-C++ |
Any-Python |
---|---|---|---|
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Partial (exclusion: functions marked as “Real-time”) |
|
Full |
None |
None |
|
Full |
Full |
Full |
Besides APIs, access to data structures and enums also varies by the OS-language combination:
Data Structures / Enums |
Unix-C++ |
Windows-C++ |
Any-Python |
---|---|---|---|
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Full |
|
Full |
Full |
Partial (exclusion: real-time modes) |
Note
Unix means Linux and macOS.
API documentation
The complete and detailed API documentation of the latest release can be found at https://www.flexiv.com/software/rdk/api. The API documentation of a previous release can be generated manually using Doxygen. For example, on Linux:
sudo apt install doxygen-latex graphviz
cd flexiv_rdk
git checkout <previous_release_tag>
doxygen doc/Doxyfile.in
The generated API documentation is under flexiv_rdk/doc/html/
directory. Open any html file with your browser to view it.