ardupilot/libraries/Trig_LUT/Trig_LUT.h
jasonshort 9cdba838a6 removed AP_Common ref
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3102 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 19:27:40 +00:00

27 lines
444 B
C++

// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
/// @file PID.h
/// @brief Generic PID algorithm, with EEPROM-backed storage of constants.
#ifndef Trig_LUT_h
#define Trig_LUT_h
#include <stdlib.h>
#include <avr/pgmspace.h>
/// @class Trig_LUT
/// @brief Simple look up table for Sin and Cos
class Trig_LUT {
public:
Trig_LUT(){};
float sin_lut(int16_t angle);
float cos_lut(int16_t angle);
};
#endif