Commit graph

5 commits

Author SHA1 Message Date
Michal Sojka
21a6dbee67 Update ros2-basic example to include ros-core and colcon
Previously, ros-core was not included presumably due to its dependency
on ros2doctor, which depended on ifcfg package unavailable in nixpkgs.
Since ros2cli version 0.17.0 (2022-01-25) ifcfg is no longer necessary
as it was replaced by psutils [1]. This means that we can use ros-core
without problems instead of manually specifying its dependencies such
ros-environment, ros2topic, etc.

In addition to ros-core, colcon is a basic tool for ROS 2. Include it
in the example too.

[1]: cc5d6b1f9b
2023-06-18 22:58:40 -04:00
Michal Sojka
4e05a1caca Refactor examples to allow passing pkgs as an argument
This will be useful in the next commit, where we integrate the example
into flake.nix.
2023-04-08 14:01:19 -04:00
Ben Wolsieffer
a582b5e465 Update ROS2 example to humble. 2022-11-06 15:14:38 -05:00
Ben Wolsieffer
0260ffc9ff Reduce ROS2 closure sizes and make example work out of the box 2021-03-14 21:23:53 -04:00
Ben Wolsieffer
2ebc4e6242 Add very basic ROS2 example. 2021-03-12 00:33:54 -05:00