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

ros2 parameter server

asked 2018-12-20 06:16:26 -0600

ChriMo gravatar image

Hello community,

currently I'm trying to use ros2 crystal.

Now my question:

How is the feature of roscore and parameter server solved in ros2 ?

e.g. load urdf and verify model with rviz2

Thanks for any hints

Cheers Chrimo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2018-12-20 13:57:00 -0600

William gravatar image

There's intentionally no "global parameter server" in ROS 2 as all parameters are now "owned" by individual nodes.

It would be possible to create a node called the "global parameter server" which allows anyone to set parameters on it and read parameters from it. We've discussed implementing this and even providing API's in rclcpp and rclpy to make is easy to use it, but we've not had time to do that.

Specifically for the urdf and rviz2, we changed to using a topic to communicate the robot description, though there's an open pr to have an option to use a parameter and you tell rviz on which node the parameter exists (e.g. the robot_state_publisher), see:

https://github.com/ros2/robot_state_p...

And:

https://github.com/ros2/rviz/pull/362

edit flag offensive delete link more

Comments

Hello William,

many thanks for your detailed answers.

Cheers Chrimo

ChriMo gravatar image ChriMo  ( 2018-12-20 14:01:53 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-12-20 06:16:26 -0600

Seen: 1,469 times

Last updated: Dec 20 '18