Skip to content

Commit

Permalink
feat(tier4_simulation_msgs): add traffic light v1 messages
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Yoshimoto <[email protected]>
  • Loading branch information
HansRobo authored May 13, 2024
1 parent cc93262 commit 29bc97a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tier4_simulation_msgs/msg/TrafficLightArrayV1.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uint8 minor_version = 0
TrafficLightV1[] traffic_lights
31 changes: 31 additions & 0 deletions tier4_simulation_msgs/msg/TrafficLightBulbV1.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uint8 UNKNOWN = 0

# constants for color
uint8 RED = 1
uint8 AMBER = 2
uint8 GREEN = 3
uint8 WHITE = 4

# constants for shape
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 = 1
uint8 SOLID_ON = 2
uint8 FLASHING = 3

# variables
uint8 minor_version = 0
uint8 color
uint8 shape
uint8 status
float32 confidence
3 changes: 3 additions & 0 deletions tier4_simulation_msgs/msg/TrafficLightV1.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
uint8 minor_version = 0
int64 lanelet_way_id
WebAutoTrafficLightBulbV1[] traffic_light_bulbs

0 comments on commit 29bc97a

Please sign in to comment.