41 _sensor_baro_pub{
ORB_ID(sensor_baro), priority}
PX4Barometer(uint32_t device_id, uint8_t priority=ORB_PRIO_DEFAULT)
#define BARO_BASE_DEVICE_PATH
virtual int register_class_devname(const char *class_devname)
Register a class device name, automatically adding device class instance suffix if need be...
int _class_device_instance
static int32_t device_id[max_accel_sens]
struct DeviceStructure devid_s
virtual void poll_notify(pollevent_t events)
Report new poll events.
Definitions for the generic base classes in the device framework.
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
virtual int unregister_class_devname(const char *class_devname, unsigned class_instance)
Register a class device name, automatically adding device class instance suffix if need be...
void update(hrt_abstime timestamp, float pressure)
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
uORB::PublicationMultiData< sensor_baro_s > _sensor_baro_pub
void set_device_type(uint8_t devtype)