Skip to content

Commit

Permalink
revert: "fix(autoware_perception_msgs): add Header to tlr messages an…
Browse files Browse the repository at this point in the history
…d change TrafficLightElement.msg status" (#69)

Revert "fix(autoware_perception_msgs): add Header to tlr messages and change TrafficLightElement.msg status (#68)"

This reverts commit 18588df.
  • Loading branch information
Mingyu1991 authored Jun 23, 2023
1 parent 18588df commit 52a856d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion autoware_perception_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/TrafficSignal.msg"
"msg/TrafficSignalArray.msg"
DEPENDENCIES
std_msgs
builtin_interfaces
)

ament_auto_package()
2 changes: 1 addition & 1 deletion autoware_perception_msgs/msg/TrafficLightArray.msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
std_msgs/Header header
builtin_interfaces/Time stamp
autoware_perception_msgs/TrafficLight[] lights
26 changes: 13 additions & 13 deletions autoware_perception_msgs/msg/TrafficLightElement.msg
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ uint8 GREEN = 3
uint8 WHITE = 4

# constants for shape
uint8 CIRCLE = 5
uint8 LEFT_ARROW = 6
uint8 RIGHT_ARROW = 7
uint8 UP_ARROW = 8
uint8 UP_LEFT_ARROW = 9
uint8 UP_RIGHT_ARROW = 10
uint8 DOWN_ARROW = 11
uint8 DOWN_LEFT_ARROW = 12
uint8 DOWN_RIGHT_ARROW = 13
uint8 CROSS = 14
uint8 CIRCLE = 1
uint8 LEFT_ARROW = 2
uint8 RIGHT_ARROW = 3
uint8 UP_ARROW = 4
uint8 UP_LEFT_ARROW=5
uint8 UP_RIGHT_ARROW=6
uint8 DOWN_ARROW = 7
uint8 DOWN_LEFT_ARROW = 8
uint8 DOWN_RIGHT_ARROW = 9
uint8 CROSS = 10

# constants for status
uint8 SOLID_OFF = 15
uint8 SOLID_ON = 16
uint8 FLASHING = 17
uint8 SOLID_OFF = 1
uint8 SOLID_ON = 2
uint8 FLASHING = 3

# variables
uint8 color
Expand Down
2 changes: 1 addition & 1 deletion autoware_perception_msgs/msg/TrafficSignalArray.msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
std_msgs/Header header
builtin_interfaces/Time stamp
autoware_perception_msgs/TrafficSignal[] signals
1 change: 0 additions & 1 deletion autoware_perception_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<buildtool_depend>rosidl_default_generators</buildtool_depend>

<depend>builtin_interfaces</depend>
<depend>std_msgs</depend>

<exec_depend>rosidl_default_runtime</exec_depend>

Expand Down

0 comments on commit 52a856d

Please sign in to comment.