2024-08-02 13:27:09 +00:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2024-08-02 13:27:09 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, ament-lint-auto, ament-lint-common, boost, console-bridge, linuxHeaders, pluginlib }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-clearpath-socketcan-interface";
|
2024-10-11 13:52:59 +00:00
|
|
|
version = "1.0.1-r1";
|
2024-08-02 13:27:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-11 13:52:59 +00:00
|
|
|
url = "https://github.com/clearpath-gbp/puma_motor_driver-release/archive/release/humble/clearpath_socketcan_interface/1.0.1-1.tar.gz";
|
|
|
|
name = "1.0.1-1.tar.gz";
|
|
|
|
sha256 = "094db2f3686f4067b728fac267636bc4e9ce90c6a34f13031f609e8f11461ab7";
|
2024-08-02 13:27:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-auto ];
|
|
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
|
|
|
propagatedBuildInputs = [ boost console-bridge linuxHeaders pluginlib ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Clearpath's CAN interface description with helpers for filtering and driver implementation. Further a socketcan implementation based on boost::asio is included.";
|
|
|
|
license = with lib.licenses; [ lgpl3Only ];
|
|
|
|
};
|
|
|
|
}
|