10#ifndef NROS_PUBLISHER_H
11#define NROS_PUBLISHER_H
28#ifndef NROS_NO_DEPRECATED_PUBLISH_RAW_ALIAS
29#if defined(__GNUC__) || defined(__clang__)
31__attribute__((deprecated(
"renamed to rclc_publish_serialized; call that instead")))
78 const char* topic_name) {
rcl_ret_t rclc_publisher_init_with_qos(struct rcl_publisher_t *publisher, const struct rcl_node_t *node, const struct rclc_message_type_t *type_info, const char *topic_name, const struct rclc_qos_t *qos)
rcl_ret_t rclc_publish_serialized(const struct rcl_publisher_t *publisher, const uint8_t *data, size_t len)
const struct rclc_qos_t RCLC_QOS_SENSOR_DATA
int rcl_ret_t
Definition nros_generated.h:993
static rcl_ret_t rclc_publish_raw(const rcl_publisher_t *publisher, const uint8_t *data, size_t len)
Deprecated: renamed to rclc_publish_serialized().
Definition publisher.h:34
static rcl_ret_t rclc_publisher_init_best_effort(struct rcl_publisher_t *publisher, const struct rcl_node_t *node, const struct rclc_message_type_t *type_info, const char *topic_name)
rclc's best-effort preset constructor for a publisher.
Definition publisher.h:75
Umbrella header for the nano-ros C API, at upstream's path.
Definition nros_generated.h:1625
Definition nros_generated.h:2469
Definition nros_generated.h:2252
Shared types and constants for the nros C API.