41 #include <px4_platform_common/defines.h> 82 if (handle !=
nullptr) {
PublicationMultiData(const orb_metadata *meta, uint8_t priority=ORB_PRIO_DEFAULT)
Constructor.
API for the uORB lightweight object broker.
PublicationMulti(const orb_metadata *meta, uint8_t priority=ORB_PRIO_DEFAULT)
Constructor.
Simple error/warning functions, heavily inspired by the BSD functions of the same names...
bool update(const T &data)
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data)
int orb_unadvertise(orb_advert_t handle)
Base publication multi wrapper class.
static struct mpu9x50_data _data
IMU measurement data.
bool publish(const T &data)
Publish the struct.
const orb_metadata * _meta
The publication multi class with data embedded.
orb_advert_t orb_advertise_multi(const struct orb_metadata *meta, const void *data, int *instance, int priority)