Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Do without mp-units.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed May 13, 2024
1 parent 24786aa commit f202a30
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
ros_distro: [ humble ]

steps:
- name: Install mp-units
uses: lxrobotics/install-mp-units@main

- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distro }}
Expand Down
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
find_package(std_srvs REQUIRED)
find_package(mp-units REQUIRED)
find_package(rosidl_default_generators REQUIRED)
#######################################################################################
rosidl_generate_interfaces(${ROBOTEM_ROVNE_SRV_TARGET}
Expand All @@ -29,14 +28,12 @@ add_executable(${ROBOTEM_ROVNE_TARGET}
#######################################################################################
target_include_directories(${ROBOTEM_ROVNE_TARGET} PRIVATE
include
${mp_units_INCLUDE_DIRS}
)
#######################################################################################
target_compile_features(${ROBOTEM_ROVNE_TARGET} PRIVATE cxx_std_20)
#######################################################################################
target_link_libraries(${ROBOTEM_ROVNE_TARGET}
${rclcpp_LIBRARIES}
${mp-units_LIBRARIES}
${cpp_typesupport_target}
)
#######################################################################################
Expand Down
10 changes: 0 additions & 10 deletions include/robotem_rovne/Node.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,10 @@
#include <std_srvs/srv/empty.hpp>
#include <robotem_rovne/srv/angular_target.hpp>

#include <mp-units/systems/si/si.h>
#include <mp-units/systems/angular/angular.h>

/**************************************************************************************
* NAMESPACE
**************************************************************************************/

using namespace mp_units;
using mp_units::si::unit_symbols::m;
using mp_units::si::unit_symbols::mm;
using mp_units::si::unit_symbols::s;
using mp_units::angular::unit_symbols::deg;
using mp_units::angular::unit_symbols::rad;

namespace t07
{

Expand Down

0 comments on commit f202a30

Please sign in to comment.