Skip to content

Commit

Permalink
fixed a nodelet bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsuperZZZX committed Aug 14, 2020
1 parent 38688d3 commit a073ebc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions simulation/cascade_control/src/cascadecontrollernode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#include "velocity.hpp"

#include <pluginlib/class_list_macros.h>
PLUGINLIB_DECLARE_CLASS(cascade_controller, CascadeControllerNode,
CascadeControllerNode, nodelet::Nodelet);

PLUGINLIB_EXPORT_CLASS(CascadeControllerNode, nodelet::Nodelet);

CascadeControllerNode::CascadeControllerNode()
: ctrl(new mocka::CascadeController())
Expand Down
6 changes: 4 additions & 2 deletions simulation/mission_template/src/mission_template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
#include <uav_utils/geometry_utils.h>

#include <pluginlib/class_list_macros.h>
PLUGINLIB_DECLARE_CLASS(mission_template, MissionTemplateNode,
MissionTemplateNode, nodelet::Nodelet);


PLUGINLIB_EXPORT_CLASS(MissionTemplateNode, nodelet::Nodelet);


MissionTemplateNode::MissionTemplateNode()
: statemachine(new StateMachine{ logger })
Expand Down
5 changes: 4 additions & 1 deletion simulation/router/src/router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
#include <tf/transform_datatypes.h>

#include <pluginlib/class_list_macros.h>
PLUGINLIB_DECLARE_CLASS(router, RouterNode, RouterNode, nodelet::Nodelet);


PLUGINLIB_EXPORT_CLASS(RouterNode, nodelet::Nodelet);


RouterNode::RouterNode()
{
Expand Down

0 comments on commit a073ebc

Please sign in to comment.