Skip to content

Commit 7a8ac5b

Browse files
committed
document 'buffer' types
1 parent c030de8 commit 7a8ac5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meta/callbacks.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@
694694
<description>topic name, e.g.: '/cmd_vel'</description>
695695
</param>
696696
<param name="topicCallback" type="string">
697-
<description>name of the callback function, which will be called as: topicCallback(string data, number width, number height)</description>
697+
<description>name of the callback function, which will be called as: topicCallback(buffer data, int width, int height)</description>
698698
</param>
699699
<param name="queueSize" type="int" default="1">
700700
<description>(optional) queue size</description>
@@ -776,7 +776,7 @@
776776
<param name="publisherHandle" type="string">
777777
<description>the publisher handle</description>
778778
</param>
779-
<param name="data" type="string">
779+
<param name="data" type="buffer">
780780
<description>the image data</description>
781781
</param>
782782
<param name="width" type="int">
@@ -1062,7 +1062,7 @@
10621062
<script-function name="imageTransportCallback">
10631063
<description>Callback for ROS ImageTransport subscription.</description>
10641064
<params>
1065-
<param name="data" type="string">
1065+
<param name="data" type="buffer">
10661066
<description>the image data</description>
10671067
</param>
10681068
<param name="width" type="int">

0 commit comments

Comments
 (0)