Skip to content

Commit

Permalink
simplify passtrough (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 13, 2024
1 parent f00e952 commit a806427
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions devices/JointTorqueControlDevice/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,26 @@ if(FRAMEWORK_COMPILE_JointTorqueControlDevice)
# CONFIGURE_PACKAGE_NAME joint_torque_control_device)

add_bipedal_yarp_device(
NAME PassThroughControlBoardDevice
TYPE BipedalLocomotion::PassThroughControlBoardDevice
SOURCES src/PassThroughControlBoardDevice.cpp
src/PassThroughControlBoard.cpp
PUBLIC_HEADERS include/BipedalLocomotion/PassThroughControlBoardDevice.h
include/BipedalLocomotion/PassThroughControlBoard.h
PRIVATE_LINK_LIBRARIES
BipedalLocomotion::SystemYarpImplementation
BipedalLocomotion::JointTorqueControlCommands
PUBLIC_LINK_LIBRARIES
onnxruntime::onnxruntime
NAME PassThroughControlBoard
TYPE BipedalLocomotion::PassThroughControlBoard
SOURCES src/PassThroughControlBoard.cpp
PUBLIC_HEADERS include/BipedalLocomotion/PassThroughControlBoard.h
${YARP_LIBRARIES}
CONFIGURE_PACKAGE_NAME pass_through_control_board_device)
CONFIGURE_PACKAGE_NAME pass_through_control_board_device)

# add_bipedal_yarp_device(
# NAME PassThroughControlBoardDevice
# TYPE BipedalLocomotion::PassThroughControlBoardDevice
# SOURCES src/PassThroughControlBoardDevice.cpp
# src/PassThroughControlBoard.cpp
# PUBLIC_HEADERS include/BipedalLocomotion/PassThroughControlBoardDevice.h
# include/BipedalLocomotion/PassThroughControlBoard.h
# PRIVATE_LINK_LIBRARIES
# BipedalLocomotion::SystemYarpImplementation
# BipedalLocomotion::JointTorqueControlCommands
# PUBLIC_LINK_LIBRARIES
# onnxruntime::onnxruntime
# ${YARP_LIBRARIES}
# CONFIGURE_PACKAGE_NAME pass_through_control_board_device)

endif()

0 comments on commit a806427

Please sign in to comment.