Problem In Creating two robots in RosAria
Hello All! Thank you for your attention! I have some problems in creating two robots in RosAria . Now I wanna create two robots with RosAria using the simulator MobileSim. MobileSim tells me that the ports of the robots are 8101 and 8102.So my launch file is like that below:
<node name="RosAria1" pkg="rosaria" type="RosAria">
<param name="port" value="127.0.0.1:8101" />
</node>
<node name="RosAria2" pkg="rosaria" type="RosAria">
<param name="port" value="127.0.0.1:8102" />
</node>
But when I use the cmd roslaunch rosaria XXX.launch , the error is RosAria2 could not connect to robot(Check ~port is correct ,and permission on port device).Is the reason that my port is wrong or sth else? I appreciate your help~~~
Then I find that the robots use the default port(ttyUSB0) together,so it cannot create two robots.
Now I can start the two robots together.The reason is that I have changed the name of ros::NodeHandle . Now I have another question.I wanna control my first robot.What should I do?
I think you could give a detailed answer, close the question and create a new one about how to start controlling your robots.