Skip to content
Snippets Groups Projects
Commit f8c987bc authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed the joystick adn bno055 imu dependencies from the C++ driver.

parent 6e5e3876
Branches ros_version
No related tags found
No related merge requests found
......@@ -6,11 +6,9 @@ SET(sources arm_control.cpp)
SET(headers ../include/arm_control.h)
# locate the necessary dependencies
FIND_PACKAGE(iriutils REQUIRED)
FIND_PACKAGE(joystick REQUIRED)
FIND_PACKAGE(comm REQUIRED)
FIND_PACKAGE(dynamixel REQUIRED)
FIND_PACKAGE(dynamixel_motor_cont REQUIRED)
FIND_PACKAGE(bno055_imu_driver REQUIRED)
# add the necessary include directories
INCLUDE_DIRECTORIES(../include)
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR})
......@@ -24,11 +22,9 @@ SET_SOURCE_FILES_PROPERTIES(${XSD_SOURCES} PROPERTIES GENERATED 1)
# create the shared library
ADD_LIBRARY(arm_control SHARED ${sources} ${XSD_SOURCES})
TARGET_LINK_LIBRARIES(arm_control ${iriutils_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${joystick_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${comm_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${dynamixel_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${dynamixel_motor_cont_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${bno055_imu_driver_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${XSD_LIBRARY})
#TARGET_LINK_LIBRARIES(arm_control libwiringPi.so)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment