Problem In Creating two robots in RosAria

asked 2014-09-21 21:13:57 -0500

Edward Chow gravatar image

updated 2014-09-22 01:22:25 -0500

ahendrix gravatar image

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="" />
<node name="RosAria2" pkg="rosaria" type="RosAria">
    <param name="port" value="" />

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~~~

edit retag flag offensive close merge delete


Then I find that the robots use the default port(ttyUSB0) together,so it cannot create two robots.

Edward Chow gravatar image Edward Chow  ( 2014-09-21 22:35:02 -0500 )edit

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?

Edward Chow gravatar image Edward Chow  ( 2014-09-22 02:29:17 -0500 )edit

I think you could give a detailed answer, close the question and create a new one about how to start controlling your robots.

gustavo.velascoh gravatar image gustavo.velascoh  ( 2014-09-22 08:42:16 -0500 )edit