nix-ros-overlay/distros/jazzy/ackermann-steering-controller/default.nix

26 lines
1.4 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, backward-ros, 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-jazzy-ackermann-steering-controller";
version = "4.21.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/jazzy/ackermann_steering_controller/4.21.0-1.tar.gz";
name = "4.21.0-1.tar.gz";
sha256 = "b96030c642f4f5069af7711e31f61a7986cade5be1c7cc4f1d9b81ffc44c22b5";
};
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 = [ backward-ros 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 ];
};
}