ソースを参照

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

読み込み中…
キャンセル
保存