Finised lidar node

This commit is contained in:
2026-03-25 14:02:10 +01:00
parent 9a967e7e1a
commit 97f08804d8
8 changed files with 133 additions and 14 deletions

View File

@@ -9,11 +9,15 @@ endif()
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(geometry_msgs REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Rival.msg"
"srv/SendDouble.srv"
"action/SimpleMoveCoords.action"
"action/SimpleRotate.action"
"action/SimpleTranslateX.action"
DEPENDENCIES geometry_msgs
)
ament_package()

2
toid_msgs/msg/Rival.msg Normal file
View File

@@ -0,0 +1,2 @@
std_msgs/Header header
geometry_msgs/Point[] point

View File

@@ -10,6 +10,8 @@
<buildtool_depend>ament_cmake</buildtool_depend>
<buildtool_depend>rosidl_default_generators</buildtool_depend>
<build_depend>geometry_msgs</build_depend>
<exec_depend>geometry_msgs</exec_depend>
<exec_depend>rosidl_default_runtime</exec_depend>
<member_of_group>rosidl_interface_packages</member_of_group>