Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
update motion_reference_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
miferco97 committed May 13, 2022
1 parent 2afe2b3 commit 3393d3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(PROJECT_DEPENDENCIES
as2_core
as2_msgs
geometry_msgs
as2_motion_command_handlers
motion_reference_handlers
)

foreach(DEPENDENCY ${PROJECT_DEPENDENCIES})
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<depend>as2_core</depend>
<depend>as2_msgs</depend>
<depend>geometry_msgs</depend>
<depend>as2_motion_command_handlers</depend>
<depend>motion_reference_handlers</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
Expand Down
4 changes: 2 additions & 2 deletions src/takeoff_plugin_speed.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "motion_reference_handlers/speed_motion.hpp"
#include "takeoff_base.hpp"
#include "as2_motion_command_handlers/speed_motion.hpp"

namespace takeoff_plugins
{
Expand All @@ -25,7 +25,7 @@ namespace takeoff_plugins
auto feedback = std::make_shared<as2_msgs::action::TakeOff::Feedback>();
auto result = std::make_shared<as2_msgs::action::TakeOff::Result>();

static as2::motionCommandsHandlers::SpeedMotion motion_handler(node_ptr_);
static as2::motionReferenceHandlers::SpeedMotion motion_handler(node_ptr_);

// Check if goal is done
while ((desired_height_ - actual_heigth_) > 0 + this->takeoff_height_threshold_)
Expand Down

0 comments on commit 3393d3d

Please sign in to comment.