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

Publish robot name and type information #584

Merged
merged 2 commits into from
Sep 1, 2020

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 nate@openrobotics.org

Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
@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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* Distribute niosh models to different layers in the docker image

Signed-off-by: Nate Koenig <nate@openrobotics.org>

* Added missing files

Signed-off-by: Nate Koenig <nate@openrobotics.org>

* Publish robot name and type information (#584)

* Publish robot name and type information

Signed-off-by: Nate Koenig <nate@openrobotics.org>

* adding in marsupial pairs

Signed-off-by: Nate Koenig <nate@openrobotics.org>

Co-authored-by: Nate Koenig <nate@openrobotics.org>

* Rename NIOSH tiles

Signed-off-by: Nate Koenig <nate@openrobotics.org>

* Added niosh shell tiles

Signed-off-by: Nate Koenig <nate@openrobotics.org>

Co-authored-by: Nate Koenig <nate@openrobotics.org>
@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.

None yet

2 participants