2020-06-19 12:54:43 +00:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-06-19 12:54:43 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, builtin-interfaces, geometry-msgs, pythonPackages, rclpy, sensor-msgs, std-msgs, webots-ros2-core, webots-ros2-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-webots-ros2-examples";
|
2021-08-20 13:05:11 +00:00
|
|
|
version = "1.1.1-r1";
|
2020-06-19 12:54:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-20 13:05:11 +00:00
|
|
|
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_examples/1.1.1-1.tar.gz";
|
|
|
|
name = "1.1.1-1.tar.gz";
|
|
|
|
sha256 = "45bb57fdc52885b67d5a24a10ca863d405ac37944b65f5c4139f219374063ed8";
|
2020-06-19 12:54:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ builtin-interfaces geometry-msgs rclpy sensor-msgs std-msgs webots-ros2-core webots-ros2-msgs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Minimal example showing how to control a robot with ROS2 in Webots.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|