Autopilot-CVS: downlink/ground/src main.cpp,1.16,1.17
Status: Alpha
Brought to you by:
tramm
|
From: Dennis D'A. <den...@us...> - 2003-02-05 17:39:31
|
Update of /cvsroot/autopilot/downlink/ground/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14362
Modified Files:
main.cpp
Log Message:
the packet widget now increments with each state read
Index: main.cpp
===================================================================
RCS file: /cvsroot/autopilot/downlink/ground/src/main.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- main.cpp 3 Feb 2003 21:01:04 -0000 1.16
+++ main.cpp 5 Feb 2003 17:39:26 -0000 1.17
@@ -51,6 +51,7 @@
const char * server_hostname = "192.168.1.5";
int server_port = 2002;
int udp_fd = -1;
+int packets = 0;
static void
@@ -171,6 +172,10 @@
)
{
state_t state;
+
+ gui->packets->value( packets++ );
+
+ //send joystick
if( read_state( &state, 0 ) < 0 )
{
|