File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ ament_target_dependencies(animation_plugin
94
94
ament_export_libraries(animation_plugin)
95
95
96
96
# _set_camera_distance_plugin
97
+ QT5_WRAP_CPP(headers_MOC include /SetDistancePlugin.hpp)
97
98
add_library (_set_camera_distance_plugin SHARED ${headers_MOC}
98
- plugins/SetDistancePlugin.cc)
99
-
99
+ plugins/SetDistancePlugin.cpp)
100
100
include_directories (SYSTEM ${GAZEBO_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS} )
101
101
target_include_directories (_set_camera_distance_plugin PUBLIC include )
102
102
Original file line number Diff line number Diff line change 1
- #ifndef _GUI_EXAMPLE_SPAWN_WIDGET_HH_
2
- #define _GUI_EXAMPLE_SPAWN_WIDGET_HH_
1
+ #ifndef _GUI_SET_DISTANCE_HH_
2
+ #define _GUI_SET_DISTANCE_HH_
3
3
4
4
// moc parsing error of tbb headers
5
5
#ifndef Q_MOC_RUN
6
6
#include < gazebo/transport/transport.hh>
7
- #endif
7
+ #endif // Q_MOC_RUN
8
8
9
- #include < gazebo/gui/GuiPlugin.hh>
9
+ // #include <gazebo/gui/GuiPlugin.hh>
10
10
#include < gazebo/gui/GuiIface.hh>
11
- #include < gazebo/msgs/msgs.hh>
11
+ // #include <gazebo/msgs/msgs.hh>
12
12
#include < gazebo/gazebo.hh>
13
13
#include < gazebo/rendering/rendering.hh>
14
- #include < sstream>
14
+ // #include <sstream>
15
+
16
+ #include < gazebo/common/Plugin.hh>
17
+ #include < gazebo/gui/GuiPlugin.hh>
15
18
16
19
namespace gazebo {
17
20
class GAZEBO_VISIBLE SetDistancePlugin : public GUIPlugin {
@@ -27,4 +30,5 @@ namespace gazebo {
27
30
~SetDistancePlugin () override = default ;
28
31
};
29
32
} // namespace gazebo
30
- #endif
33
+
34
+ #endif // _GUI_SET_DISTANCE_HH_
Original file line number Diff line number Diff line change 1
- #include " SetDistancePlugin.hh "
1
+ #include " SetDistancePlugin.hpp "
2
2
3
3
using namespace gazebo ;
4
4
You can’t perform that action at this time.
0 commit comments