Class: Publisher

Publisher()

- Class representing a Publisher in ROS

Members

topic :string

Type:
  • string
Source:

Methods

publish(message) → {undefined}

Publish a message
Parameters:
Name Type Description
message object | Buffer The message to be sent, could be kind of JavaScript message generated from .msg or be a Buffer for a raw message.
Source:
Returns:
Type
undefined