Documentation Status

Cannot load information on name: shared_serial, distro: electric, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
shared_serial

Package Summary

Documented

Shared serial port with locking functionality

Cannot load information on name: shared_serial, distro: groovy, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

Package Summary

Released Documented

Shared serial port with locking functionality

Package Summary

Released Continuous integration Documented

Shared serial port with locking functionality

Cannot load information on name: shared_serial, distro: jade, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: shared_serial, distro: kinetic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: shared_serial, distro: lunar, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: shared_serial, distro: melodic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

Documentation

Shared_serial is a server that handles concurrent access to a serial port. This may be useful when multiple devices are connected to the same multi-drop bus (e.g. RS485) and you want to keep the system modular. It comes with a C++ client library for easy access, but can be used through normal messages and services as well.

To launch the node, use a launch file that sets the port and baud rate, like in

<launch>
        <node name="motor_comm" pkg="shared_serial" type="server">
                <param name="port_name" value="/dev/ttyUSB0"/>
                <param name="port_type" value="RS485_FTDI"/>
                <param name="baud_rate" value="921600"/>
        </node>
</launch>

Possible port types are RS232, RS485_FTDI, RS485_EXAR, RS485_SMSC and TCP. For TCP, the port name is "ip:port". The default 3mxl baud rate is 921600.

Report a Bug

Use trac to report bugs or request features. [ View active tickets ]

Wiki: shared_serial (last edited 2013-10-18 13:07:25 by WouterCaarls)