Skip to content

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

@alexcn3

Description

@alexcn3

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"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions