No version for distro galactic. Known supported distros are highlighted in the buttons above.

slider_publisher package from slider_publisher repo

slider_publisher

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/oKermorgant/slider_publisher.git
VCS Type git
VCS Version ros2
Last Updated 2021-05-20
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

This packages proposes a slider-based publisher node similar to the joint_state_publisher, but that can publish any type of message.

Additional Links

No additional links.

Maintainers

  • Olivier Kermorgant

Authors

No additional authors.

slider_publisher

This packages proposes a slider-based publisher node similar to the joint_state_publisher, but that can publish any type of message.

Several examples are given: * ros2 launch example.launch for timestamped Twist (cmd_vel) * ros2 launch example.launch file:=Twist.yaml for non-timestamped Twist * ros2 launch example.launch file:=VelPose.yaml for 2 topics (Twist + Pose) * ros2 launch example.launch file:=MultiArray.yaml for a topic with 4 floats

Array-based messages are possible only for floating point arrays.

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

topic_to_be_published:  
    type: full message type               (geometry_msgs/Twist)  
    key_as_in_gui:                        (vx)  
        to: corresponding_message_field   (linear.x)  
        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.

CHANGELOG

Changelog for package slider_publisher

1.0.2 (2021-04-18)

  • README typo
  • Contributors: Olivier Kermorgant

1.0.0 (2020-06)

  • ROS 2 branch

0.1.1 (2017-11-23)

  • title is now node name
  • Twist without default
  • velocity -> twist
  • Update README.md
  • topic paths
  • without python setup as its only an executable
  • now displays topics in GUI
  • works for arrays of float
  • default timestamp if in message header
  • more README
  • initial commit
  • Contributors: Olivier Kermorgant

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

Deps Name
1 rqt_gui_py

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged slider_publisher at answers.ros.org

slider_publisher package from slider_publisher repo

slider_publisher

Package Summary

Tags No category tags.
Version 1.1.0
License MIT
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/oKermorgant/slider_publisher.git
VCS Type git
VCS Version ros1
Last Updated 2021-05-20
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The slider_publisher package

Additional Links

No additional links.

Maintainers

  • Olivier Kermorgant

Authors

No additional authors.

slider_publisher

This package proposes a slider-based publisher node similar to the joint_state_publisher, but that can publish any type of message.

Several examples are given: * roslaunch example.launch for timestamped Twist (cmd_vel) * roslaunch example.launch file:=Twist.yaml for non-timestamped Twist * roslaunch example.launch file:=VelPose.yaml for 2 topics (Twist + Pose) * roslaunch example.launch file:=MultiArray.yaml for a topic with 4 floats

Array-based messages are possible only for floating point arrays.

The packages reduces to a single node that has to be called either with a ~file param or an argument leading to a YAML file with the following structure (examples corresponding to the VelPose.yaml file):

topic_to_be_published:  
    type: full message type               (geometry_msgs/Twist)  
    key_as_in_gui:                        (vx)  
        to: corresponding_message_field   (linear.x)  
        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. All sliders may also have a default value defined with the default keyword.

CHANGELOG

Changelog for package slider_publisher

1.1.0 (2021-05-05)

  • bump cmake version to comply with policy CMP0048
  • Contributors: Olivier Kermorgant

1.0.0 (2021-04-19)

  • Update README.md
  • baxter example
  • Remove dependency to sympy
  • empty lines
  • Python 3 compat
  • solve bug when multiple keys with same name
  • robust eval for numeric vs PI expressions
  • with RPY sliders
  • multiarray bug in some cases
  • fix init bug for arrays
  • Contributors: Olivier Kermorgant

0.1.1 (2017-11-23)

  • title is now node name
  • Twist without default
  • velocity -> twist
  • Update README.md
  • topic paths
  • without python setup as its only an executable
  • now displays topicsin GUI
  • ok for arrays of float
  • Merge branch \'master\' of github.com:oKermorgant/slider_publisher README from GH
  • default timestamp if in message header
  • Update README.md
  • more README
  • initial commit
  • Contributors: Olivier Kermorgant

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged slider_publisher at answers.ros.org

No version for distro melodic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.