Skip to content

Commit

Permalink
add default values for some message fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 23, 2014
1 parent 103dd81 commit f2b8af2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
26 changes: 13 additions & 13 deletions simple_msgs/msg/AllDynamicArrayTypes.msg
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
bool[] my_bool
byte[] my_byte
char[] my_char
float32[] my_float32
float64[] my_float64
int8[] my_int8
uint8[] my_uint8
int16[] my_int16
uint16[] my_uint16
int32[] my_int32
uint32[] my_uint32
int64[] my_int64
uint64[] my_uint64
bool[] my_bool [1, 0, 1]
byte[] my_byte [23, 42]
char[] my_char [-2, 3]
float32[] my_float32 []
float64[] my_float64 [-3.14, 23.42]
int8[] my_int8 [-5]
uint8[] my_uint8 [5]
int16[] my_int16 [1, 2, 3]
uint16[] my_uint16 [2, 3, 4]
int32[] my_int32 [3, 4, 5]
uint32[] my_uint32 [4, 5, 6]
int64[] my_int64 [5, 6, 7]
uint64[] my_uint64 [6, 7, 8]
string[] my_string
28 changes: 14 additions & 14 deletions simple_msgs/msg/AllPrimitiveTypes.msg
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
bool my_bool
byte my_byte
char my_char
float32 my_float32
float64 my_float64
int8 my_int8
uint8 my_uint8
int16 my_int16
uint16 my_uint16
int32 my_int32
uint32 my_uint32
int64 my_int64
uint64 my_uint64
string my_string
bool my_bool 1
byte my_byte 42
char my_char 43
float32 my_float32 3.14
float64 my_float64 3.1415
int8 my_int8 -128
uint8 my_uint8 255
int16 my_int16 -32768
uint16 my_uint16 65535
int32 my_int32 5
uint32 my_uint32 6
int64 my_int64 7
uint64 my_uint64 8
string my_string ' f o o '

0 comments on commit f2b8af2

Please sign in to comment.