-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdefault.nix
69 lines (63 loc) · 1.71 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
lib,
stdenv,
cmake,
fmt,
python3Packages,
rosPackages,
linear-feedback-controller-msgs
}:
stdenv.mkDerivation {
pname = "linear-feedback-controller";
version = "1.0.2";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./cmake
./CMakeLists.txt
./config
./controller_plugins.xml
./include
./launch
./LICENSE
./package.xml
./src
./tests
];
};
nativeBuildInputs = [
cmake
fmt
python3Packages.python
rosPackages.humble.ament-cmake
rosPackages.humble.ament-cmake-auto
rosPackages.humble.ament-lint-auto
rosPackages.humble.eigen3-cmake-module # this is a mistake on humble
rosPackages.humble.generate-parameter-library-py
rosPackages.humble.pluginlib
];
propagatedBuildInputs = [
fmt
linear-feedback-controller-msgs
python3Packages.pinocchio
python3Packages.example-robot-data
rosPackages.humble.control-toolbox
rosPackages.humble.controller-interface
rosPackages.humble.nav-msgs
rosPackages.humble.pal-statistics
rosPackages.humble.parameter-traits
rosPackages.humble.realtime-tools
rosPackages.humble.rclcpp-lifecycle
];
doCheck = true;
# generate_parameter_library_markdown complains that build/doc exists
# ref. https://github.com/PickNikRobotics/generate_parameter_library/pull/212
enableParallelBuilding = false;
meta = {
description = "RosControl linear feedback controller with pal base estimator and RosTopics external interface.";
homepage = "https://github.com/loco-3d/linear-feedback-controller";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.nim65s ];
platforms = lib.platforms.linux;
};
}