Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/AntennaTracker/GCS_MAVLink_Tracker.h
Views: 1798
#pragma once12#include <GCS_MAVLink/GCS.h>34class GCS_MAVLINK_Tracker : public GCS_MAVLINK5{67public:89using GCS_MAVLINK::GCS_MAVLINK;1011uint8_t sysid_my_gcs() const override;1213protected:1415// telem_delay is not used by Tracker but is pure virtual, thus16// this implementation. it probably *should* be used by Tracker,17// as currently Tracker may brick XBees18uint32_t telem_delay() const override { return 0; }192021MAV_RESULT handle_command_component_arm_disarm(const mavlink_command_int_t &packet) override;22MAV_RESULT _handle_command_preflight_calibration_baro(const mavlink_message_t &msg) override;23MAV_RESULT handle_command_int_packet(const mavlink_command_int_t &packet, const mavlink_message_t &msg) override;2425int32_t global_position_int_relative_alt() const override {26return 0; // what if we have been picked up and carried somewhere?27}2829void send_nav_controller_output() const override;30void send_pid_tuning() override;3132// Send the mode with the given index (not mode number!) return the total number of modes33// Index starts at 134uint8_t send_available_mode(uint8_t index) const override;3536private:3738void packetReceived(const mavlink_status_t &status, const mavlink_message_t &msg) override;39void mavlink_check_target(const mavlink_message_t &msg);40void handle_message(const mavlink_message_t &msg) override;41void handle_message_mission_write_partial_list(const mavlink_message_t &msg);42void handle_message_mission_item(const mavlink_message_t &msg);43void handle_message_manual_control(const mavlink_message_t &msg);44void handle_message_global_position_int(const mavlink_message_t &msg);45void handle_message_scaled_pressure(const mavlink_message_t &msg);46void handle_set_attitude_target(const mavlink_message_t &msg);4748void send_global_position_int() override;4950MAV_MODE base_mode() const override;51MAV_STATE vehicle_system_status() const override;5253bool waypoint_receiving;54};555657