-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
SDO acyclic exchange using ROS2 services | ||
======================================== | ||
|
||
Service Data Objects (SDO) contain object dictionary entries that can be exchanged acyclically. SDO works as a mailbox sending and buffering received data. This communication is acyclic and is dependent on available bandwidth in the communication cycle. This communication is not deterministic and is best suited for transmitting configuration data. | ||
|
||
The EtherCAT Driver ROS2 stack comes with a service server that allows the exchange of data with an EtherCAT slave using ROS2 services through SDO. | ||
The following services are available: | ||
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Service | ||
- Interface | ||
- Description | ||
* - :code:`ethercat_manager/get_sdo` | ||
- :code:`ethercat_msgs::srv::GetSdo` | ||
- Read data from slave SDO register | ||
* - :code:`ethercat_manager/set_sdo` | ||
- :code:`ethercat_msgs::srv::SetSdo` | ||
- Write data to slave SDO register | ||
|
||
Usage | ||
----- | ||
|
||
Build and source the :code:`ethercat_manager` package and run: | ||
|
||
.. code-block:: shell | ||
$ ros2 run ethercat_manager ethercat_sdo_srv_server |