|
|
@ -219,6 +219,7 @@ public: |
|
|
|
void send_rpm() const; |
|
|
|
void send_rpm() const; |
|
|
|
bool send_battgo_info(const mavlink_battgo_info_t *mavlink_battgo_info_t); |
|
|
|
bool send_battgo_info(const mavlink_battgo_info_t *mavlink_battgo_info_t); |
|
|
|
bool send_battgo_history(const mavlink_battgo_history_t *mavlink_battgo_info_t); |
|
|
|
bool send_battgo_history(const mavlink_battgo_history_t *mavlink_battgo_info_t); |
|
|
|
|
|
|
|
bool send_zr_flying_status(const mavlink_zr_flying_status_t *zr_flying_status_t); |
|
|
|
//void send_serial_battgo(mavlink_battgo_info_t &battgo_info_t );
|
|
|
|
//void send_serial_battgo(mavlink_battgo_info_t &battgo_info_t );
|
|
|
|
bool locked() const; |
|
|
|
bool locked() const; |
|
|
|
|
|
|
|
|
|
|
@ -447,6 +448,7 @@ protected: |
|
|
|
void manual_override(RC_Channel *c, int16_t value_in, uint16_t offset, float scaler, const uint32_t tnow, bool reversed = false); |
|
|
|
void manual_override(RC_Channel *c, int16_t value_in, uint16_t offset, float scaler, const uint32_t tnow, bool reversed = false); |
|
|
|
void handle_battgo_info(const mavlink_message_t &msg); |
|
|
|
void handle_battgo_info(const mavlink_message_t &msg); |
|
|
|
void handle_battgo_history(const mavlink_message_t &msg); |
|
|
|
void handle_battgo_history(const mavlink_message_t &msg); |
|
|
|
|
|
|
|
void handle_zr_fly_status(const mavlink_message_t &msg); |
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
void log_mavlink_stats(); |
|
|
|
void log_mavlink_stats(); |
|
|
@ -836,6 +838,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
void update_serial_battgo_info(mavlink_battgo_info_t *battgo_info_t ); |
|
|
|
void update_serial_battgo_info(mavlink_battgo_info_t *battgo_info_t ); |
|
|
|
void update_serial_battgo_history(mavlink_battgo_history_t *battgo_history_t ); |
|
|
|
void update_serial_battgo_history(mavlink_battgo_history_t *battgo_history_t ); |
|
|
|
|
|
|
|
void update_zr_fly_status(mavlink_zr_flying_status_t *zr_flying_status_t ); |
|
|
|
// minimum amount of time (in microseconds) that must remain in
|
|
|
|
// minimum amount of time (in microseconds) that must remain in
|
|
|
|
// the main scheduler loop before we are allowed to send any
|
|
|
|
// the main scheduler loop before we are allowed to send any
|
|
|
|
// mavlink messages. We want to prioritise the main flight
|
|
|
|
// mavlink messages. We want to prioritise the main flight
|
|
|
|