X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview.h;h=1ad9e160dd308cb478b3e5b27e8e535cbe7c974b;hp=4eb4cd80b8a06d8ef267b0050c37e3f1e8209b24;hb=4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1;hpb=778cae8fc5a4b30e5045e4703316fc61ae18562a diff --git a/aoview/aoview.h b/aoview/aoview.h index 4eb4cd80..1ad9e160 100644 --- a/aoview/aoview.h +++ b/aoview/aoview.h @@ -20,6 +20,10 @@ #define _GNU_SOURCE +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -70,9 +74,15 @@ struct aostate { int minute; int second; } gps_time; - double lat; - double lon; - int alt; + double lat; /* degrees (+N -S) */ + double lon; /* degrees (+E -W) */ + int alt; /* m */ + double ground_speed; /* m/s */ + int course; /* degrees */ + double climb_rate; /* m/s */ + double hdop; /* unitless? */ + int h_error; /* m */ + int v_error; /* m */ }; void @@ -210,4 +220,11 @@ aoview_eeprom_save(const char *device); void aoview_eeprom_init(GladeXML *xml); +/* aoview_voice.c */ +void aoview_voice_open(void); + +void aoview_voice_close(void); + +void aoview_voice_speak(char *format, ...); + #endif /* _AOVIEW_H_ */