41 #include <px4_platform_common/defines.h> 76 if (handle !=
nullptr) {
API for the uORB lightweight object broker.
Publication(const orb_metadata *meta)
Constructor.
orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data)
bool update(const T &data)
Base publication wrapper class.
bool publish(const T &data)
Publish the struct.
PublicationData(const orb_metadata *meta)
Constructor.
Simple error/warning functions, heavily inspired by the BSD functions of the same names...
__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)
The publication class with data embedded.
int orb_unadvertise(orb_advert_t handle)
const orb_metadata * _meta
static struct mpu9x50_data _data
IMU measurement data.