How to pass values to a custome struct typed param during roslaunch?
Hi, I have defined a node to accept a simple struct as param:
struct coord{
float x;
float y;
};
How do I feed values to the coord type params when I launch the node using a .launch file? e.g. I have a
coord goal;
parameter variable, and consequently I want to pass values for goal.x and goal.y through the node.launch file. How can I do this? Using the following works? If so, is it the best idea?
<arg name="goal.x" default="0.0"/> <arg name="goal.y" default="0.0"/>