cmvr-es/cmvr-es/manager/device_manager/CMakeLists.txt
xtkuang 567ae938ef feat(head): add USB eRPC head control and expression gRPC
Add a head-local USB serial/eRPC backend through the existing device factory,
configuration, BioHeadService, logging and control arbiter. Support typed joint
commands, custom five-joint expressions and six frozen upper-computer presets
with 20 ms transitions, validation, ACK baselines and cancellation.

Retain existing ESP32 behavior and API field numbers. Publish only USB head
registration; preserve the machine-local AGV disable override in the worktree.

Validation: cmvr_es build; four head test targets (17 backend and 14 gRPC cases,
plus protocol and serial tests); live USB connection and gRPC state query.
The user additionally confirmed physical testing passed.
2026-11-11 14:58:50 +08:00

26 lines
739 B
CMake

add_library(device_manager STATIC
src/device_factory.cpp
src/device_manager.cpp
)
target_include_directories(device_manager PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(device_manager PRIVATE
cmvr_es::proto
cmvr_es::device::camera
cmvr_es::device::agv
cmvr_es::device::speaker
cmvr_es::device::microphone
cmvr_es::device::dexhand
cmvr::device::head_esp32
cmvr::device::head_usb
cmvr_es::device::motor_manager
cmvr_es::device::arm
cmvr_es::mujoco_viewer
osqp
# cmvr_es::device::aubo_robot
)
add_library(cmvr_es::device_manager ALIAS device_manager)
install(TARGETS device_manager LIBRARY DESTINATION lib)