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"
Go to the source code of this file.
Classes | |
struct | Location |
Defines | |
Warning control | |
#define | PROGMEM __attribute__(( section(".progmem.data") )) |
#define | PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];})) |
Conversions | |
#define | ToRad(x) (x*0.01745329252) |
#define | ToDeg(x) (x*57.2957795131) |
#define | ToDeg(x) (x*57.2957795131) |
#define | ToRad(x) (x*0.01745329252) |
Common definitions and utility routines for the ArduPilot libraries.
Definition in file AP_Common.h.
#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.