AS: adding first phase of orientation

This commit is contained in:
Alexander Schaefer
2025-01-29 09:58:44 +00:00
parent 79001dc331
commit 45650caa1b
5106 changed files with 582827 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
set(turtlesim_IDL_FILES "action/RotateAbsolute.idl;msg/Color.idl;msg/Pose.idl;srv/Kill.idl;srv/SetPen.idl;srv/Spawn.idl;srv/TeleportAbsolute.idl;srv/TeleportRelative.idl")
set(turtlesim_INTERFACE_FILES "action/RotateAbsolute.action;msg/Color.msg;msg/Pose.msg;srv/Kill.srv;srv/Kill_Request.msg;srv/Kill_Response.msg;srv/SetPen.srv;srv/SetPen_Request.msg;srv/SetPen_Response.msg;srv/Spawn.srv;srv/Spawn_Request.msg;srv/Spawn_Response.msg;srv/TeleportAbsolute.srv;srv/TeleportAbsolute_Request.msg;srv/TeleportAbsolute_Response.msg;srv/TeleportRelative.srv;srv/TeleportRelative_Request.msg;srv/TeleportRelative_Response.msg")

View File

@@ -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:turtlesim__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:turtlesim__rosidl_typesupport_fastrtps_cpp")
# populate turtlesim_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 "${turtlesim_DIR}/../../../lib"
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
)
if(NOT _lib)
# the library wasn't found
message(FATAL_ERROR
"Package 'turtlesim' 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 'turtlesim' 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 'turtlesim' found the typesupport library '${_lib}' which doesn't exist")
else()
list(APPEND turtlesim_LIBRARIES${_suffix} ${_cfg} "${_lib}")
endif()
else()
if(NOT EXISTS "${_library}")
# the found library must exist
message(WARNING "Package 'turtlesim' exports the typesupport library '${_library}' which doesn't exist")
else()
list(APPEND turtlesim_LIBRARIES${_suffix} "${_library}")
endif()
endif()
endforeach()
endif()

View File

@@ -0,0 +1,23 @@
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in
set(_exported_typesupport_targets
"__rosidl_generator_c:turtlesim__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:turtlesim__rosidl_typesupport_fastrtps_c;__rosidl_generator_cpp:turtlesim__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:turtlesim__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_c:turtlesim__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:turtlesim__rosidl_typesupport_c;__rosidl_typesupport_introspection_cpp:turtlesim__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:turtlesim__rosidl_typesupport_cpp;__rosidl_generator_py:turtlesim__rosidl_generator_py")
# populate turtlesim_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 "turtlesim::${_target}")
if(NOT TARGET "${_target}")
# the exported target must exist
message(WARNING "Package 'turtlesim' exports the typesupport target '${_target}' which doesn't exist")
else()
list(APPEND turtlesim_TARGETS${_suffix} "${_target}")
endif()
endforeach()
endif()

View File

@@ -0,0 +1 @@
string name

View File

@@ -0,0 +1,5 @@
uint8 r
uint8 g
uint8 b
uint8 width
uint8 off

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,4 @@
float32 x
float32 y
float32 theta
string name # Optional. A unique name will be created and returned if this is empty

View File

@@ -0,0 +1,2 @@
string name

View File

@@ -0,0 +1,3 @@
float32 x
float32 y
float32 theta

View File

@@ -0,0 +1,2 @@
float32 linear
float32 angular