vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_Flock_Parallel.C File Reference
#include <stdio.h>
#include "vrpn_BaseClass.h"
#include "vrpn_Flock_Parallel.h"
#include "vrpn_Serial.h"
#include "vrpn_Shared.h"
#include "vrpn_Tracker.h"
Include dependency graph for vrpn_Flock_Parallel.C:

Go to the source code of this file.

Macros

#define STATUS_MSG
 
#define STATUS_MSG_SECS   600
 
#define poll()
 
#define MAX_TIME_INTERVAL   (VRPN_FLOCK_MAX_SENSORS*1000000)
 

Variables

class VRPN_API vrpn_Connection
 

Macro Definition Documentation

◆ MAX_TIME_INTERVAL

#define MAX_TIME_INTERVAL   (VRPN_FLOCK_MAX_SENSORS*1000000)

Definition at line 325 of file vrpn_Flock_Parallel.C.

◆ poll

#define poll ( )
Value:
{ \
char chPoint = 'B';\
fprintf(stderr,"."); \
if (vrpn_write_characters(serial_fd, (const unsigned char *) &chPoint, 1 )!=1) {\
fprintf(stderr,"\nvrpn_Tracker_Flock_Parallel_Slave %d: failed writing set mode cmds to tracker", d_sensor);\
status = vrpn_TRACKER_FAIL;\
return;\
} \
vrpn_gettimeofday(&timestamp, NULL);\
}
int vrpn_write_characters(int comm, const unsigned char *buffer, size_t bytes)
Write the buffer to the serial port.
Definition: vrpn_Serial.C:651
const int vrpn_TRACKER_FAIL
Definition: vrpn_Tracker.h:40

Definition at line 240 of file vrpn_Flock_Parallel.C.

◆ STATUS_MSG

#define STATUS_MSG

Definition at line 42 of file vrpn_Flock_Parallel.C.

◆ STATUS_MSG_SECS

#define STATUS_MSG_SECS   600

Definition at line 43 of file vrpn_Flock_Parallel.C.

Variable Documentation

◆ vrpn_Connection

Definition at line 39 of file vrpn_Flock_Parallel.C.