Skip to content

Commit

Permalink
feat(autoware_internal_planning_msgs): add PathWithLaneId.msg
Browse files Browse the repository at this point in the history
Signed-off-by: liu cui <[email protected]>
  • Loading branch information
cyn-liu committed Jan 8, 2025
1 parent 36a9d2e commit eac0caf
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
32 changes: 32 additions & 0 deletions autoware_internal_planning_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
cmake_minimum_required(VERSION 3.5)
project(autoware_internal_planning_msgs)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/PathPoint.msg"
"msg/PathPointWithLaneId.msg"
"msg/PathWithLaneId.msg"
DEPENDENCIES
builtin_interfaces
geometry_msgs
std_msgs
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package()
5 changes: 5 additions & 0 deletions autoware_internal_planning_msgs/msg/PathPoint.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
geometry_msgs/Pose pose
float32 longitudinal_velocity_mps
float32 lateral_velocity_mps
float32 heading_rate_rps
bool is_final
2 changes: 2 additions & 0 deletions autoware_internal_planning_msgs/msg/PathPointWithLaneId.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autoware_internal_planning_msgs/PathPoint point
int64[] lane_ids
4 changes: 4 additions & 0 deletions autoware_internal_planning_msgs/msg/PathWithLaneId.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
std_msgs/Header header
autoware_internal_planning_msgs/PathPointWithLaneId[] points
geometry_msgs/Point[] left_bound
geometry_msgs/Point[] right_bound
28 changes: 28 additions & 0 deletions autoware_internal_planning_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>autoware_internal_planning_msgs</name>
<version>0.1.0</version>
<description>The autoware_internal_planning_msgs package</description>
<maintainer email="[email protected]">Yukihiro Saito</maintainer>
<maintainer email="[email protected]">Cynthia Liu</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
<build_depend>rosidl_default_generators</build_depend>

<exec_depend>rosidl_default_runtime</exec_depend>

<depend>builtin_interfaces</depend>
<depend>geometry_msgs</depend>
<depend>std_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

<export>
<build_type>ament_cmake</build_type>
</export>
</package>

0 comments on commit eac0caf

Please sign in to comment.