From jalopcar at gmail.com Mon Jan 7 17:00:02 2008 From: jalopcar at gmail.com (Jaime Lopez Carvajal) Date: Mon Jan 7 17:00:14 2008 Subject: [Pyro-users] current robot position Message-ID: <138315cf0801071400m60e5130dwfcf0abbeeaf02e77@mail.gmail.com> Hi friends, I am wondering how can I got the robot current position, in a way the robot moves taking this into account. I want to try different brains (fuzzy logic, neural net, ga, etc) on just one world at time, to compare which one drives more efficient (lest moves) and fast (least time) the robot from one initial point to a final (goal) point. I think to try this as a project course to AI students. Any suggestion will be welcome. Thanks in advance. -- Jaime Lopez Universidad del Valle Colombia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20080107/6e33b233/attachment.htm From dblank at brynmawr.edu Tue Jan 15 09:52:37 2008 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Tue Jan 15 09:52:46 2008 Subject: [Pyro-users] current robot position In-Reply-To: <138315cf0801071400m60e5130dwfcf0abbeeaf02e77@mail.gmail.com> References: <138315cf0801071400m60e5130dwfcf0abbeeaf02e77@mail.gmail.com> Message-ID: <478CC8B5.1090504@brynmawr.edu> Jaime Lopez Carvajal wrote: > Hi friends, > > I am wondering how can I got the robot current position, in a way the > robot moves taking this into account. > I want to try different brains (fuzzy logic, neural net, ga, etc) on > just one world at time, to compare which one drives more efficient (lest > moves) and fast (least time) the robot from one initial point to a final > (goal) point. > I think to try this as a project course to AI students. > > Any suggestion will be welcome. > > Thanks in advance. Jaime, You can ask any robot where it thinks it is by simply looking at robot.x and robot.y. But that is not where it actually is. Real robots have no way of knowing that, but you can ask a simulated robot through the simulation device: >>> robot.simulation[0].getPose("RedPioneer") (4.9, 1.32, 6.28) Hope that helps, -Doug > -- > Jaime Lopez > Universidad del Valle > Colombia > > > ------------------------------------------------------------------------ > > _______________________________________________ > Pyro-users mailing list > Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users