Show EOL distros:
Package Summary
A Python-based implementation of the ROS serial protocol.
- Author: Michael Ferguson
- License: BSD
- Repository: ros-pkg
- Source: hg https://kforge.ros.org/rosserial/hg
Package Summary
A Python-based implementation of the ROS serial protocol.
- Author: Michael Ferguson
- License: BSD
- Source: hg https://kforge.ros.org/rosserial/hg (branch: default)
Package Summary
A Python-based implementation of the ROS serial protocol.
- Author: Michael Ferguson
- License: BSD
- Source: hg https://kforge.ros.org/rosserial/hg (branch: default)
Package Summary
A Python-based implementation of the ROS serial protocol.
- Maintainer status: developed
- Maintainer: Michael Ferguson <mferguson AT willowgarage DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: groovy-devel)
Package Summary
A Python-based implementation of the ROS serial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: hydro-devel)
Package Summary
A Python-based implementation of the ROS serial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: indigo-devel)
Package Summary
A Python-based implementation of the ROS serial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: jade-devel)
Package Summary
A Python-based implementation of the rosserial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: jade-devel)
Package Summary
A Python-based implementation of the rosserial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: jade-devel)
Package Summary
A Python-based implementation of the rosserial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: melodic-devel)
Package Summary
A Python-based implementation of the rosserial protocol.
- Maintainer status: maintained
- Maintainer: Paul Bouchier <paul.bouchier AT gmail DOT com>, Mike Purvis <mpurvis AT clearpathrobotics DOT com>
- Author: Michael Ferguson
- License: BSD
- Source: git https://github.com/ros-drivers/rosserial.git (branch: noetic-devel)
Contents
Overview
The rosserial_python package contains a Python implementation of the host-side rosserial connection. It automatically handles setup, publishing, and subscribing for a connected rosserial-enabled device.
Note that you need to install pyserial for this to work (try pip install pyserial).
Nodes
serial_node.py
Interface to a rosserial-enabled device. This node automatically spins up subscribers and publishers based on the configuration information stored in the device.Parameters
~port (str, default: /dev/ttyUSB0)- Name of port to use.
- Baud rate, in bps.
Examples
To run the node with a different port and baud rate, for example on /dev/ttyACM1, you must specify the ~port and ~baud parameters on the command line:
rosrun rosserial_python serial_node.py _port:=/dev/ttyACM1 _baud:=115200
You can also specify these parameters as part of your launch file:
<launch> <node pkg="rosserial_python" type="serial_node.py" name="serial_node"> <param name="port" value="/dev/ttyACM1"/> <param name="baud" value="115200"/> </node> </launch>