ARIA-Users
Date Index
Thread Index
Re: [Aria-users] why robot.getVel() gets unmeaningfull value in MobileSim
- To: wjxnet_126@xxxxxxx
- Subject: Re: [Aria-users] why robot.getVel() gets unmeaningfull value in MobileSim
- From: Matt LaFary <lafary@xxxxxxxxxxxxxxxx>
- Date: Fri, 23 May 2008 10:42:44 -0400
- Cc: aria-users@xxxxxxxxxxxxxxxx
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=x-gbk; format=flowed
- Delivered-To: aria-archives@activmedia.com
- Delivered-To: aria-users@server.local.net
- In-Reply-To: <18219533.541281211548321251.JavaMail.coremail@bj126app102.126.com>
- References: <48358CED.5000107@mobilerobots.com> <48342A96.6060101@mobilerobots.com> <17849719.756541211254565745.JavaMail.coremail@bj126app50.126.com> <17831477.1147641211468420029.JavaMail.coremail@bj126app38.126.com> <18219533.541281211548321251.JavaMail.coremail@bj126app102.126.com>
- Resent-Date: Fri, 23 May 2008 11:58:01 -0400 (EDT)
- Resent-From: aria-users@xxxxxxxxxxxxxx
- Resent-Message-ID: <HZXCDB.A.JvH.JmuNIB@server.activmedia.com>
- Resent-Reply-To: aria-users@activmedia.com
- Resent-Sender: aria-users-request@xxxxxxxxxxxxxx
- User-Agent: Debian Thunderbird 1.0.2 (X11/20060830)
So the AT is running Linux then?
And we compile with Visual Studio .net 2003, which is the reason you
need to rebuild the libraries if you're using .net 2005.
What errors did you get on the compile?
Also using release mode to compile instead of debug may help. If this
is a new project you made you may also need to set the compiler to use
the right runtime library. That's in project settings, C/C++, code
generation. It should use "Multi Threaded Debug DLL" in debug mode, and
"Multi Threaded DLL" in release mode.
Also if you're not using Aria 2.5.1 then you should grab that to use.
If you still get errors please paste them into an email so that we can
help with them.
Matt LaFary
MobileRobots Inc
wjxnet_126@126.com wrote:
> I talk to AT through Putty and Vncserver on a different computer. Usually i test my codes in MobileSim on Windows Vista,
>
> after success compiling in Visual Studio 2005, the codes are uploaded to AT to test it on real robot.
>
> In Visual Studio 2005, Aria.sln is not fully successly rebuilt, only 4 projects passed, with 2 errors and 3 ignored.
>
>
>
>
> ÔÚ2008-05-22£¬"Matt LaFary" <lafary@mobilerobots.com> дµÀ£º
>
> Are you running the same program on the same computer when you're
> talking to the AT as to MobileSim?
>
> And what I mean by recompiling everything is opening the Aria.sln file
> and doing 'rebuild solution', and then going into the solution file for
> your program and doing 'rebuild solution' on that too.
>
> Matt LaFary
> MobileRobots Inc
>
> wjxnet_126@126.com wrote:
>
>> Thanks, Matt.
>>
>> Our OS is Windows Vista, the compiler is Visual Studio 2005. On this computer, MobileSim and Aria etc, have
>>
>>been installed by running setup command of each program. I do not quite understand you words, "rebuild on all of the
>>
>>projects", are the projects of Aria, how to do this? Thanks.
>>
>>
>>
>>
>>ÔÚ2008-05-21£¬"Matt LaFary" <lafary@mobilerobots.com> дµÀ£º
>>
>>Are you running the program on the same computer when connecting to both
>>the AT and MobileSim?
>>
>>Normally for odd value problems like this it means you're using Windows
>>and need to do a full rebuild on all of the projects to make sure the
>>Aria libraries are built with the same compiler you're using.
>>
>>If you're using linux try 'make clean; make' to do the same thing.
>>
>>If that still doesn't work please give us more details about the
>>computer and operating system and compiler you're using.
>>
>>Matt
>>
>>wjxnet_126 wrote:
>>
>>> hi, i run a program in MobileSim, and use robot.getVel() to get the robot's current velocity. While it returns
>>>
>>>unmeaningfull value, like
>>>
>>>
>>> -9255963134931783100000000000000000000000000000000000000000.0
>>>
>>>the program returns corrent velocity value in real P3-AT robot, could you tell me how to fix the problem? Thanks in advance.
>>>
>>>
>>>
>>>Jianxin Wu
>>
>>
>
>