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
...@@ -6,11 +6,9 @@ SET(sources arm_control.cpp) ...@@ -6,11 +6,9 @@ SET(sources arm_control.cpp)
SET(headers ../include/arm_control.h) SET(headers ../include/arm_control.h)
# locate the necessary dependencies # locate the necessary dependencies
FIND_PACKAGE(iriutils REQUIRED) FIND_PACKAGE(iriutils REQUIRED)
FIND_PACKAGE(joystick REQUIRED)
FIND_PACKAGE(comm REQUIRED) FIND_PACKAGE(comm REQUIRED)
FIND_PACKAGE(dynamixel REQUIRED) FIND_PACKAGE(dynamixel REQUIRED)
FIND_PACKAGE(dynamixel_motor_cont REQUIRED) FIND_PACKAGE(dynamixel_motor_cont REQUIRED)
FIND_PACKAGE(bno055_imu_driver REQUIRED)
# add the necessary include directories # add the necessary include directories
INCLUDE_DIRECTORIES(../include) INCLUDE_DIRECTORIES(../include)
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR})
...@@ -24,11 +22,9 @@ SET_SOURCE_FILES_PROPERTIES(${XSD_SOURCES} PROPERTIES GENERATED 1) ...@@ -24,11 +22,9 @@ SET_SOURCE_FILES_PROPERTIES(${XSD_SOURCES} PROPERTIES GENERATED 1)
# create the shared library # create the shared library
ADD_LIBRARY(arm_control SHARED ${sources} ${XSD_SOURCES}) ADD_LIBRARY(arm_control SHARED ${sources} ${XSD_SOURCES})
TARGET_LINK_LIBRARIES(arm_control ${iriutils_LIBRARY}) 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 ${comm_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${dynamixel_LIBRARY}) TARGET_LINK_LIBRARIES(arm_control ${dynamixel_LIBRARY})
TARGET_LINK_LIBRARIES(arm_control ${dynamixel_motor_cont_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 ${XSD_LIBRARY})
#TARGET_LINK_LIBRARIES(arm_control libwiringPi.so) #TARGET_LINK_LIBRARIES(arm_control libwiringPi.so)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment