Update of /cvsroot/playerstage/code/player/server/drivers/actarray
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18006/server/drivers/actarray
Modified Files:
amtecM5.cc
Log Message:
applied patch 1611540
Index: amtecM5.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/actarray/amtecM5.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** amtecM5.cc 8 Nov 2006 18:21:29 -0000 1.1
--- amtecM5.cc 15 Dec 2006 21:31:57 -0000 1.2
***************
*** 50,53 ****
--- 50,54 ----
// These flags are needed by Device.h
// They should probably be moved to -D flags on the compile of this program
+ // As they are, they assume a Linux system
#define __LINUX__
#define UNIX
***************
*** 74,77 ****
--- 75,79 ----
[...1075 lines suppressed...]
! data.actuators[i].acceleration=accel[i]*directions[i];
! data.actuators[i].current=current[i]*directions[i];
! data.actuators[i].state=report_state[i];
}
! //Data is now ready for publication.
!
! // Process incoming messages. AmtecM5::ProcessMessage() is
! // called on each message. (We do this after reading data, to
avoid jitter on the acquisition rate)
! ProcessMessages();
!
//Tell the watchdog we are still alive:
***************
*** 863,867 ****
-
}
}
--- 1258,1261 ----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit