Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(nix): nixification complete #106

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ bag/
*~
.\#*
\#*\#

# Nix
result
31 changes: 31 additions & 0 deletions all_seaing_autonomy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
nav-msgs,
rclcpp,
rclpy,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-autonomy";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
nav-msgs
rclcpp
rclpy
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Autonomy code to deploy all_seaing_vehicle in competitions";
license = with lib.licenses; [ mit ];
};
}
43 changes: 43 additions & 0 deletions all_seaing_bringup/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-autonomy,
all-seaing-controller,
all-seaing-description,
all-seaing-driver,
all-seaing-interfaces,
all-seaing-navigation,
all-seaing-perception,
all-seaing-utility,
ament-cmake-auto,
robot-localization,
rviz-satellite,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-bringup";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-autonomy
all-seaing-controller
all-seaing-description
all-seaing-driver
all-seaing-interfaces
all-seaing-navigation
all-seaing-perception
all-seaing-utility
robot-localization
rviz-satellite
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Launch file collection for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env python3

# Does not build.
# Do not use this node as a dependency.

import rclpy
from rclpy.node import Node
from std_msgs.msg import Float64
Expand Down
39 changes: 39 additions & 0 deletions all_seaing_controller/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
geometry-msgs,
rclcpp,
rclpy,
sensor-msgs,
std-msgs,
tf-transformations,
visualization-msgs,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-controller";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
geometry-msgs
rclcpp
rclpy
sensor-msgs
std-msgs
tf-transformations
visualization-msgs
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Controller for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
21 changes: 21 additions & 0 deletions all_seaing_description/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
ament-cmake-auto,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-description";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "URDF and meshes for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
35 changes: 35 additions & 0 deletions all_seaing_driver/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
ament-cmake-auto,
cv-bridge,
mavros-msgs,
rclcpp,
rclpy,
sensor-msgs,
std-msgs,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-driver";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
cv-bridge
mavros-msgs
rclcpp
rclpy
sensor-msgs
std-msgs
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Software interface for ASV hardware";
license = with lib.licenses; [ mit ];
};
}
40 changes: 40 additions & 0 deletions all_seaing_interfaces/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
action-msgs,
ament-cmake-auto,
geometry-msgs,
rosidl-default-generators,
rosidl-default-runtime,
sensor-msgs,
std-msgs,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-interfaces";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [
ament-cmake-auto
rosidl-default-generators
];
propagatedBuildInputs = [
action-msgs
geometry-msgs
rosidl-default-runtime
sensor-msgs
std-msgs
];
nativeBuildInputs = [
ament-cmake-auto
rosidl-default-generators
];

meta = {
description = "Interfaces for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
37 changes: 37 additions & 0 deletions all_seaing_navigation/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
geometry-msgs,
nav-msgs,
rclcpp,
rclpy,
sensor-msgs,
tf2,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-navigation";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
geometry-msgs
nav-msgs
rclcpp
rclpy
sensor-msgs
tf2
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Navigation nodes for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
51 changes: 51 additions & 0 deletions all_seaing_perception/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
cv-bridge,
geometry-msgs,
image-geometry,
nav-msgs,
pcl-ros,
rclcpp,
rclpy,
sensor-msgs,
std-msgs,
tf2,
tf2-ros,
tf2-sensor-msgs,
visualization-msgs,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-perception";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
cv-bridge
geometry-msgs
image-geometry
nav-msgs
pcl-ros
rclcpp
rclpy
sensor-msgs
std-msgs
tf2
tf2-ros
tf2-sensor-msgs
visualization-msgs
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Perception nodes for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
33 changes: 33 additions & 0 deletions all_seaing_rviz_plugins/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
pluginlib,
rviz-common,
rviz-default-plugins,
rviz-rendering,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-rviz-plugins";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
pluginlib
rviz-common
rviz-default-plugins
rviz-rendering
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "RViz plugins for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}
39 changes: 39 additions & 0 deletions all_seaing_utility/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Automatically generated by: ros2nix --
{
lib,
buildRosPackage,
all-seaing-interfaces,
ament-cmake-auto,
geometry-msgs,
nav-msgs,
rclcpp,
rclpy,
sensor-msgs,
std-msgs,
visualization-msgs,
}:
buildRosPackage rec {
pname = "ros-rolling-all-seaing-utility";
version = "0.0.0";

src = ./.;

buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ];
propagatedBuildInputs = [
all-seaing-interfaces
geometry-msgs
nav-msgs
rclcpp
rclpy
sensor-msgs
std-msgs
visualization-msgs
];
nativeBuildInputs = [ ament-cmake-auto ];

meta = {
description = "Utility nodes for all_seaing_vehicle";
license = with lib.licenses; [ mit ];
};
}