ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ROS2 topic name validation

asked 2022-03-14 15:09:39 -0500

a.g gravatar image

Is there a way to validate topic names in rclcpp? For ROS1 I was using the validate function defined here. Is there anything that is equivalent in C++ for ROS2?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-03-15 03:15:19 -0500

ljaniec gravatar image

There are some common utility functions in combination with "Topics" or "Services" in rmw: ROS Middleware Abstraction Interface:

https://docs.ros2.org/latest/api/rmw/

image description

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-03-14 15:09:39 -0500

Seen: 189 times

Last updated: Mar 15 '22