Skip to content

Commit

Permalink
plugins: add guided_target to accept offboard position targets
Browse files Browse the repository at this point in the history
  • Loading branch information
snktshrma authored Sep 10, 2022
1 parent 40b45d7 commit fb3f33a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mavros_extras/src/plugins/guided_target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

namespace mavros {
namespace extra_plugins {

/**
* @brief guided target plugin
*
Expand Down Expand Up @@ -145,8 +146,6 @@ class GuidedTargetPlugin : public plugin::PluginBase,
* handles and publishes position target received from FCU
*/



void handle_position_target_global_int(const mavlink::mavlink_message_t *msg, mavlink::common::msg::POSITION_TARGET_GLOBAL_INT &position_target)
{
/* check if type_mask field ignores position*/
Expand Down Expand Up @@ -192,8 +191,6 @@ class GuidedTargetPlugin : public plugin::PluginBase,
arr[1] = pose->pose.position.y;
}



};
} // namespace std_plugins
} // namespace mavros
Expand Down

0 comments on commit fb3f33a

Please sign in to comment.