init github

This commit is contained in:
eddyem
2015-07-23 13:31:18 +03:00
parent 46de522a2e
commit 80154b79e8
41 changed files with 12173 additions and 0 deletions

14
C/bta_pos/bta_pos.c Normal file
View File

@@ -0,0 +1,14 @@
#include "bta_shdata.h"
inline double sec2deg(double angle){
return angle / 3600;
}
int main(int argc, char** argv){
get_shm_block( &sdat, ClientSide);
if(!check_shm_block(&sdat)) return -1;
printf("Access-Control-Allow-Origin: http://ishtar.sao.ru\n"
"Acess-Control-Allow-Methods: POST\nContent-type:multipart/form-data\n\n");
printf("telA=%.2f telZ=%.2f domeA=%.2f\n", sec2deg(val_A), sec2deg(val_Z), sec2deg(val_D));
}

1158
C/bta_pos/bta_shdata.h Normal file

File diff suppressed because it is too large Load Diff