From: Paul O. <new...@ki...> - 2010-04-02 06:30:27
|
The amcl driver can provide two different interfaces, one of them is 'localize' that playernav is looking for. Try this: driver ( name "amcl" provides ["position2d:2" "localize:0"] requires ["odometry:::position2d:1" "laser:0" "laser:::map:0"] ) Paul On Thu, 1 Apr 2010, gtg056s wrote: > > Following is the contents in my .cfg file: > > driver > ( > name "p2os" > provides ["odometry:::position2d:0"] > port "/dev/ttyS0" > ) > > driver > ( > name "sicklms200" > provides ["laser:0"] > port "/dev/ttyS1" > ) > > driver > ( > name "mapfile" > provides ["map:0"] > filename "mymap.pgm" > resolution 0.1 > ) > > driver > ( > name "amcl" > provides ["position2d:2"] > requires ["odometry:::position2d:1" "laser:0" "laser:::map:0"] > ) > > driver > ( > name "vfh" > provides ["position2d:1"] > requires ["position2d:0" "laser:0"] > safety_dist 0.1 > distance_epsilon 0.3 > angle_epsilon 5 > ) > > driver > ( > name "wavefront" > provides ["planner:0"] > requires ["output:::position2d:1" "input:::position2d:2" "map:0"] > safety_dist 0.15 > distance_epsilon 0.5 > angle_epsilon 10 > ) > > > > > > > > > Paul Osmialowski wrote: >> >> Hi Jacob, >> >> Did you configure amcl driver for it? >> Paul >> >> On Thu, 1 Apr 2010, gtg056s wrote: >> >>> >>> Hey guys, >>> >>> I'm trying to implement the autonomous control of a mobile robot using >>> playernav and the map .pgm file I built after running pioneer.cfg. >>> However, >>> the problem is that it won't allow me to set the initial pose of the >>> robot >>> on the map file. The initial location must start from the very middle of >>> the >>> map where the robot icon is given with. When I try moving the robot icon >>> and >>> setting the pose apart from the middle where it began with, it gives me >>> the >>> following error message: "WARNING: NOT setting pose; couldn't connect to >>> localize" and automatically plans the path starting from the mid point of >>> the map, ignoring the attempt of the user to initiate a new starting >>> location. >>> >>> However, what's funny is that as long as the robot can be placed on the >>> corresponding location as the mid point of the map and start the >>> navigation, >>> it works just fine. That is, as long as the robot navigation is started >>> at >>> its initial position matching the mid point of the map, I can set the >>> destination point to where I would first like the point to be the initial >>> position of the robot, and keep running the navigation from there and on. >>> >>> This is extremely annoying because robot navigation is not even possible >>> unless the user puts the robot at the location where the mid point of the >>> map matches with. >>> >>> Can anyone help me with this problem? I am currently running Player 3.0.1 >>> on >>> Ubuntu 8.04. >>> >>> Thanks in advance! =) >>> >>> Jacob >>> -- >>> View this message in context: >>> http://old.nabble.com/Problem-using-wavefront-and-playernav-tp28106084p28106084.html >>> Sent from the playerstage-users mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Playerstage-users mailing list >>> Pla...@li... >>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >>> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >> > > -- > View this message in context: http://old.nabble.com/Problem-using-wavefront-and-playernav-tp28106084p28115949.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |