Update of /cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19855/server/drivers/mixed/irobot/roomba

Modified Files:
        roomba_comms.c roomba_comms.h 
Log Message:
applied patch 1815604

Index: roomba_comms.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba/roomba_comms.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** roomba_comms.h      17 Oct 2006 23:10:16 -0000      1.7
--- roomba_comms.h      18 Oct 2007 22:37:16 -0000      1.8
***************
*** 133,136 ****
--- 133,137 ----
  void roomba_print(roomba_comm_t* r);
  int roomba_clean(roomba_comm_t* r);
+ int roomba_forcedock(roomba_comm_t* r);
  
  int roomba_set_song(roomba_comm_t* r, unsigned char songNumber, 

Index: roomba_comms.c
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/irobot/roomba/roomba_comms.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** roomba_comms.c      17 Oct 2006 23:10:16 -0000      1.13
--- roomba_comms.c      18 Oct 2007 22:37:16 -0000      1.14
***************
*** 450,453 ****
--- 450,467 ----
  }
  
+ int
+ roomba_forcedock(roomba_comm_t* r)
+ {
+   unsigned char cmdbuf[1];
+ 
+   cmdbuf[0] = ROOMBA_OPCODE_FORCEDOCK;
+   if(write(r->fd, cmdbuf, 1) < 0)
+   {
+     perror("roomba_seek_home():write():");
+     return(-1);
+   }
+   return(0);
+ }
+ 
  void
  roomba_print(roomba_comm_t* r)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to