Skip to content

Commit

Permalink
update char type mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Nov 30, 2018
1 parent 2fb8a20 commit 6f1a704
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test_communication/test/test_messages_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void get_message(test_msgs__msg__DynamicArrayPrimitives * msg, size_t msg_num)
case 0:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 0);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 0);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 0);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 0);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 0);
Expand All @@ -619,7 +619,7 @@ void get_message(test_msgs__msg__DynamicArrayPrimitives * msg, size_t msg_num)
case 1:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 1);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 1);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 1);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 1);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 1);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 1);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 1);
Expand Down Expand Up @@ -651,7 +651,7 @@ void get_message(test_msgs__msg__DynamicArrayPrimitives * msg, size_t msg_num)
case 2:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 2);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 2);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 2);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 2);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 3);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 3);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 3);
Expand Down Expand Up @@ -704,7 +704,7 @@ void get_message(test_msgs__msg__DynamicArrayPrimitives * msg, size_t msg_num)
case 3:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, size);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, size);
rosidl_generator_c__char__Sequence__init(&msg->char_values, size);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, size);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, size);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, size);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, size);
Expand Down Expand Up @@ -743,7 +743,7 @@ void get_message(test_msgs__msg__DynamicArrayPrimitives * msg, size_t msg_num)
case 4:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 0);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 0);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 0);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 0);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 0);
Expand Down Expand Up @@ -928,7 +928,7 @@ void get_message(test_msgs__msg__BoundedArrayPrimitives * msg, size_t msg_num)
case 0:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 3);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 3);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 3);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 3);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 3);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 3);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 3);
Expand Down Expand Up @@ -988,7 +988,7 @@ void get_message(test_msgs__msg__BoundedArrayPrimitives * msg, size_t msg_num)
case 1:
rosidl_generator_c__bool__Sequence__init(&msg->bool_values, 0);
rosidl_generator_c__byte__Sequence__init(&msg->byte_values, 0);
rosidl_generator_c__char__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__uint8__Sequence__init(&msg->char_values, 0);
rosidl_generator_c__float32__Sequence__init(&msg->float32_values, 0);
rosidl_generator_c__float64__Sequence__init(&msg->float64_values, 0);
rosidl_generator_c__int8__Sequence__init(&msg->int8_values, 0);
Expand Down

0 comments on commit 6f1a704

Please sign in to comment.