We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f0e204 commit c31879bCopy full SHA for c31879b
test/types/main.ts
@@ -680,3 +680,14 @@ actionUuid.toMessage();
680
681
// $ExpectType UUID
682
rclnodejs.ActionUuid.randomMessage();
683
+
684
+// ---- Parameter -----
685
+// $ExpectType Parameter
686
+const param = rclnodejs.createMessageObject('rcl_interfaces/msg/Parameter');
687
+param.name = 'integer_param';
688
+param.value.type = rclnodejs.ParameterType.PARAMETER_INTEGER;
689
+param.value.integer_value = BigInt(123);
690
691
+param.name = 'byte_array_param';
692
+param.value.type = rclnodejs.ParameterType.PARAMETER_BYTE_ARRAY;
693
+param.value.byte_array_value = [1, 2, 3];
0 commit comments