Skip to content

Software

slider_publisher

From github.com/oKermorgant/slider_publisher (opens in a new tab)

  • Middleware
  • Tool
  • MIT

A ROS 2 node that shows sliders, checkboxes and text inputs driven by a YAML file, and publishes any message or calls any service from them.

Facts

GitHub stars
21read on 29 Nov 2026
Last update
26 Aug 2026Newest commit on ros2
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Beginner

Checked on GitHub on 29 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit ee79ad1 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Works like joint_state_publisher but can publish any message type, not only joint states.
  • Each topic or service is described in a YAML file, mapping input keys to message fields.
  • Fields can be set with min, max and default values; without bounds the input is text.
  • Quaternions can be entered as roll, pitch and yaw and are converted before publishing.
  • Service types make the matching slider call the service after waiting for the server.
  • Publication rate is set with the rate parameter, from 0 to 100 Hz.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 26 Aug 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit ee79ad1

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @oKermorgant, at commit ee79ad1, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

slider_publisher

This ROS 2 package proposes a slider-based publisher node similar to the joint_state_publisher, but that can publish any message or service.

ROS Packages

Examples

Many examples are given, especially

  • ros2 launch slider_publisher example.launch file:=BasicTypes.yaml for the 4 basic types
  • ros2 launch slider_publisher example.launch file:=Twist.yaml for timestamped Twist (cmd_vel)
  • ros2 launch slider_publisher example.launch file:=tf.yaml for a TF message
  • ros2 launch slider_publisher example.launch file:=VelPose.yaml for 2 topics (Twist + Pose)
  • ros2 launch slider_publisher example.launch file:=MultiArray.yaml for a topic with 4 floats
  • ros2 launch slider_publisher add_two_ints.launch for a service call (uses demo_nodes_cpp server)

Array-based messages are also possible (nested arrays are not).

The packages reduces to a single node that has to be given a YAML file with the following structure (examples corresponding to the VelPose.yaml file):

topic_to_be_published:  
    type: full message or service type    (geometry_msgs/Twist or geometry_msgs/msg/Twist)
    qos_durability: QOS durability        (VOLATILE or TRANSIENT_LOCAL or SYSTEM_DEFAULT; VOLATILE if not specified)
    key_as_in_gui:                        (vx, can also be the message field)
        to: corresponding_message_field   (linear.x if not used as the key or not unique field)
        min: slider minimum value         (-1)
        max: slider maximum value         (+1)  
        default: slider default value     (if not: (min+max)/2)
    other_key:  
        ...
other_topic_to_be_published:  
    type...

Hard-coded numeric values (bounds / constant values in messages) can be defined using fractions of pi.

3D rotations (ie quaternions) can be parameterized as roll / pitch / yaw (see RPY.yaml). While these fields are of course not part of a Quaternion message, the corresponding 3D rotation will be built and published.

If the type is a service interface then the corresponding slider will call the service, after waiting for the server.

Input controls

Input will rely either on a checkbox (Bool type) or a text input.

  • Numeric types: if min/max values are provided, a slider will also be available
  • All types: if the default value is a list, a combobox will be used for the input, the first element of the list being the default value (see e.g. tf.yaml example)
Parameters
  • config (string): this parameter has the same effect as the raw file argument, that is the path to the YAML configuration file
  • rate (double): publication rate (0-100 Hz)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.