머신러닝

8 Parameter Server: rosparam

Riella 2020. 7. 12. 05:54
728x90

Through the parameter server, you can interact with the server.

According to ROS wiki, the parameter server is a shared, multi-variate dictionary that is accessible via network APIs

Also, nodes use this server to store and retrieve parameters at runtime.

When you type the command:

rosparam list

You can see the list of the parameters.

 

Also, the below command shows the information about a specific parameter

rosparam get [parameter]

for example, (it might be different on your computer, and put one of the parameters listed in shell)

rosparam get /roslaunch/uris/host_desktop_s2934st__50225

you can get the URL of the host desktop.

 

If you write up to part of the parameter,

rosparam get /roslaunch/uris/
rosparam get /roslaunch/

you will be able to see the rest parameters.