Skip to content

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Aug 27, 2020

This creates the /subt/robots Ignition Transport topic which contains robot name and configuration information.

Testing

  1. ign launch -v 4 cloudsim_sim.ign worldName:=simple_cave_01 circuit:=cave robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1 robotName2:=X2 robotConfig2:=X3_SENSOR_CONFIG_3 marsupial1:=X1:X2``

  2. ign topic -et /subt/robots should produce the following output:

param {
  params {
    key: "config"
    value {
      type: STRING
      string_value: "X1 CONFIG 1"
    }
  }
  params {
    key: "name"
    value {
      type: STRING
      string_value: "X1"
    }
  }
  params {
    key: "platform"
    value {
      type: STRING
      string_value: "X1"
    }
  }
}
param {
  params {
    key: "config"
    value {
      type: STRING
      string_value: "X3 UAV CONFIG 3"
    }
  }
  params {
    key: "name"
    value {
      type: STRING
      string_value: "X2"
    }
  }
  params {
    key: "platform"
    value {
      type: STRING
      string_value: "X3"
    }
  }
}
param {
  params {
    key: "marsupial_child"
    value {
      type: STRING
      string_value: "X2"
    }
  }
  params {
    key: "marsupial_parent"
    value {
      type: STRING
      string_value: "X1"
    }
  }
}

Signed-off-by: Nate Koenig [email protected]

Signed-off-by: Nate Koenig <[email protected]>
@nkoenig nkoenig requested a review from iche033 August 31, 2020 20:03
@nkoenig nkoenig merged commit 31c56db into distribute_niosh_docker_layers Sep 1, 2020
nkoenig added a commit that referenced this pull request Sep 1, 2020
* Distribute niosh models to different layers in the docker image

Signed-off-by: Nate Koenig <[email protected]>

* Added missing files

Signed-off-by: Nate Koenig <[email protected]>

* Publish robot name and type information (#584)

* Publish robot name and type information

Signed-off-by: Nate Koenig <[email protected]>

* adding in marsupial pairs

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

* Rename NIOSH tiles

Signed-off-by: Nate Koenig <[email protected]>

* Added niosh shell tiles

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
@nkoenig nkoenig deleted the robot_type_pub branch December 10, 2020 22:31
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

Successfully merging this pull request may close these issues.

2 participants