Skip to content

Commit

Permalink
Merge branch 'tier4/universe' into feat/add-simulation-traffic-light-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored May 30, 2024
2 parents 6115ec9 + 3c13a40 commit 9c75f5b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
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

0 comments on commit 9c75f5b

Please sign in to comment.