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

what does <rosparam param="a_list">[1, 2, 3, 4]</rosparam> mean?

asked 2021-08-12 18:50:03 -0500

cslxiao gravatar image

What does <rosparam param="a_list">[1, 2, 3, 4]</rosparam> mean in launch file? especially ">" between "a_list" and "[1,2,3,4]"

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-08-13 16:10:05 -0500

dornhege gravatar image

It's just XML tags. The '>' closes the rosparam tag. Read it like:

rosparam(attribute "param":=a_list)
    [1,2,3,4]
endrosparam
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-08-12 18:50:03 -0500

Seen: 74 times

Last updated: Aug 13 '21