克隆后还缺仿真安装树和两边的编译目录。把 build、build_sim、install_sim 一并放进仓库;仿真入口不再写死本机 conda,build 里指向源码的链接改成相对路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
arm_dev
2026-10-15 11:07:04 +08:00
parent 926a7f9796
commit 80983954a4
5804 changed files with 2640781 additions and 3 deletions
@@ -0,0 +1,4 @@
# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
set(flexiv_msgs_IDL_FILES "msg/Digital.idl;msg/GPIOStates.idl;msg/JointPosVel.idl;msg/Mode.idl;msg/RobotStates.idl;action/Grasp.idl;action/Move.idl")
set(flexiv_msgs_INTERFACE_FILES "msg/Digital.msg;msg/GPIOStates.msg;msg/JointPosVel.msg;msg/Mode.msg;msg/RobotStates.msg;action/Grasp.action;action/Move.action")
@@ -0,0 +1,49 @@
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_libraries.cmake.in
set(_exported_typesupport_libraries
"__rosidl_typesupport_fastrtps_c:flexiv_msgs__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:flexiv_msgs__rosidl_typesupport_fastrtps_cpp")
# populate flexiv_msgs_LIBRARIES_<suffix>
if(NOT _exported_typesupport_libraries STREQUAL "")
# loop over typesupport libraries
foreach(_tuple ${_exported_typesupport_libraries})
string(REPLACE ":" ";" _tuple "${_tuple}")
list(GET _tuple 0 _suffix)
list(GET _tuple 1 _library)
if(NOT IS_ABSOLUTE "${_library}")
# search for library target relative to this CMake file
set(_lib "NOTFOUND")
find_library(
_lib NAMES "${_library}"
PATHS "${flexiv_msgs_DIR}/../../../lib"
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
)
if(NOT _lib)
# the library wasn't found
message(FATAL_ERROR
"Package 'flexiv_msgs' exports the typesupport library '${_library}' which couldn't be found")
elseif(NOT IS_ABSOLUTE "${_lib}")
# the found library must be an absolute path
message(FATAL_ERROR
"Package 'flexiv_msgs' found the typesupport library '${_library}' at '${_lib}' "
"which is not an absolute path")
elseif(NOT EXISTS "${_lib}")
# the found library must exist
message(FATAL_ERROR "Package 'flexiv_msgs' found the typesupport library '${_lib}' which doesn't exist")
else()
list(APPEND flexiv_msgs_LIBRARIES${_suffix} ${_cfg} "${_lib}")
endif()
else()
if(NOT EXISTS "${_library}")
# the found library must exist
message(WARNING "Package 'flexiv_msgs' exports the typesupport library '${_library}' which doesn't exist")
else()
list(APPEND flexiv_msgs_LIBRARIES${_suffix} "${_library}")
endif()
endif()
endforeach()
endif()
@@ -0,0 +1,23 @@
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in
set(_exported_typesupport_targets
"__rosidl_generator_c:flexiv_msgs__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:flexiv_msgs__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_introspection_c:flexiv_msgs__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:flexiv_msgs__rosidl_typesupport_c;__rosidl_generator_cpp:flexiv_msgs__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:flexiv_msgs__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_cpp:flexiv_msgs__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:flexiv_msgs__rosidl_typesupport_cpp;__rosidl_generator_py:flexiv_msgs__rosidl_generator_py")
# populate flexiv_msgs_TARGETS_<suffix>
if(NOT _exported_typesupport_targets STREQUAL "")
# loop over typesupport targets
foreach(_tuple ${_exported_typesupport_targets})
string(REPLACE ":" ";" _tuple "${_tuple}")
list(GET _tuple 0 _suffix)
list(GET _tuple 1 _target)
set(_target "flexiv_msgs::${_target}")
if(NOT TARGET "${_target}")
# the exported target must exist
message(WARNING "Package 'flexiv_msgs' exports the typesupport target '${_target}' which doesn't exist")
else()
list(APPEND flexiv_msgs_TARGETS${_suffix} "${_target}")
endif()
endforeach()
endif()