Hi,
 
After digging around a bit more I had a look in pioneer.inc which is used in everything.world to define robots etc. It also includes a big commented out portion of Bumper stuff, and the line "WARNING: bumpers are not currently supported by Stage >= 1.5". I had a look at the tracking list and the web in general and I can't find any information about whether bumpers have been added to later versions of Stage, or if they are going to be added.
 
Can anyone let me know what the status of Bumpers is on Stage versions 1.5 and greater?
 
Thanks a lot,
Sumita Sami

On Wed, Jul 9, 2008 at 3:12 PM, Sumita Sami <sumita.sami@gmail.com> wrote:
Hi,
 
I'm a sophomore at the University of Texas at Austin and using Stage for the first time. I'm having a lot of trouble trying to get Bumper to give me reasonable-looking results and I would really appreciate it if anyone had any sample code that I could use to figure out this problem. Here are the details:
 
-using Stage 2.0.3 with Player 2.0.4
-running on Ubuntu 8.04 (Hardy Heron)
-using the stest.c sample code on Stage (.../src/stest.c)
 
I modified the main while loop and added bumper by following the example of laser (subscribing, getting data, giving commands and all that). At the same time I also modified everything.world to make sure that the obstacles that were present were all "bumper_return 1". I made no other changes to any files beyond that of stest and everything.world. I understand that the config file might be the problem but I'm afraid I have no idea what to do with it, and haven't been able to experiment with it.
 
I used stg_model_get_data with bumper to look at the results, but the array consisting of bumper hit points (x,y coordinates) only returns 1) 0's, 2) extremely large values, or 3) 0.0015 and 0.0025.
 
I have no idea what these values are, how to interpret them, or if I'm even using bumper the right way. Again, any sample code would be greatly appreciated. I apologise if this question is very trivial, but I'm not at all familiar with Player/Stage (or even Linux systems).
 
Thanks,
(Sumita) Sami

--
Sumita Sami
University of Texas at Austin



--
Sumita Sami
University of Texas at Austin