[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

  • Maintainer status: maintained
  • Maintainer: G.A. vd. Hoorn (TU Delft Robotics Institute) <g.a.vanderhoorn AT tudelft DOT nl>, Levi Armstrong (Southwest Research Institute) <levi.armstrong AT swri DOT org>
  • Author: Shaun Edwards
  • License: BSD
  • Source: git https://github.com/ros-industrial/industrial_core.git (branch: melodic)
industrial_core: industrial_deprecated | industrial_msgs | industrial_robot_client | industrial_robot_simulator | industrial_trajectory_filters | industrial_utils | simple_message

Package Summary

simple_message defines a simple messaging connection and protocol for communicating with an industrial robot controller. Additional handler and manager classes are included for handling connection limited systems. This package is part of the ROS-Industrial program.

  • Maintainer status: maintained
  • Maintainer: G.A. vd. Hoorn (TU Delft Robotics Institute) <g.a.vanderhoorn AT tudelft DOT nl>, Levi Armstrong (Southwest Research Institute) <levi.armstrong AT swri DOT org>
  • Author: Shaun Edwards
  • License: BSD
  • Source: git https://github.com/ros-industrial/industrial_core.git (branch: melodic)

Protocol

The Simple Message (SimpleMessage) protocol defines the message structure between the ROS driver layer and the robot controller itself.

Refer to REP-I0006: Message Structures of the ROS-Industrial Simple Message Protocol for a description of the protocol.

Typed Messages

The message protocol allows for an arbitrary data payload for message and communications types. However, the client/server model requires that both understand the data payload associated with the different message and communications types. The typed message class enforces the data payload structure. The typed message base class provides methods for creating topic, reply, and request messages. If used in both the client and server, the developer need not understand the structure of the data payload. Unfortunately, a typical robot controller cannot use C++ classes, and thus the developer must understand the message protocol and payload data structure in order to parse it on the robot controller side. The documentation on message specific structures can be found in the source header files. For convenience the message structure is also shown here for common message types. For a more detailed example of a typed message structure and how it is used see the following tutorial.

Generic Connections

The simple message utilizes a abstract connection (SmplMsgConnection) interface to send messages to the industrial robot controller. The interface makes two assumptions:

  1. The connection is capable of sending raw bytes
  2. The data connection has an explicit connect that establishes the connection (and an associated disconnect method). NOTE: For data connections that are connectionless, such as UDP, the connection method can be a NULL operation.

TCP socket connections have been wrapped for in the connection interface. This is the recommended connection type.

Connection Manager and Message Handlers

The Message Manager and Handler (MessageManager and MessageHandler) classes can be used to manage a connection that allows for multiple message types to be handled. The message manager contains a list of message handlers and executed the appropriate handler when a message is received. These classes are particularly useful on robot controllers which may have a limited number of connections available to them.

Byte Ordering

New in Trunk(Fuerte)/Groovy

The default library built by the simple_message package does not include any byte swapping. The inherent assumption is that the client and server have the same byte order. For some systems this is not true, and the server implementation is not capable of performing the byte swapping itself. For these systems, the simple message package has a byte swapped implementation that should be linked against. These two libraries should cover the issues related to byte order. NOTE: Float values are assumed to have the same representation. The default representation on intel based machines is IEEE 754.

Library Linking

New in Trunk(Fuerte)/Groovy

The simple message library compiles several library versions. Packages that link against the simple message package must specify which library to link to using the target_link_libraries macro in CMakeList.txt as follows:

rosbuild_add_executable(my_exe my_exe.cpp)
target_link_libraries(my_exe simple_message)
OR
target_link_libraries(my_exe simple_message_bswap)

Wireshark Protocol Dissector

A Lua Wireshark dissector plugin for the simple message protocol is available from ros-industrial/packet-simplemessage at GitHub. See the readme for information on how to install it.

Contact us/Technical support

For questions about this package or ROS-Industrial in general, please contact the developers by posting a message in the ROS-Industrial category on ROS Discourse.

Reporting bugs

Use GitHub to report bugs or submit feature requests. [View active issues]


2024-11-02 17:25