moved ManualVelocitySmoothing to motion_planning lib

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst 2021-08-24 20:08:31 +03:00 committed by Silvan Fuhrer
parent 924298e9c3
commit 7cb99f521c
10 changed files with 7 additions and 9 deletions

View File

@ -34,6 +34,8 @@
px4_add_library(motion_planning
VelocitySmoothing.cpp
PositionSmoothing.cpp
ManualVelocitySmoothingXY.cpp
ManualVelocitySmoothingZ.cpp
)
target_include_directories(motion_planning PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

View File

@ -39,7 +39,7 @@
#include <gtest/gtest.h>
#include <matrix/matrix/math.hpp>
#include "ManualVelocitySmoothingXY.hpp"
#include <motion_planning/ManualVelocitySmoothingXY.hpp>
using namespace matrix;

View File

@ -47,7 +47,7 @@
#include <uORB/topics/tecs_status.h>
#include <uORB/uORB.h>
#include <motion_planning/VelocitySmoothing.hpp>
#include <flight_mode_manager/tasks/Utility/ManualVelocitySmoothingZ.hpp>
#include <motion_planning/ManualVelocitySmoothingZ.hpp>
class TECS
{

View File

@ -40,7 +40,7 @@
#pragma once
#include "FlightTaskManualAltitude.hpp"
#include "ManualVelocitySmoothingZ.hpp"
#include <motion_planning/ManualVelocitySmoothingZ.hpp>
class FlightTaskManualAltitudeSmoothVel : public FlightTaskManualAltitude
{

View File

@ -40,8 +40,8 @@
#pragma once
#include "FlightTaskManualPosition.hpp"
#include "ManualVelocitySmoothingXY.hpp"
#include "ManualVelocitySmoothingZ.hpp"
#include <motion_planning/ManualVelocitySmoothingXY.hpp>
#include <motion_planning/ManualVelocitySmoothingZ.hpp>
using matrix::Vector2f;
using matrix::Vector3f;

View File

@ -33,8 +33,6 @@
px4_add_library(FlightTaskUtility
StraightLine.cpp
ManualVelocitySmoothingXY.cpp
ManualVelocitySmoothingZ.cpp
Sticks.cpp
StickAccelerationXY.cpp
StickYaw.cpp
@ -42,5 +40,3 @@ px4_add_library(FlightTaskUtility
target_link_libraries(FlightTaskUtility PUBLIC FlightTask hysteresis bezier SlewRate motion_planning)
target_include_directories(FlightTaskUtility PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
px4_add_unit_gtest(SRC ManualVelocitySmoothingXYTest.cpp LINKLIBS FlightTaskUtility)