Path: blob/master/libraries/AC_InputManager/AC_InputManager.h
9447 views
#pragma once12/// @file AC_InputManager.h3/// @brief Pilot manual control input library45#include <AP_Common/AP_Common.h>6#include <AP_Param/AP_Param.h>7#include <AP_Math/AP_Math.h>89/// @class AC_InputManager10/// @brief Class managing the pilot's control inputs11class AC_InputManager{12public:13AC_InputManager() {14// setup parameter defaults15AP_Param::setup_object_defaults(this, var_info);16}1718/* Do not allow copies */19CLASS_NO_COPY(AC_InputManager);2021static const struct AP_Param::GroupInfo var_info[];22void set_loop_rate(uint16_t loop_rate) { _loop_rate = loop_rate; }2324protected:25// internal variables26uint16_t _loop_rate; // rate at which output() function is called (normally 400hz)2728};293031