Proxim RangeLAN2 7920 Manual do Utilizador Página 56

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 103
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 55
41
#define PORT5 2005
tcp_Socket Motorsock;
tcp_Socket Headsock;
tcp_Socket GPSsock;
tcp_Socket DHeadLocsock;
tcp_Socket StopNavsock;
tcp_Socket Statussock;
#define BINBUFSIZE 63
#define BOUTBUFSIZE 63
#define CINBUFSIZE 1023
#define COUTBUFSIZE 1023
#define TIMEOUT 40UL // will time out 20 milliseconds after receiving any
// character unless MAXSIZE characters are received
#define MAXSIZE 128
#define MAXSIZE2 160
char HeadIn[MAXSIZE];
char GPSIn[MAXSIZE];
char HeadOut[MAXSIZE2];
char GPSOut[MAXSIZE2];
int x;
char HeadBuffer[2048];
char GPSBuffer[2048];
char DHeadLocBuffer[127];
char StopNavBuffer[31];
char DHeadLoc[127];
char StopNav[127];
//VARIABLE DEFINITIONS FOR NAVIGATION
float AVGCSE; /* Average heading to minimize hunting */
float CTS; /* Course to steer computed from waypoint and current location */
float ABSDIFF; /* Absolute difference between CTS and AVGCSE */
float DIST; /* Distance btween current location and WP */
float SPD; /* SPEED */
Vista de página 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 102 103

Comentários a estes Manuais

Sem comentários