ARIA-Users
Date Index
Thread Index
Re: [Aria-users] Difference between robot.getTh() and robot.getCompass()
- To: wjxnet_126 <wjxnet_126@xxxxxxx>
- Subject: Re: [Aria-users] Difference between robot.getTh() and robot.getCompass()
- From: Matt LaFary <lafary@xxxxxxxxxxxxxxxx>
- Date: Wed, 21 May 2008 10:01:25 -0400
- Cc: aria-users@xxxxxxxxxxxxxxxx
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=ISO-8859-1; format=flowed
- Delivered-To: aria-archives@activmedia.com
- Delivered-To: aria-users@server.local.net
- In-Reply-To: <27543820.759551211254747413.JavaMail.coremail@bj126app50.126.com>
- References: <27543820.759551211254747413.JavaMail.coremail@bj126app50.126.com>
- Resent-Date: Wed, 21 May 2008 11:04:43 -0400 (EDT)
- Resent-From: aria-users@xxxxxxxxxxxxxx
- Resent-Message-ID: <LOzwpC.A.Ba.KoDNIB@server.activmedia.com>
- Resent-Reply-To: aria-users@activmedia.com
- Resent-Sender: aria-users-request@xxxxxxxxxxxxxx
- User-Agent: Icedove 1.5.0.14pre (X11/20080208)
The robot's x, y, th start at 0 0 0, all further poses are referenced
from there. Its essentially local coordinates relative to where the
robot started unless you have localization running. robot.getCompass()
would be getting the heading of the compass, which would be a more
global heading... note that most robots don't have compasses.
I don't know if MobileSim has a compass setup or not. The real robot it
depends on if there is one installed (again most robots do not have a
compass).
Matt
wjxnet_126 wrote:
> hello, could you tell me the diffence between robot.getTh() and robot.getCompass(). Are the the same in MobileSim, what
>
> about on real robot? Thanks!
>
>
> Jianxin Wu
>
>
>