Hello,

I've found that the p2os driver returns a wrong number of sonas
when tested with a Peoplebot robot.
It seems that the problem is the next line in p2os.cc:

geom.bumper_def_count = PlayerRobotParams[param_idx].FrontBumpers +
PlayerRobotParams[param_idx].RearBumpers;

that is adding FrontBumpers and RearBumpers instead of NumFrontBumpers and
NumRearBumpers.

By the way, I implemented a quick and dirty code for the IR sensors of the
Peoplebot. I someone would like to see the code, you can email me.
  
Best regards,
Héctor.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to