Skip to content

Duatic/soem_interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOEM Interface

NOTE: This is a fork of the original package maintained by Duatic.

Overview

This software package serves as a C++ interface for one or more EtherCAT devices running on the same bus. The lower level EtherCAT communication is handled by the SOEM library.

The soem_interface has been developed on Ubuntu 18.04 LTS with ROS Melodic.

The source code is released under the GPLv3 license. A copy of the license is available in the COPYING file.

Author: Markus Staeuble

Affiliation: Robotic Systems Lab - ETH Zurich

Maintainer: Johannes Pankert, [email protected]

Contributors: Johannes Pankert, Jonas Junger, Lennart Nachtigall

Installation

Dependencies

Repo url license content
message_logger https://github.com/leggedrobotics/message_logger.git BSD 3-Clause simple log streams

Classes

EthercatSlaveBase

This is an abstract base class for an ethercat slave. The ethercat slave class holds a non owning reference to the EthercatBusBase it is on (bus_). EthercatSlaves should stage their tx messages before writing to the ethercat bus in the updateWrite() method using the bus_ writeRxPdo() method. Similarly, the slaves can retrieve the buffered read messages from the bus with the readTxPdo() method in updateRead().

EthercatBusBase

This class represents a physical ethercat bus containing multiple ethercat slaves. It manages the slaves on the bus using the methods from soem. With updateRead() and updatewrite() the staged slave messages are written/read to/from all the slaves on the bus simultaneously. EthercatSlaves can be added with addSlave(). After all the slaves have been added the startup() method to actually start the communication of the bus.

EthercatBusManagerBase

If multiple buses are connected to the same master then the buses are managed by the EthercatBusManagerBase.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published