ARIA-Users
Date Index
Thread Index
Re: [Aria-users] help - robot pose
- To: aria-users@xxxxxxxxxxxxxx
- Subject: Re: [Aria-users] help - robot pose
- From: Reed Hedges <reed@xxxxxxxxxxxxxxxx>
- Date: Tue, 27 May 2008 09:16:36 -0400
- Cc: aria-users@xxxxxxxxxxxxxxxx
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=UTF-8; format=flowed
- Delivered-To: aria-archives@activmedia.com
- Delivered-To: aria-users@server.local.net
- In-Reply-To: <139F6E4BC4C585478FA84D02D90CC1CA0D8F675D@aexcmb02.network.uni>
- References: <139F6E4BC4C585478FA84D02D90CC1CA0D8F675D@aexcmb02.network.uni>
- Resent-Date: Tue, 27 May 2008 10:19:51 -0400 (EDT)
- Resent-From: aria-users@xxxxxxxxxxxxxx
- Resent-Message-ID: <Ibdtv.A.8M.HiBPIB@server.activmedia.com>
- Resent-Reply-To: aria-users@activmedia.com
- Resent-Sender: aria-users-request@xxxxxxxxxxxxxx
- User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
Marwan Shaker wrote:
> Dear sir
>
> i want to ask , i am using ARIA and i wnt to let the robot P3 AT, to go specific loaction for different locations
>
> like i want the robot to go to ArPose(4000,0,0) , from
> 1 - ArPose (100,100,0)
> or from
> 2 - ArPose (300,10,10)
>
> but the every timei run the robot it start from position ArPose (0,0,0) ( even if i moved the robot to another location ), how can i get the exact value of the robot position on the simulater,
>
The robot's odometric pose always starts at 0,0,0, both in the simulator and all
real robots. If you have somehow determined the position of the robot in some
external coordinate system such as the map, you can change the robot's odometric
pose using ArRobot::moveTo(). After that, updates to the robot's odometric pose
will be applied to that position.
You can get the robot's position in the simulator using its special SIMSTAT
packet. See MobileSim's README for details. MobileSim also always starts the
robot at the 0,0,0 point of its map, unless you have a home or dock in the map
as starting point or use the --start command-line option.
Reed