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-07-23 13:01:27 +00:00
|
|
|
version = "1.1.0-r1";
|
2020-06-19 12:54:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-23 13:01:27 +00:00
|
|
|
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_examples/1.1.0-1.tar.gz";
|
|
|
|
name = "1.1.0-1.tar.gz";
|
|
|
|
sha256 = "c7d8c918efe307d95f38674b140271d432982068279c02903dec3bc999fa692d";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|