Skip to content

Commit

Permalink
Update the Log.msg constant types. (#161)
Browse files Browse the repository at this point in the history
These should be uint8 to match the type of the level
field below, which is also uint8.  This will allow
us to assign them without error when using Python.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Sep 6, 2023
1 parent 17066cd commit b5339e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rcl_interfaces/msg/Log.msg
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
##

# Debug is for pedantic information, which is useful when debugging issues.
byte DEBUG=10
uint8 DEBUG=10

# Info is the standard informational level and is used to report expected
# information.
byte INFO=20
uint8 INFO=20

# Warning is for information that may potentially cause issues or possibly unexpected
# behavior.
byte WARN=30
uint8 WARN=30

# Error is for information that this node cannot resolve.
byte ERROR=40
uint8 ERROR=40

# Information about a impending node shutdown.
byte FATAL=50
uint8 FATAL=50

##
## Fields
Expand Down

0 comments on commit b5339e6

Please sign in to comment.