Robotics StackExchange | Archived questions

source code for robot_upstart that is distributed with ros humble

Hello,

Where can I find the source code for robot_upstart that comes with humble? I have checked the github repository pointed in package.xml, but it was for ros 1, and there was no ros 2 or humble branch.

Best Regards, C.

Asked by wintermute on 2023-03-06 21:00:27 UTC

Comments

Answers

The source of truth is the rosdistro file. If we look at the humble/distribution.yaml file and find the package of interest robot_upstart we see this: https://github.com/ros/rosdistro/blob/90d0bca39afdad90a70f04a1655b565a60bed7cd/humble/distribution.yaml#L4911-L4925

  robot_upstart:
doc:
  type: git
  url: https://github.com/clearpathrobotics/robot_upstart.git
  version: foxy-devel
release:
  tags:
    release: release/humble/{package}/{version}
  url: https://github.com/clearpath-gbp/robot_upstart-release.git
  version: 1.0.2-1
source:
  type: git
  url: https://github.com/clearpathrobotics/robot_upstart.git
  version: foxy-devel
status: maintained

The source section shows us the source code comes from the repository https://github.com/clearpathrobotics/robot_upstart.git and the branch is foxy-devel

Asked by marguedas on 2023-03-06 23:35:56 UTC

Comments

To add to this: for released packages (which robot_upstart is, see the release stanza in the YAML snippet included in @marguedas' answer), you could also follow wiki/DebianPackageSources.

deb-src entries (and apt-get source) can be used with ROS 1 and ROS 2, as they share the same package infrastructure.

At that point, a simple apt-get source ros-humble-robot-upstart should get you the source archive.

Asked by gvdhoorn on 2023-03-07 02:25:26 UTC