Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tier4/universe' into refactor/ti…
Browse files Browse the repository at this point in the history
…er4_localization_msgs_remove_unused_depend
  • Loading branch information
YamatoAndo committed Jul 12, 2024
2 parents 5ec95a6 + e5b219f commit 32e1d0b
Show file tree
Hide file tree
Showing 49 changed files with 2,401 additions and 102 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# tier4_autoware_msgs

This repository contains messages that are independently defined by TIER IV for use within each component of Autoware. For the official interface between Autoware components, please refer to the [autoware_msgs](https://github.com/autowarefoundation/autoware_msgs) repository.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions tier4_auto_msgs_converter/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>autoware_auto_perception_msgs</depend>
<depend>autoware_auto_planning_msgs</depend>
<depend>autoware_auto_system_msgs</depend>
<depend>autoware_auto_vehicle_msgs</depend>
<depend>autoware_perception_msgs</depend>
<depend>autoware_planning_msgs</depend>
<depend>autoware_system_msgs</depend>
<depend>autoware_vehicle_msgs</depend>
<depend>tier4_perception_msgs</depend>
<depend>tier4_planning_msgs</depend>
<depend>tier4_system_msgs</depend>
Expand Down
4 changes: 3 additions & 1 deletion tier4_debug_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Int64Stamped.msg"
"msg/Int64MultiArrayStamped.msg"
"msg/StringStamped.msg"
"msg/ProcessingTimeNode.msg"
"msg/ProcessingTimeTree.msg"
DEPENDENCIES
builtin_interfaces
builtin_interfaces
)

if(BUILD_TESTING)
Expand Down
8 changes: 8 additions & 0 deletions tier4_debug_msgs/msg/ProcessingTimeNode.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Unique ID of the node
int32 id
# Name of the node
string name
# Processing time of the node
float64 processing_time
# ID of the parent node, 0 if no parent
int32 parent_id
2 changes: 2 additions & 0 deletions tier4_debug_msgs/msg/ProcessingTimeTree.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Array of all time nodes
ProcessingTimeNode[] nodes
2 changes: 2 additions & 0 deletions tier4_external_api_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
msg/Operator.msg
msg/RosbagCopyStatus.msg
msg/RosbagLoggingMode.msg
msg/RosbagRecordStatus.msg
msg/ResponseStatus.msg
msg/Route.msg
msg/RouteSection.msg
Expand Down Expand Up @@ -65,6 +66,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
srv/SetEmergency.srv
srv/SetPose.srv
srv/SetRosbagLoggingMode.srv
srv/SetRosbagRecord.srv
srv/SetRoute.srv
srv/SetService.srv
srv/SetVelocityLimit.srv
Expand Down
10 changes: 10 additions & 0 deletions tier4_external_api_msgs/msg/RosbagRecordStatus.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# constants
uint8 INITIALIZING=0
uint8 WAITING_VEHICLE_INFO=1
uint8 READY=2
uint8 RECORDING=3
uint8 ERROR=4

# fields
uint8 status
string message
3 changes: 3 additions & 0 deletions tier4_external_api_msgs/srv/SetRosbagRecord.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bool record
---
tier4_external_api_msgs/ResponseStatus status
1 change: 1 addition & 0 deletions tier4_hmi_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
srv/Announce.srv
srv/SetVolume.srv
DEPENDENCIES
builtin_interfaces
tier4_external_api_msgs
Expand Down
3 changes: 3 additions & 0 deletions tier4_hmi_msgs/srv/SetVolume.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
float32 volume
---
tier4_external_api_msgs/ResponseStatus status
2 changes: 2 additions & 0 deletions tier4_localization_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"srv/InitializeLocalization.srv"
"srv/PoseWithCovarianceStamped.srv"
DEPENDENCIES
autoware_common_msgs
geometry_msgs
)

Expand Down
2 changes: 2 additions & 0 deletions tier4_localization_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
<name>tier4_localization_msgs</name>
<version>0.1.0</version>
<description>The tier4_localization_msgs package</description>
<maintainer email="[email protected]">Yamato Ando</maintainer>
<maintainer email="[email protected]">Ryohsuke Mitsudome</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_common_msgs</depend>
<depend>geometry_msgs</depend>

<exec_depend>rosidl_default_runtime</exec_depend>
Expand Down
20 changes: 20 additions & 0 deletions tier4_localization_msgs/srv/InitializeLocalization.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# constants for specifying initialization method
uint8 AUTO = 0
uint8 DIRECT = 1

# input pose for initialization
geometry_msgs/PoseWithCovarianceStamped[<=1] pose_with_covariance

# Variable to set initialization method
# AUTO: The initial position is automatically estimated with localization algorithm.
# The input pose will be used as an initial guess if provided.
# DIRECT: The initial position is set directly by the input pose without going through localization algorithm.
uint8 method
---
# ERROR CODES used in response status in case of failure
uint16 ERROR_UNSAFE = 1
uint16 ERROR_GNSS_SUPPORT = 2
uint16 ERROR_GNSS = 3
uint16 ERROR_ESTIMATION = 4

autoware_common_msgs/ResponseStatus status
6 changes: 3 additions & 3 deletions tier4_perception_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/traffic_light/TrafficLightElement.msg"
"msg/traffic_light/TrafficLightRoi.msg"
"msg/traffic_light/TrafficLightRoiArray.msg"
"msg/traffic_light/TrafficSignal.msg"
"msg/traffic_light/TrafficSignalArray.msg"
"msg/traffic_light/TrafficLight.msg"
"msg/traffic_light/TrafficLightArray.msg"
DEPENDENCIES
autoware_auto_perception_msgs
autoware_perception_msgs
builtin_interfaces
geometry_msgs
sensor_msgs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
autoware_auto_perception_msgs/DetectedObject object
autoware_perception_msgs/DetectedObject object
Feature feature
6 changes: 6 additions & 0 deletions tier4_perception_msgs/msg/traffic_light/TrafficLight.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
uint8 CAR_TRAFFIC_LIGHT=0
uint8 PEDESTRIAN_TRAFFIC_LIGHT=1

int64 traffic_light_id
uint8 traffic_light_type
tier4_perception_msgs/TrafficLightElement[] elements
2 changes: 2 additions & 0 deletions tier4_perception_msgs/msg/traffic_light/TrafficLightArray.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
std_msgs/Header header
tier4_perception_msgs/TrafficLight[] signals
4 changes: 4 additions & 0 deletions tier4_perception_msgs/msg/traffic_light/TrafficLightRoi.msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
uint8 CAR_TRAFFIC_LIGHT=0
uint8 PEDESTRIAN_TRAFFIC_LIGHT=1

sensor_msgs/RegionOfInterest roi
int64 traffic_light_id
uint8 traffic_light_type
2 changes: 0 additions & 2 deletions tier4_perception_msgs/msg/traffic_light/TrafficSignal.msg

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion tier4_perception_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_auto_perception_msgs</depend>
<depend>autoware_perception_msgs</depend>
<depend>builtin_interfaces</depend>
<depend>geometry_msgs</depend>
<depend>sensor_msgs</depend>
Expand Down
9 changes: 9 additions & 0 deletions tier4_planning_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/PathChangeModuleArray.msg"
"msg/PathChangeModuleId.msg"
"msg/PathPoint.msg"
"msg/PathPointWithLaneId.msg"
"msg/PathWithLaneId.msg"
"msg/RerouteAvailability.msg"
"msg/RouteState.msg"
"msg/Scenario.msg"
"msg/StopFactor.msg"
"msg/StopReason.msg"
Expand All @@ -43,7 +46,13 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/VelocityLimit.msg"
"msg/VelocityLimitClearCommand.msg"
"msg/VelocityLimitConstraints.msg"
"srv/ClearRoute.srv"
"srv/SetLaneletRoute.srv"
"srv/SetWaypointRoute.srv"
DEPENDENCIES
autoware_common_msgs
autoware_planning_msgs
builtin_interfaces
geometry_msgs
nav_msgs
std_msgs
Expand Down
2 changes: 2 additions & 0 deletions tier4_planning_msgs/msg/PathPointWithLaneId.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autoware_planning_msgs/PathPoint point
int64[] lane_ids
4 changes: 4 additions & 0 deletions tier4_planning_msgs/msg/PathWithLaneId.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
std_msgs/Header header
tier4_planning_msgs/PathPointWithLaneId[] points
geometry_msgs/Point[] left_bound
geometry_msgs/Point[] right_bound
12 changes: 12 additions & 0 deletions tier4_planning_msgs/msg/RouteState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uint8 UNKNOWN = 0
uint8 INITIALIZING = 1
uint8 UNSET = 2
uint8 ROUTING = 3
uint8 SET = 4
uint8 REROUTING = 5
uint8 ARRIVED = 6
uint8 ABORTED = 7
uint8 INTERRUPTED = 8

builtin_interfaces/Time stamp
uint8 state
2 changes: 2 additions & 0 deletions tier4_planning_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_common_msgs</depend>
<depend>autoware_planning_msgs</depend>
<depend>builtin_interfaces</depend>
<depend>geometry_msgs</depend>
<depend>nav_msgs</depend>
Expand Down
2 changes: 2 additions & 0 deletions tier4_planning_msgs/srv/ClearRoute.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
autoware_common_msgs/ResponseStatus status
7 changes: 7 additions & 0 deletions tier4_planning_msgs/srv/SetLaneletRoute.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
std_msgs/Header header
geometry_msgs/Pose goal_pose
autoware_planning_msgs/LaneletSegment[] segments
unique_identifier_msgs/UUID uuid
bool allow_modification
---
autoware_common_msgs/ResponseStatus status
7 changes: 7 additions & 0 deletions tier4_planning_msgs/srv/SetWaypointRoute.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
std_msgs/Header header
geometry_msgs/Pose goal_pose
geometry_msgs/Pose[] waypoints
unique_identifier_msgs/UUID uuid
bool allow_modification
---
autoware_common_msgs/ResponseStatus status
1 change: 1 addition & 0 deletions tier4_rtc_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Command.msg"
"msg/State.msg"
"msg/CooperateCommand.msg"
"msg/CooperateResponse.msg"
"msg/CooperateStatus.msg"
Expand Down
17 changes: 17 additions & 0 deletions tier4_rtc_msgs/msg/CooperateStatus.msg
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
builtin_interfaces/Time stamp

# Request unique id
unique_identifier_msgs/UUID uuid

# Indicate module type which makes this cooperate request.
tier4_rtc_msgs/Module module

# Indicate whether the system judges it's safe condition to execute or not.
bool safe

# Indicate RTC approval status
tier4_rtc_msgs/Command command_status

# Current execution state
tier4_rtc_msgs/State state

# RTC execution mode
# TRUE: Auto mode (it can execute without human operator's approval.)
# FALSE: Manual mode (it needs human operator's approval to execute.)
bool auto_mode

# Section which will be modified when this cooperate request is approved.
float32 start_distance
float32 finish_distance
7 changes: 7 additions & 0 deletions tier4_rtc_msgs/msg/State.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
uint8 type

uint8 WAITING_FOR_EXECUTION = 0
uint8 RUNNING = 1
uint8 ABORTING = 2
uint8 SUCCEEDED = 3
uint8 FAILED = 4
11 changes: 11 additions & 0 deletions tier4_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/DiagnosticGraph.msg"
"msg/DiagnosticLink.msg"
"msg/DiagnosticNode.msg"
"msg/DiagGraphStruct.msg"
"msg/DiagGraphStatus.msg"
"msg/DiagNodeStruct.msg"
"msg/DiagNodeStatus.msg"
"msg/DiagLeafStruct.msg"
"msg/DiagLeafStatus.msg"
"msg/DiagLinkStruct.msg"
"msg/DiagLinkStatus.msg"
"msg/OperationModeAvailability.msg"
"msg/EmergencyGoalsClearCommand.msg"
"msg/EmergencyGoalsStamped.msg"
"msg/EmergencyState.msg"
"msg/EmergencyStateStamped.msg"
"msg/HazardStatus.msg"
Expand All @@ -34,6 +44,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
autoware_common_msgs
builtin_interfaces
diagnostic_msgs
geometry_msgs
std_msgs
)

Expand Down
14 changes: 14 additions & 0 deletions tier4_system_msgs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# tier4_system_msgs

## Diagnostic graph messages

See [this page](./doc/diagnostic-graph.md) for the following diagnostic graph messages.

- DiagGraphStatus
- DiagGraphStruct
- DiagLeafStatus
- DiagLeafStruct
- DiagLinkStatus
- DiagLinkStruct
- DiagNodeStatus
- DiagNodeStruct
Loading

0 comments on commit 32e1d0b

Please sign in to comment.