rosparam: Can't set parameters on Master, via launch file
(ROS Fuerte)
I've setup and tested 2 PCs to talk across a network. There's a client node and a master node. Both can ping each other via hostname.
I'm starting the client using a launch file that includes:
<env name="ROS_MASTER_URI" value="http://master_pc:11311" />
<rosparam name="test" value"foo" />
but this parameter is not getting added to the Parameter Server on the master PC.
Only if I set the environment variable in bash:
export ROS_MASTER_URI=http://master_pc:11311
and then run the launch file does the test parameter get added to the Param Server.
ROS_IP and ROS_HOSTNAME are not set anywhere.
Can anyone please suggest why?
.