소스 검색

Removed cpp ik server from build

main
Marcus Grieger 1 년 전
부모
커밋
2948030db0
3개의 변경된 파일22개의 추가작업 그리고 17개의 파일을 삭제
  1. +18
    -17
      CMakeLists.txt
  2. +2
    -0
      msg/HexapodLeg.msg
  3. +2
    -0
      msg/HexapodPose.msg

+ 18
- 17
CMakeLists.txt 파일 보기

@@ -18,7 +18,8 @@ find_package(rosidl_default_generators REQUIRED)
# Build hexapod_robot_interfaces

set(srv_files
"srv/HexapodRobotInverseKinematics.srv"
"msg/HexapodLeg.msg"
"msg/HexapodPose.msg"
)

rosidl_generate_interfaces(${PROJECT_NAME}
@@ -28,22 +29,22 @@ rosidl_generate_interfaces(${PROJECT_NAME}

# Build hexapod_robot_ik_server

add_executable(hexapod_robot_ik_server
"kinematics/hexapod_robot_ik_service.cpp"
)
# add_executable(hexapod_robot_ik_server
# "kinematics/hexapod_robot_ik_service.cpp"
# )

target_compile_features(hexapod_robot_ik_server PUBLIC cxx_std_17)
target_include_directories(hexapod_robot_ik_server PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/kinematics/include>
$<INSTALL_INTERFACE:include>
)
# target_compile_features(hexapod_robot_ik_server PUBLIC cxx_std_17)
# target_include_directories(hexapod_robot_ik_server PUBLIC
# $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/kinematics/include>
# $<INSTALL_INTERFACE:include>
# )

ament_target_dependencies(
hexapod_robot_ik_server
rclcpp
)
# ament_target_dependencies(
# hexapod_robot_ik_server
# rclcpp
# )

rosidl_target_interfaces(hexapod_robot_ik_server ${PROJECT_NAME} "rosidl_typesupport_cpp")
# rosidl_target_interfaces(hexapod_robot_ik_server ${PROJECT_NAME} "rosidl_typesupport_cpp")

# Build hexapod_robot_hwi

@@ -78,9 +79,9 @@ install(
)


install(TARGETS hexapod_robot_ik_server
DESTINATION lib/${PROJECT_NAME}
)
# install(TARGETS hexapod_robot_ik_server
# DESTINATION lib/${PROJECT_NAME}
# )

install(TARGETS hexapod_robot_hwi
EXPORT export_hexapod_robot


+ 2
- 0
msg/HexapodLeg.msg 파일 보기

@@ -0,0 +1,2 @@
string label
geometry_msgs/Point position

+ 2
- 0
msg/HexapodPose.msg 파일 보기

@@ -0,0 +1,2 @@
geometry_msgs/Pose body
hexapod_robot/HexapodLeg[] legs

불러오는 중...
취소
저장