From: Richard V. <rtv...@gm...> - 2009-11-22 23:50:50
|
Check that the clock is not paused. Press 'p' in the Stage window to toggle pause, and check your worldfile for the initial paused state. - rtv On Sun, Nov 22, 2009 at 3:16 PM, Aslund <seb...@gm...> wrote: > Hey everyone > > Thanks for all your replies although I haven't managed to find a solution > yet. > No matter what I do it still refuses to update the laser and I have even > looked at the examples that comes with PlayerStage and my setup is excatly > the same, except that I have added my classes and functions to the main > file. > To be sure that the problem is in the code I have tried to use the code in > LaserAvoidance.cc from the PlayerStage C++ example instead of my own main > file, which gave good result. > I must admit that I am pretty desperate to find a solution, spend nearly > three weeks without progress and I don't want the rest of my time to end up > the same way. > It might be a selfish request, but I hope someone could spare a few minuts > to look at my main file, done my best with comments so should be quick to > read. > > Thanks for your help so far. > > Regards > > Sebastian > > > 2009/11/22 Paul Osmialowski <new...@ki...> >> >> >> On Sat, 21 Nov 2009, Aslund wrote: >> >> > Hey >> > >> > Seems logical, but my time step for testing is at 2 seconds and I have >> > tried >> > with 10sec with same result, which means no update is made. Just sound >> > strange that laser scanning updates does'nt come any faster then that. >> > >> > Regards >> > >> > Sebastian >> > >> > >> >> Looks like you don't call read() method in proper places. You can also try >> to run playerv and see if it can visualize laser readings, if not, looks >> like there is a problem with data flow. >> >> Paul >> >> > 2009/11/21 Rich Mattes <jp...@gm...> >> > >> >> You can't /make/ a sensor update, they generally run as fast as they >> >> can. You just have to wait for it to get around to its next scan. If >> >> you're using Stage you can change your laser configuration and have it >> >> use less samples. This should make Stage's laser run faster, since it >> >> doesn't have to calculate so many points. Otherwise, slow down your >> >> algorithm. Perhaps you should log some laser data, see how fast it's >> >> arriving, and make that your timestep. I usually try to synchronize my >> >> kalman filters to my slowest sensor, that way there's always new >> >> information available when i want to update. >> >> >> >> Rich >> >> >> >> Aslund wrote: >> >>> So what can you do to force a new scan to be made? or what can you do >> >>> to tell the robot to make a scan? >> >>> I am pretty desperate since nothing I have done so far have given me >> >>> an update on the scan. >> >>> >> >>> Regards >> >>> >> >>> Sebastian >> >>> >> >>> >> >>> 2009/11/21 Geoff Biggs <gb...@ki... >> >>> <mailto:gb...@ki... >> >>>> >> >>> >> >>> Calling read() doesn't guarantee that new data will be received >> >>> from the >> >>> laser scanner. It will only get new data if a new scan is >> >>> available. >> >>> >> >>> Geoff >> >>> >> >>> Aslund wrote: >> >>> > Hey everyone >> >>> > >> >>> > I have a serious problem with PlayerStage at the moment. I am >> >>> working on >> >>> > implementing an Extended Kalman filter, but my problem is that >> >>> after a >> >>> > time step delta_t I need to make a new laser scanning which I >> >>> then use >> >>> > for a feature extraction to make a prior position estimate. To >> >>> update >> >>> > the laser scanning I use Robot.read(), where Robot is my >> >>> PlayerClient, >> >>> > but as mentioned, then nothing happens and my PlayerStage program >> >>> > continues to use the position it got from its initialized >> >>> position. >> >>> > Do anyone know how I can force PlayerStage to update the robot >> >>> with a >> >>> > new laser scanning? I have added my main file if you wish to look >> >>> > through it. >> >>> >> >>> >> >>> >> >> >> >> ------------------------------------------------------------------------------ >> >>> Let Crystal Reports handle the reporting - Free Crystal Reports >> >>> 2008 30-Day >> >>> trial. Simplify your report design, integration and deployment - >> >>> and focus on >> >>> what you do best, core application coding. Discover what's new >> >>> with >> >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >>> _______________________________________________ >> >>> Playerstage-users mailing list >> >>> Pla...@li... >> >>> <mailto:Pla...@li...> >> >>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------ >> >>> >> >>> >> >> >> >> ------------------------------------------------------------------------------ >> >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> >> 30-Day >> >>> trial. Simplify your report design, integration and deployment - and >> >> focus on >> >>> what you do best, core application coding. Discover what's new with >> >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >>> >> >>> ------------------------------------------------------------------------ >> >>> >> >>> _______________________________________________ >> >>> Playerstage-users mailing list >> >>> Pla...@li... >> >>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >>> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> >> 30-Day >> >> trial. Simplify your report design, integration and deployment - and >> >> focus >> >> on >> >> what you do best, core application coding. Discover what's new with >> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >> _______________________________________________ >> >> Playerstage-users mailing list >> >> Pla...@li... >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > -- Richard Vaughan Autonomy Lab / Computing Science / Simon Fraser University |