Hi,
In the “amcl” driver that ships with Player, the GPS support is disabled. If you modified the amcl driver and are using it as a plugin make sure you build Player without the original amcl, or change the plugin driver’s name and class name. Player doesn’t handle drivers with the same name, and it might cause strange errors.
The error you’re getting indicates that the driver is having trouble connecting to the position2d device. What driver are you using to provide position2d:0?
Rich
From: Igor Blyufshteyn [mailto:igorek13@...]
Sent: Monday, August 02, 2010 5:45 AM
To: playerstage-users@...
Subject: [Playerstage-users] activate gps
Hi,
i have the following problem. The goal is to use gps in amcl. I used the rt3xx driver and overwrite it, for the test aim i take any data. then i compile it and try it with the proxy, i became my data back. After that i want to use it in amcl, so i declare it. At the end i want to test amcl. i start player with test.cfg like that:
driver (
name "amcl"
plugin ".../src/amcl/amcl.so"
provides ["localize:0"]
requires ["odometry:::position2d:0" "gps:0" "gps:::map:0"]
)
and now i want to start the proxy and to try the function "GetNumParticles()" just to see that it work, but the player response me an error:
error : tried to connect to self (127.0.0.1:16777343:6665)
error : unable to subscribe to position device
error : failed to setup sensor 0
error : Driver failed to Setup (-1)
closing TCP connection to client 0 on port 6665
can anyone help me. How can i test amcl meaningful???
Thanks!!!
|