First flake environment
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
project(mg_navigation)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
|
||||
18
mg_navigation/package.nix
Normal file
18
mg_navigation/package.nix
Normal file
@ -0,0 +1,18 @@
|
||||
# Automatically generated by: ros2nix --distro jazzy
|
||||
{ lib, buildRosPackage, ament-cmake, geometry-msgs, glm, mg-msgs, mg-obstacles, rclcpp, rclcpp-action, rclcpp-components, tf2, tf2-geometry-msgs, tf2-ros }:
|
||||
buildRosPackage rec {
|
||||
pname = "ros-jazzy-mg-navigation";
|
||||
version = "0.0.0";
|
||||
|
||||
src = ./.;
|
||||
|
||||
buildType = "ament_cmake";
|
||||
buildInputs = [ ament-cmake glm ];
|
||||
propagatedBuildInputs = [ geometry-msgs mg-msgs mg-obstacles rclcpp rclcpp-action rclcpp-components tf2 tf2-geometry-msgs tf2-ros ];
|
||||
nativeBuildInputs = [ ament-cmake ];
|
||||
|
||||
meta = {
|
||||
description = "TODO: Package description";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
};
|
||||
}
|
||||
@ -2,6 +2,7 @@
|
||||
#include <functional>
|
||||
#include <thread>
|
||||
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include "rclcpp/rclcpp.hpp"
|
||||
#include "mg_navigation.hpp"
|
||||
#include "handlers/dwa.hpp"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#include "path_buffer.hpp"
|
||||
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include <glm/gtx/norm.hpp>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
Reference in New Issue
Block a user