1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00
nix-ros-overlay/distros/rolling/ackermann-steering-controller/default.nix

26 lines
1.4 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, control-msgs, controller-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, rclcpp-lifecycle, ros2-control-test-assets, std-srvs, steering-controllers-library }:
buildRosPackage {
pname = "ros-rolling-ackermann-steering-controller";
version = "4.6.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/ackermann_steering_controller/4.6.0-1.tar.gz";
name = "4.6.0-1.tar.gz";
sha256 = "4ebf328459dd4ddcf6108a454a2859c6d28f9e9e89636f75762db7e163ad326a";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake generate-parameter-library ];
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface hardware-interface-testing ros2-control-test-assets ];
propagatedBuildInputs = [ control-msgs controller-interface hardware-interface pluginlib rclcpp rclcpp-lifecycle std-srvs steering-controllers-library ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Steering controller for Ackermann kinematics. Rear fixed wheels are powering the vehicle and front wheels are steering it.'';
license = with lib.licenses; [ asl20 ];
};
}