Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mrm state msg #127

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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
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
builtin_interfaces
geometry_msgs
)
Expand Down
1 change: 1 addition & 0 deletions tier4_localization_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_common_msgs</depend>
<depend>builtin_interfaces</depend>
<depend>geometry_msgs</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
9 changes: 9 additions & 0 deletions tier4_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ 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"
Expand All @@ -29,6 +37,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/ServiceLog.msg"
"msg/ModeChangeAvailable.msg"
"msg/MrmBehaviorStatus.msg"
"msg/MrmState.msg"
"srv/OperateMrm.srv"
"srv/ChangeOperationMode.srv"
"srv/ChangeAutowareControl.srv"
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
Loading