From: Geoffrey B. <geo...@ai...> - 2009-08-28 00:25:44
|
My first comment is that you don't need to pass any parameters to the HokuyoData constructor. It will allocate enough memory itself automatically. Secondly, are you using a laser that produces intensity data, such as the UTM-30LX? If you are, then change the port type used by HokuyoLaser in your call to the Open() method to seriallog, set verbose mode on using HokuyoLaser.SetVerbose(true), and run your program again. This will produce two large output files called port.logr and port.logw and a lot of console output. Tar this all up and post it here. Geoff Geoff Biggs wrote: > I have forwarded your message to the Gearbox users mailing list, so that > other people may benefit from the solution when it is found. > > Geoff > > -------- Original Message -------- > Subject: Problem using GearBox - Hokuyo aist > Date: Thu, 27 Aug 2009 14:19:43 +0000 > From: Martí Morta <mar...@us...> > To: gb...@us... > CC: mar...@us... > > > Message body follows: > > Dear Mr.Biggs, > I'm trying to use GetNewRangesAndIntensities() but it gives > me the next exception: Caught exception: (3) Incorrect > paramaters prefix for ME data. > I suppose i don't give parameters properly, I do this: > > uint32_t ra; > uint32_t in; > unsigned int timei; > hokuyo_aist::HokuyoData datai(&ra,&in,1024,false,timei); > laser.GetNewRangesAndIntensities(&datai,-1,-1,clusterCount); > > I haven't been able to find any solution in mailing lists > neither internet, do you know where I'm mistaking? |