@@ -202,7 +202,15 @@ class NodeHandle {
202202 return this . actionClientInterface ( ...args ) ;
203203 }
204204
205- actionClientInterface ( actionServer , type , options = { } ) {
205+ /**
206+ * Create an action client
207+ * @param {String } actionServer name of the action server
208+ * (e.g., "/turtle_shape")
209+ * @param {String } type action type
210+ * (e.g., "turtle_actionlib/ShapeAction")
211+ * @return {[type] } an instance of ActionClientInterface
212+ */
213+ actionClientInterface ( actionServer , type , options = { } ) {
206214 if ( ! actionServer ) {
207215 throw new Error ( `Unable to create action client to unspecified server - [${ actionServer } ]` ) ;
208216 }
@@ -311,11 +319,11 @@ class NodeHandle {
311319 * @property {{name: string, type: string}[] } topics Array of topics
312320 */
313321
314-
315- /**
322+
323+ /**
316324 * Get list of topics that can be subscribed to. This does not return
317325 * topics that have no publishers.
318- *
326+ *
319327 * @param {string } subgraph Restrict topic names to match within the
320328 * specified subgraph. Subgraph namespace is
321329 * resolved relative to this node's namespace.
@@ -328,7 +336,7 @@ class NodeHandle {
328336
329337 /**
330338 * Retrieve list topic names and their types.
331- *
339+ *
332340 * @return {Promise.<TopicList> }
333341 */
334342 getTopicTypes ( ) {
@@ -338,9 +346,9 @@ class NodeHandle {
338346
339347 /**
340348 * @typedef {Object } SystemState
341- * @property {{...string:Array.<string>} } publishers An object with topic names as keys and
349+ * @property {{...string:Array.<string>} } publishers An object with topic names as keys and
342350 * an array of publishers as values
343- * @property {{...string:Array.<string>} } subscribers An object with topic names as keys and
351+ * @property {{...string:Array.<string>} } subscribers An object with topic names as keys and
344352 * an array of subscribers as values
345353 * @property {{...string:Array.<string>} } services An object with service names as keys and
346354 * an array of providers as values
@@ -349,11 +357,11 @@ class NodeHandle {
349357 /**
350358 * Retrieve list representation of system state (i.e. publishers,
351359 * subscribers, and services).
352- *
360+ *
353361 * @return {Promise.<SystemState> }
354362 */
355363 getSystemState ( ) {
356- return this . _node . getSystemState ( ) ;
364+ return this . _node . getSystemState ( ) ;
357365 }
358366
359367//------------------------------------------------------------------
0 commit comments