diff --git a/autoware_system_msgs/CMakeLists.txt b/autoware_system_msgs/CMakeLists.txt new file mode 100644 index 0000000..9e43191 --- /dev/null +++ b/autoware_system_msgs/CMakeLists.txt @@ -0,0 +1,26 @@ +cmake_minimum_required(VERSION 3.5) +project(autoware_planning_msgs) + +find_package(ament_cmake_auto REQUIRED) +ament_auto_find_build_dependencies() + +rosidl_generate_interfaces(${PROJECT_NAME} + "msg/AutowareState.msg" + "msg/HazardStatus.msg" + "msg/HazardStatusStamped.msg" + DEPENDENCIES + geometry_msgs + std_msgs + unique_identifier_msgs + nav_msgs + builtin_interfaces + diagnostic_msgs + ADD_LINTER_TESTS +) + +if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + ament_lint_auto_find_test_dependencies() +endif() + +ament_auto_package() diff --git a/autoware_system_msgs/msg/AutowareState.msg b/autoware_system_msgs/msg/AutowareState.msg new file mode 100644 index 0000000..269f15b --- /dev/null +++ b/autoware_system_msgs/msg/AutowareState.msg @@ -0,0 +1,9 @@ +uint8 INITIALIZING = 1 +uint8 WAITING_FOR_ROUTE = 2 +uint8 PLANNING = 3 +uint8 WAITING_FOR_ENGAGE = 4 +uint8 DRIVING = 5 +uint8 ARRIVED_GOAL = 6 +uint8 FINALIZING = 7 +builtin_interfaces/Time stamp +uint8 state \ No newline at end of file diff --git a/autoware_system_msgs/msg/HazardStatus.msg b/autoware_system_msgs/msg/HazardStatus.msg new file mode 100644 index 0000000..81447ad --- /dev/null +++ b/autoware_system_msgs/msg/HazardStatus.msg @@ -0,0 +1,11 @@ +uint8 NO_FAULT = 0 +uint8 SAFE_FAULT = 1 +uint8 LATENT_FAULT = 2 +uint8 SINGLE_POINT_FAULT = 3 +uint8 level; +boolean emergency +boolean emergency_holding +diagnostic_msgs/DiagnosticStatus[] diag_no_fault +diagnostic_msgs/DiagnosticStatus[] diag_safe_fault +diagnostic_msgs/DiagnosticStatus[] diag_latent_fault +diagnostic_msgs/DiagnosticStatus[] diag_single_point_fault \ No newline at end of file diff --git a/autoware_system_msgs/msg/HazardStatusStamped.msg b/autoware_system_msgs/msg/HazardStatusStamped.msg new file mode 100644 index 0000000..bc4c08a --- /dev/null +++ b/autoware_system_msgs/msg/HazardStatusStamped.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +autoware_system_msgs/HazardStatus status \ No newline at end of file diff --git a/autoware_system_msgs/package.xml b/autoware_system_msgs/package.xml new file mode 100644 index 0000000..267b15e --- /dev/null +++ b/autoware_system_msgs/package.xml @@ -0,0 +1,31 @@ + + + + autoware_planning_msgs + 0.0.0 + Autoware planning messages package. + Takagi, Isamu + Apache License 2.0 + + ament_cmake_auto + + rosidl_default_generators + + builtin_interfaces + geometry_msgs + nav_msgs + std_msgs + unique_identifier_msgs + diagnostic_msgs + + rosidl_default_runtime + + ament_lint_auto + ament_lint_common + + rosidl_interface_packages + + + ament_cmake + +