|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
The publication class with data embedded. More...
#include <Publication.hpp>
Public Member Functions | |
| PublicationData (const orb_metadata *meta) | |
| Constructor. More... | |
| ~PublicationData ()=default | |
| T & | get () |
| void | set (const T &data) |
| bool | update () |
| bool | update (const T &data) |
Public Member Functions inherited from uORB::Publication< T > | |
| Publication (const orb_metadata *meta) | |
| Constructor. More... | |
| ~Publication () | |
| bool | publish (const T &data) |
| Publish the struct. More... | |
Private Attributes | |
| T | _data {} |
Additional Inherited Members | |
Protected Attributes inherited from uORB::Publication< T > | |
| const orb_metadata * | _meta |
| orb_advert_t | _handle {nullptr} |
The publication class with data embedded.
Definition at line 95 of file Publication.hpp.
|
inline |
Constructor.
Definition at line 103 of file Publication.hpp.
|
default |
|
inline |
Definition at line 106 of file Publication.hpp.
Referenced by BlockLocalPositionEstimator::flowCorrect(), BlockLocalPositionEstimator::gpsCorrect(), Commander::handle_command(), DShotOutput::handleNewTelemetryData(), BlockLocalPositionEstimator::landCorrect(), BlockLocalPositionEstimator::lidarCorrect(), BlockLocalPositionEstimator::mocapCorrect(), BlockLocalPositionEstimator::publishEstimatorStatus(), BlockLocalPositionEstimator::publishGlobalPos(), BlockLocalPositionEstimator::publishLocalPos(), BlockLocalPositionEstimator::publishOdom(), Commander::run(), Ekf2::Run(), BlockLocalPositionEstimator::Run(), Commander::set_home_position_alt_only(), BlockLocalPositionEstimator::sonarCorrect(), and BlockLocalPositionEstimator::visionCorrect().
|
inline |
Definition at line 107 of file Publication.hpp.
|
inline |
Definition at line 110 of file Publication.hpp.
Referenced by Commander::handle_command(), DShotOutput::handleNewTelemetryData(), BlockLocalPositionEstimator::publishEstimatorStatus(), BlockLocalPositionEstimator::publishGlobalPos(), BlockLocalPositionEstimator::publishLocalPos(), BlockLocalPositionEstimator::publishOdom(), Ekf2::Run(), BlockLocalPositionEstimator::Run(), Commander::set_home_position(), and Commander::set_home_position_alt_only().
|
inline |
Definition at line 111 of file Publication.hpp.
|
private |
Definition at line 118 of file Publication.hpp.