Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add more than 2 robots to map #209

Open
alexcn3 opened this issue Jan 26, 2021 · 0 comments
Open

Can't add more than 2 robots to map #209

alexcn3 opened this issue Jan 26, 2021 · 0 comments

Comments

@alexcn3
Copy link

alexcn3 commented Jan 26, 2021

I am trying to visualize a swarm with stdr and using my launch file, I've added three robots but only two appear whenever I run the simulator. The two that appear are inconsistent so it does not seem to be a problem with notation. I'm not sure if this is a bug or a fault of my own. My launch file is described below:

<include file="$(find stdr_robot)/launch/robot_manager.launch"/>
 
<node type="stdr_server_node"
      pkg="stdr_server"
      name="stdr_server"
      outputs="screen"
      args="$(find stdr_resources)/maps/simple_rooms.yaml"/>
      
<node pkg="tf"
      type="static_transform_publisher"
      name="world2map"
      args="0 0 0 0 0 0  world map 100"/>
      
<include file="$(find stdr_gui)/launch/stdr_gui.launch"/>

<node pkg="stdr_robot"
      type="robot_handler"
      name="$(anon robot_spawn1)"
      args="add $(find stdr_resources)/resources/robots/simple_robot.xml 1 1 0"/>
    
   <node pkg="stdr_robot"
      type="robot_handler"
      name="$(anon robot_spawn2)"
      args="add $(find stdr_resources)/resources/robots/simple_robot.xml 2 1 0"/>

   <node pkg="stdr_robot"
      type="robot_handler"
      name="$(anon robot_spawn3)"
      args="add $(find stdr_resources)/resources/robots/simple_robot.xml 3 1 0"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant