Skip to content

Commit

Permalink
feat(tier4_simulation_msgs): add message type UserDefinedValue to s…
Browse files Browse the repository at this point in the history
…end any value from Autoware to `scenario_simulator_v2` (#73)

* feat(tier4_simulation_msgs): add new message type `UserDefinedValue`

Signed-off-by: yamacir-kit <httperror@404-notfound.jp>

* feat(tier4_simulation_msgs): add new message type `UserDefinedValueType`

Signed-off-by: yamacir-kit <httperror@404-notfound.jp>

* chore(tier4_simulation_msgs): update `CMakeLists.txt` to generate `UserDefinedValue` and `UserDefinedValueType`

Signed-off-by: yamacir-kit <httperror@404-notfound.jp>

* Add Kyoichi Sugahara and Maxime CLEMENT as maintainers of `tier4_simulation_msgs`

Signed-off-by: yamacir-kit <httperror@404-notfound.jp>

---------

Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
  • Loading branch information
yamacir-kit authored Mar 3, 2023
1 parent 2e43884 commit 87febc3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tier4_simulation_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
endif()

find_package(ament_cmake_auto REQUIRED)

ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/FaultInjectionEvent.msg"
"msg/SimulationEvents.msg"
DEPENDENCIES
builtin_interfaces
std_msgs
)
msg/FaultInjectionEvent.msg
msg/SimulationEvents.msg
msg/UserDefinedValue.msg
msg/UserDefinedValueType.msg
DEPENDENCIES builtin_interfaces std_msgs)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
Expand Down
2 changes: 2 additions & 0 deletions tier4_simulation_msgs/msg/UserDefinedValue.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tier4_simulation_msgs/UserDefinedValueType type
string value
9 changes: 9 additions & 0 deletions tier4_simulation_msgs/msg/UserDefinedValueType.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
int8 BOOLEAN=0
int8 DATE_TIME=1
int8 DOUBLE=2
int8 INTEGER=3
int8 STRING=4
int8 UNSIGNED_INT=5
int8 UNSIGNED_SHORT=6

uint8 data
2 changes: 2 additions & 0 deletions tier4_simulation_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<version>0.1.0</version>
<description>The tier4_simulation_msgs package</description>
<maintainer email="kenji.miyake@tier4.jp">Kenji Miyake</maintainer>
<maintainer email="kyoichi.sugahara@tier4.jp">Kyoichi Sugahara</maintainer>
<maintainer email="maxime.clement@tier4.jp">Maxime CLEMENT</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
Expand Down

0 comments on commit 87febc3

Please sign in to comment.