ARIA-Users

Date Index Thread Index

Re: [Aria-users] why robot.getVel() gets unmeaningfull value in MobileSim



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
>>
>>
> 
>