Classes

AP_Common.h File Reference

Common definitions and utility routines for the ArduPilot libraries. More...

#include <stdint.h>
#include "include/menu.h"
#include "c++.h"
#include "AP_Vector.h"
#include "AP_Loop.h"
#include "AP_Var.h"
Include dependency graph for AP_Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Location

Defines

Warning control

simple menu subsystem

#define PROGMEM   __attribute__(( section(".progmem.data") ))
#define PSTR(s)   (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
Conversions

Conversion macros and factors.

#define ToRad(x)   (x*0.01745329252)
#define ToDeg(x)   (x*57.2957795131)
#define ToDeg(x)   (x*57.2957795131)
#define ToRad(x)   (x*0.01745329252)

Detailed Description

Common definitions and utility routines for the ArduPilot libraries.

Definition in file AP_Common.h.


Define Documentation

#define PROGMEM   __attribute__(( section(".progmem.data") ))

Definition at line 65 of file AP_Common.h.

#define PSTR (   s  )     (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))

Definition at line 67 of file AP_Common.h.

#define ToDeg (   x  )     (x*57.2957795131)

XXX this should probably be replaced with radians()/degrees(), but their inclusion in wiring.h makes doing that here difficult.

Definition at line 105 of file AP_Common.h.

#define ToDeg (   x  )     (x*57.2957795131)

XXX this should probably be replaced with radians()/degrees(), but their inclusion in wiring.h makes doing that here difficult.

Definition at line 105 of file AP_Common.h.

#define ToRad (   x  )     (x*0.01745329252)

Definition at line 106 of file AP_Common.h.

#define ToRad (   x  )     (x*0.01745329252)

Definition at line 106 of file AP_Common.h.