From: Brian G. <br...@ge...> - 2006-12-19 19:33:26
|
On Dec 19, 2006, at 10:28 AM, R. Paul Wiegand wrote: >> Can you run the config/pioneer.cfg that comes with player? > > I did as you suggested and received the following warnings: > > player-pioneer.cfg:15 warning: field [provides] has unused > element 6 > player-pioneer.cfg:15 warning: field [provides] has unused > element 8 > It looks as though the two elements are gripper and sound. Just to > confirm, the config/pioneer.cfg in my distribution looks as follows: > > driver > ( > name "p2os" > provides ["odometry:::position2d:0" > "sonar:0" > "aio:0" > "dio:0" > "power:0" > "bumper:0" > "gripper:0" > "blobfinder:0" > "sound:0" > ] > port "/dev/ttyS0" > ) I don't know what's going on here. I can offer three suggestions: (1) Run with maximum debug verbosity to look for related warnings, e.g.: player -d 9 player-pioneer.cfg (2) Upgrade to Player 2.0.3. I don't think this will work, but it wouldn't hurt to try. (3) Start instrumenting P2OS::P2OS (in server/drivers/mixed/p2os/ p2os.cc) and ConfigFile::ReadDeviceAddr (in libplayercore/ configfile.cc) with some printf()s to see if you figure out why the gripper and sound interfaces are not being parsed or added correctly. brian. |