|
From: <gb...@us...> - 2009-09-02 08:24:52
|
Revision: 440
http://gearbox.svn.sourceforge.net/gearbox/?rev=440&view=rev
Author: gbiggs
Date: 2009-09-02 08:24:40 +0000 (Wed, 02 Sep 2009)
Log Message:
-----------
Fixed bug caused by misinterpretation of ME command docs
Modified Paths:
--------------
gearbox/trunk/src/hokuyo_aist/hokuyo_aist.cpp
Modified: gearbox/trunk/src/hokuyo_aist/hokuyo_aist.cpp
===================================================================
--- gearbox/trunk/src/hokuyo_aist/hokuyo_aist.cpp 2009-08-30 02:45:00 UTC (rev 439)
+++ gearbox/trunk/src/hokuyo_aist/hokuyo_aist.cpp 2009-09-02 08:24:40 UTC (rev 440)
@@ -1639,7 +1639,6 @@
throw HokuyoError (HOKUYO_ERR_PROTOCOL, ss.str ());
}
// Then compare the parameters
- buffer[12] = '0'; // There will be zero scans remaining after this one
if (memcmp (&response[2], buffer, 13) != 0)
{
throw HokuyoError (HOKUYO_ERR_PROTOCOL, "Incorrect paramaters prefix for ME data.");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|