You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the implementation of these transformation libraries, the user needs to be able to serialisation/deserialization ROS2 messages.
19
-
Also, an NGSIv2 serialisation/deserialization mechanism will be used.
18
+
In the implementation of these transformation libraries, the user needs to be able to serialisation/deserialisation ROS2 messages.
19
+
Also, an NGSIv2 serialisation/deserialisation mechanism will be used.
20
20
21
-
The FIROS2 package provides a standard NGSIv2 serialisation/deserialization mechanisms, but ROS2 serialisation/deserialization is not offered due to its dependencies with the message type.
21
+
The FIROS2 package provides a standard NGSIv2 serialisation/deserialisation mechanisms, but ROS2 serialisation/deserialisation is not offered due to its dependencies with the message type.
22
22
23
23
For solving this issue, various methods to get it are proposed:
24
24
25
-
#### Use serialisation/deserialization method provided by the middleware layer
25
+
#### Use serialisation/deserialisation method provided by the middleware layer
26
26
27
27
This is currently the method used in micro-ROS - FIROS 2 integration.
28
28
@@ -52,23 +52,23 @@ This is a portion of code used in the transformation library implementation.
52
52
return;
53
53
}
54
54
55
-
// Transformation and NGSIv2 serialization code here
55
+
// Transformation and NGSIv2 serialisation code here
56
56
57
57
}
58
58
```
59
59
60
60
Note the call to ROS 2 interface __rosidl_typesupport_cpp::get_message_type_support_handle__
61
61
62
-
#### Use serialization/deserialization method for an specific type support
62
+
#### Use serialisation/deserialisation method for an specific type support
63
63
64
64
In this case, the transformation library will use one specific type support to serialise/deserialise the bridged ROS2 messages.
65
65
In micro-ROS case, the implementation to be used will be rosidl_typesupport_microxrcedds.
66
66
This method is trivial to develop as it does not require additional source code on the micro-ROS side.
67
67
68
-
In the case of micro-ROS, the transformation library should use the serialisation/deserialization API exposed by its typesupport, rosidl_typesupport_microxrcedds.
68
+
In the case of micro-ROS, the transformation library should use the serialisation/deserialisation API exposed by its typesupport, rosidl_typesupport_microxrcedds.
69
69
This mechanism requires the user to have access to the typesupport API, which sometimes is not always possible.
70
70
71
-
#### Used serialization/deserialization method generated from IDL file
71
+
#### Used serialisation/deserialisation method generated from IDL file
72
72
73
73
In this case, transformation library will use generated code to serialise/deserialise the bridged ROS2 messages.
74
74
The generated code may be made using an IDL parser tool.
0 commit comments