APM:Libraries
AC_InputManager.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include <AP_Common/AP_Common.h>
7 #include <AP_Param/AP_Param.h>
8 #include <AP_Math/AP_Math.h>
9 
13 public:
15  // setup parameter defaults
17  }
18 
19  /* Do not allow copies */
20  AC_InputManager(const AC_InputManager &other) = delete;
21  AC_InputManager &operator=(const AC_InputManager&) = delete;
22 
23  static const struct AP_Param::GroupInfo var_info[];
24  void set_loop_rate(uint16_t loop_rate) { _loop_rate = loop_rate; }
25 
26 protected:
27  // internal variables
28  uint16_t _loop_rate; // rate at which output() function is called (normally 400hz)
29 
30 };
A system for managing and storing variables that are of general interest to the system.
static const struct AP_Param::GroupInfo var_info[]
AC_InputManager & operator=(const AC_InputManager &)=delete
Common definitions and utility routines for the ArduPilot libraries.
Class managing the pilot&#39;s control inputs.
void set_loop_rate(uint16_t loop_rate)
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)
Definition: AP_Param.cpp:1214