ROS(005: Understanding ROS Services and Parameters)

$ rosservice list

$ rosservice typ /clear

$ rosservice call /clear

$ rosservice type /spawn | rossrv show

$ rosservice call /spawn 2 2 0.2 “”

 

$ rosparam list

$ rosparam set /background_r 150

$ rosservice call /clear

$ rosparam get /background_g

$ rosparam get /

 

$ rosparam dump params.yaml

$ rosparam  load params.yaml copy

$ rosparam get /copy/background_b

 

打赏