Class DJISubscription
Defined in File dji_subscriber.hpp
Inheritance Relationships
Derived Types
public DJISubscriptionBattery
(Class DJISubscriptionBattery)public DJISubscriptionCompass
(Class DJISubscriptionCompass)public DJISubscriptionFlightStatus
(Class DJISubscriptionFlightStatus)public DJISubscriptionImu
(Class DJISubscriptionImu)public DJISubscriptionOdometry
(Class DJISubscriptionOdometry)public DJISubscriptionRTK
(Class DJISubscriptionRTK)
Class Documentation
-
class DJISubscription
Subclassed by DJISubscriptionBattery, DJISubscriptionCompass, DJISubscriptionFlightStatus, DJISubscriptionImu, DJISubscriptionOdometry, DJISubscriptionRTK
Public Types
Public Functions
-
inline DJISubscription(const std::string package_name, as2::Node *&node, Vehicle *vehicle, int frequency, bool enable_timestamp = false)
-
inline bool start()
-
inline void stop()
-
inline void update()
-
inline int getPackageIndex() const
-
inline float getFrequency() const
-
inline void setFrequency(const float frequency)
-
inline bool getEnableTimestamp() const
-
inline std::string getName() const
-
inline DJISubscription(const std::string package_name, as2::Node *&node, Vehicle *vehicle, int frequency, bool enable_timestamp = false)