Skip to content

Commit

Permalink
Refactor robotinterface includes
Browse files Browse the repository at this point in the history
  • Loading branch information
xela-95 committed Mar 11, 2024
1 parent 43e1dcd commit 2770b14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions plugins/robotinterface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

add_library(gz-sim-yarp-robotinterface-system SHARED RobotInterface.cc)

target_compile_features(gz-sim-yarp-robotinterface-system PRIVATE cxx_std_17)

target_link_libraries(gz-sim-yarp-robotinterface-system
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER}
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER}
PRIVATE
${YARP_LIBRARIES}
YARP::YARP_dev
YARP::YARP_robotinterface
YARP::YARP_os
YARP::YARP_init
gz-sim-yarp-handler)
Expand Down
4 changes: 3 additions & 1 deletion plugins/robotinterface/RobotInterface.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "../../libraries/singleton-devices/Handler.hh"
#include <Handler.hh>

#include <gz/plugin/Register.hh>
#include <gz/sim/Model.hh>
#include <gz/sim/System.hh>
#include <gz/sim/Util.hh>

#include <yarp/dev/PolyDriver.h>
#include <yarp/dev/PolyDriverList.h>
#include <yarp/os/LogStream.h>
Expand Down

0 comments on commit 2770b14

Please sign in to comment.