Proxim RangeLAN2 7920 Uživatelský manuál Strana 56

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 103
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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 */
Zobrazit stránku 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 102 103

Komentáře k této Příručce

Žádné komentáře