View Source Rclex.Publisher (Rclex v0.7.1)

Defines publish message functions.

Publisher itself can be created on Node by calling below,

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

@type id_tuple() :: {node_identifier :: charlist(), topic_name :: charlist(), :pub}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

publish(publisher_list, data)

View Source
@spec publish(publisher_list :: [id_tuple()], data :: [Rclex.Nifs.ros_message()]) ::
  :ok
Link to this function

publish_once(pub, pubmsg, pub_alloc)

View Source
@spec publish_once(
  Rclex.Nifs.rcl_publisher(),
  Rclex.Nifs.ros_message(),
  Rclex.Nifs.rmw_publisher_allocation()
) :: :ok