From dlyons at fordham.edu Sun Feb 1 21:29:58 2009 From: dlyons at fordham.edu (DAMIAN M. LYONS) Date: Sun, 1 Feb 2009 21:29:58 -0500 Subject: [Aria-users] Python ArSick Message-ID: Hello, We've been testing the python interface to ArSick on an AT-3 and getting some unusual results. Anybody know what we're doing wrong? The c++ (sickRobot.cpp) version works fine so the laser h/w is fine. We make the connection in python with robot = ArRobot() laser = ArSick() robot.addRangeDevice(laser); laser.setRobot(robot) con = ArSimpleConnector(sys.argv) if (not Aria.parseArgs()): Aria.logOptions() sys.exit(1) if (not con.connectRobot(robot)): print "Could not connect to robot, exiting" sys.exit(1) laser.configureShort(False) con.setupLaser(laser) laser.runAsync() if (not laser.blockingConnect()): print "Could not connect to laser, exiting" sys.exit(1) The result of running this is that (1) the robot and laser each connect and the laser powers up (2) the robot starts beeping as if it has a power issue (it doesn't do this when we run the sickRobotExample.cpp example immediately after; the laser powers up normally)- the beeping continues as long as the program runs (3) when we read the laser with laser.lockDevice() print laser.currentReadingPolar(-45,45) laser.unlockDevice() we get back the same result (32000.00) no matter what (and again sickRobotExample.cpp gives back the correct range data) (4) after a short time the laser loses its connection with the message ArSick: Loset connection to the robot because of error. thanks Damian From reed at mobilerobots.com Tue Feb 3 11:13:32 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Tue, 03 Feb 2009 11:13:32 -0500 Subject: [Aria-users] Python ArSick In-Reply-To: References: Message-ID: <49886D2C.70706@mobilerobots.com> Hi Damian, I'll test this out later, but one thing to make sure is that you call robot.runAsync() or robot.run(). Use runAsync() if you want to do stuff later on in the main thread like check the laser readings. It also may take a short time for data to be received from the laser after connecting and calling robot.runAsync(), so you can use ArUtil.sleep() before checking the laser reading. 500 ms is more than enough time to start receiving data from the laser. Reed DAMIAN M. LYONS wrote: > > Hello, > > We've been testing the python interface to ArSick on an AT-3 and > getting some unusual results. Anybody know what we're doing wrong? > > The c++ (sickRobot.cpp) version works fine so the laser h/w is fine. > We make the connection in python with > > robot = ArRobot() > laser = ArSick() > robot.addRangeDevice(laser); > laser.setRobot(robot) > > con = ArSimpleConnector(sys.argv) > if (not Aria.parseArgs()): > Aria.logOptions() > sys.exit(1) > > if (not con.connectRobot(robot)): > print "Could not connect to robot, exiting" > sys.exit(1) > > laser.configureShort(False) > con.setupLaser(laser) > laser.runAsync() > > if (not laser.blockingConnect()): > print "Could not connect to laser, exiting" > sys.exit(1) > > The result of running this is that > (1) the robot and laser each connect and the laser powers up > (2) the robot starts beeping as if it has a power issue (it doesn't do this > when we run the sickRobotExample.cpp example immediately after; the laser > powers > up normally)- the beeping continues as long as the program runs > (3) when we read the laser with > laser.lockDevice() > print laser.currentReadingPolar(-45,45) > laser.unlockDevice() > we get back the same result (32000.00) no matter what (and again > sickRobotExample.cpp gives back the correct range data) > (4) after a short time the laser loses its connection with the message > ArSick: Loset connection to the robot because of error. > > thanks > > Damian > > _______________________________________________ > Aria-users mailing list > Aria-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/aria-users > > To unsubscribe visit the above webpage or send an e-mail to: > > aria-users-leave at lists.mobilerobots.com > From roboticsericcarter at gmail.com Thu Feb 5 13:27:34 2009 From: roboticsericcarter at gmail.com (Eric Carter) Date: Thu, 5 Feb 2009 13:27:34 -0500 Subject: [Aria-users] AriaJava --remotehost option Message-ID: <34ebd4740902051027h564dbb66xd2a1ab5757fb37bd@mail.gmail.com> Hello all, For those of experienced ARIA users I have a question about --remotehost IP option for the demo program. I am successfully able to connect through my amigoBot providing the specific IP adress with -rm option. I realized that this option is managed by the function bool ArSimpleConnector::parseArgs(ArgumentParser * parser) I want to write a simple control program of myself that can connect via this -rm option and perform a simple move command but I want to do this using AriaJava also . Is it enough again to use the same way that demo.cpp is using ? Can you tell me the basic necessary things that I should include in my java program ? I tried a couple of ways to do it like using setPort function of ArNetworking class but it didn't work. I just want to obtain a simple way like demo.cpp has Many thanks Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090205/dc4f68e2/attachment.html From roboticsericcarter at gmail.com Sat Feb 7 02:32:51 2009 From: roboticsericcarter at gmail.com (Eric Carter) Date: Sat, 7 Feb 2009 02:32:51 -0500 Subject: [Aria-users] socket.read in AriaJava Message-ID: <34ebd4740902062332g57f5de2bh481ef7e25e4a5b87@mail.gmail.com> Hello, I want to implement a client program using ArSocket class in java. I am getting error as I am using socket.read function like this ArSocket sock = new ArSocket(); char [] buff = new char [100] / / the buffer that will store the message from the server int strSize=0 strSize=sock.read(buff,100); // compiler gives incompatible type errors it is possibly due the pointer issue that is not available in java how can I overcome this ? can you help me finding the where am I doing wrong ? Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090207/d1f427b2/attachment.html From reed at mobilerobots.com Mon Feb 9 09:28:03 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Mon, 09 Feb 2009 09:28:03 -0500 Subject: [Aria-users] AriaJava --remotehost option In-Reply-To: <34ebd4740902051027h564dbb66xd2a1ab5757fb37bd@mail.gmail.com> References: <34ebd4740902051027h564dbb66xd2a1ab5757fb37bd@mail.gmail.com> Message-ID: <49903D73.9000608@mobilerobots.com> You can just give options such as -rh on the command line when you run the Java program, if it uses ArSimpleConnector to which it passes argv or an ArArgumentParser which has been given argv. simple.java in Aria's javaExamples directory does this: public static void main(String argv[]) { System.out.println("Starting Java Test"); Aria.init(); ArRobot robot = new ArRobot(); ArSimpleConnector conn = new ArSimpleConnector(argv); if(!Aria.parseArgs()) { Aria.logOptions(); Aria.shutdown(); System.exit(1); } ... When you run the program, run it from a terminal with the arguments, e.g.: java -cp ../java/Aria.jar:. simple -rh robot ArSimpleConnector doesn't use ArNetworking to connect to a robot over a TCP port, it just uses ArTcpConnection (which internally uses ArSocket etc.) instead of ArSerialConnection. It sets that stuff up automatically when you give the command line options and then call Aria.parseArgs(). Reed From reed at mobilerobots.com Mon Feb 9 11:31:01 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Mon, 09 Feb 2009 11:31:01 -0500 Subject: [Aria-users] socket.read in AriaJava In-Reply-To: <34ebd4740902062332g57f5de2bh481ef7e25e4a5b87@mail.gmail.com> References: <34ebd4740902062332g57f5de2bh481ef7e25e4a5b87@mail.gmail.com> Message-ID: <49905A45.4070508@mobilerobots.com> Hi Eric, to make functions like this work in Java, where the function is going to put data in a buffer you supply, requires writing some extra code as a "typemap" in the SWIG configuration to actually do the copying into the Java buffer correctly, or maybe just a special Java version of read() that just returns a java String or other data structure, and throws an exception or something on error (instead of returning a flag). This is one of the various aspects of the Java wrapper that we haven't run into or finished doing yet. I'll look into doing this, though I don't know if it will be in the upcoming ARIA release or not. If you want to do it yourself, let me know. Reed Eric Carter wrote: > Hello, > > I want to implement a client program using ArSocket class in java. I am > getting error as I am using socket.read function like this > > ArSocket sock = new ArSocket(); > > char [] buff = new char [100] / / the buffer that will store the > message from the server > > > int strSize=0 > > > strSize=sock.read(buff,100); // compiler gives incompatible type errors > > > it is possibly due the pointer issue that is not available in java how > can I overcome this ? > > can you help me finding the where am I doing wrong ? > > > Eric > > > ------------------------------------------------------------------------ > > _______________________________________________ > Aria-users mailing list > Aria-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/aria-users > > To unsubscribe visit the above webpage or send an e-mail to: > > aria-users-leave at lists.mobilerobots.com From smile.summer.8 at gmail.com Mon Feb 9 17:06:08 2009 From: smile.summer.8 at gmail.com (Xia Huang) Date: Mon, 9 Feb 2009 16:06:08 -0600 Subject: [Aria-users] problem of getVel() Message-ID: <195f61100902091406u2f675d38p58471b7c4138677c@mail.gmail.com> Hi all, I have a problem with using getVel(). I get the strange value just like 2.92e-308 under release mode and -9.2559e61 under debug mode. Did anyone come across this problem before and know how to solve it? By the way I am using Microsoft Visual Studio 2005 and Windows Xp. Thanks Xia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090209/74e6e368/attachment.html From dtdavi1 at nps.edu Mon Feb 9 21:56:53 2009 From: dtdavi1 at nps.edu (Davis, Duane (CDR)) Date: Mon, 9 Feb 2009 18:56:53 -0800 Subject: [Aria-users] Aria and Java 1.6 Message-ID: I am trying to utilize an existing autonomous vehicle controller with the Pioneer3 AT using the Java interface for the Aria API. The controller is in Java 1.6 running under Windows XP. The problem I am having is that the Java wrapper classes are in the default package which cannot be accessed from packaged classes (since Java 1.4). I have tried unsuccessfully to rebuild the wrapper in Visual Studio 8 (output below), but have doubts about whether or not that is going to help anyway (if it leaves all of the wrapper classes in the default package it still won't work). Does anyone have any suggestions as to how I can recompile the wrapper as a package or know of any way I can get my hands on Aria.jar, ArNetworking.jar, AriaJava.dll and ArNetworkingJava.dll files that will work with packaged Java classes in Java 1.5 or 1.6? Regards, Duane Visual Studio output: Custom Build Step: Running C:\swig\swig.exe to generate Java wrapper code A subdirectory or file c:\MobileRobots\Aria\java\\Aria already exists. c:\MobileRobots\Aria\java\..\include\wrapper.i(40): Warning(204): CPP #warning, Defining ARIA wrapper interface for Java c:\MobileRobots\Aria\java\..\include\ArActionTriangleDriveTo.h(198): Warning(312): Nested class not currently supported (ignored). c:\MobileRobots\Aria\java\..\include\ArSoundsQueue.h(116): Warning(312): Nested class not currently supported (ignored). c:\MobileRobots\Aria\java\..\include\ArAction.h(88): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(101): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(103): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(105): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(107): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(109): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(109): Warning(516): Overloaded method ArAction::getDesired() const ignored. Method ArAction::getDesired() at c:\MobileRobots\Aria\java\..\include\ArAction.h:107 used. c:\MobileRobots\Aria\java\..\include\ArArg.h(98): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfigArg.h(133): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfig.h(68): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfig.h(318): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArFunctor.h(114): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(644): Warning(503): Can't wrap 'operator +' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(650): Warning(503): Can't wrap 'operator -' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(1137): Warning(503): Can't wrap 'operator ()' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArRobot.h(560): Warning(516): Overloaded method ArRobot::findRangeDevice(char const *) ignored. Method ArRobot::findRangeDevice(char const *) const at c:\MobileRobots\Aria\java\..\include\ArRobot.h:557 used. c:\MobileRobots\Aria\java\..\include\ArRobot.h(736): Warning(516): Overloaded method ArRobot::getCycleWarningTime() ignored. Method ArRobot::getCycleWarningTime() const at c:\MobileRobots\Aria\java\..\include\ArRobot.h:734 used. c:\MobileRobots\Aria\java\..\include\ArSensorReading.h(50): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. 'C:\Program' is not recognized as an internal or external command, operable program or batch file. 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Project : error PRJ0019: A tool returned an error code from "Custom Build Step: Running C:\swig\swig.exe to generate Java wrapper code" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090209/215461f2/attachment-0001.html From James.Neilan at tema.toyota.com Tue Feb 10 06:52:01 2009 From: James.Neilan at tema.toyota.com (James.Neilan at tema.toyota.com) Date: Tue, 10 Feb 2009 06:52:01 -0500 Subject: [Aria-users] Issue with Touch Panel PC In-Reply-To: Message-ID: Does anyone use the touch PC from mobile robots? When using OpenCV applications, the PC tends to reboot itsself after about 5-10 minutes... Thanks Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090210/23b39cff/attachment.html From mjohnson at ihmc.us Tue Feb 10 09:38:03 2009 From: mjohnson at ihmc.us (Matthew Johnson) Date: Tue, 10 Feb 2009 08:38:03 -0600 Subject: [Aria-users] Aria and Java 1.6 In-Reply-To: References: Message-ID: <5294068D154A4F06B0DE9F09B1E3D2CA@mjdell> This is a problem that we pointed out a while back. We were told that it would be fixed in the next release but. Anyway, I will send you some jars and dlls that should work. Matt _____ From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Davis, Duane (CDR) Sent: Monday, February 09, 2009 8:57 PM To: aria-users at lists.mobilerobots.com Subject: [Aria-users] Aria and Java 1.6 I am trying to utilize an existing autonomous vehicle controller with the Pioneer3 AT using the Java interface for the Aria API. The controller is in Java 1.6 running under Windows XP. The problem I am having is that the Java wrapper classes are in the default package which cannot be accessed from packaged classes (since Java 1.4). I have tried unsuccessfully to rebuild the wrapper in Visual Studio 8 (output below), but have doubts about whether or not that is going to help anyway (if it leaves all of the wrapper classes in the default package it still won't work). Does anyone have any suggestions as to how I can recompile the wrapper as a package or know of any way I can get my hands on Aria.jar, ArNetworking.jar, AriaJava.dll and ArNetworkingJava.dll files that will work with packaged Java classes in Java 1.5 or 1.6? Regards, Duane Visual Studio output: Custom Build Step: Running C:\swig\swig.exe to generate Java wrapper code A subdirectory or file c:\MobileRobots\Aria\java\\Aria already exists. c:\MobileRobots\Aria\java\..\include\wrapper.i(40): Warning(204): CPP #warning, Defining ARIA wrapper interface for Java c:\MobileRobots\Aria\java\..\include\ArActionTriangleDriveTo.h(198): Warning(312): Nested class not currently supported (ignored). c:\MobileRobots\Aria\java\..\include\ArSoundsQueue.h(116): Warning(312): Nested class not currently supported (ignored). c:\MobileRobots\Aria\java\..\include\ArAction.h(88): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(101): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(103): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(105): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(107): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(109): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ArAction.h(109): Warning(516): Overloaded method ArAction::getDesired() const ignored. Method ArAction::getDesired() at c:\MobileRobots\Aria\java\..\include\ArAction.h:107 used. c:\MobileRobots\Aria\java\..\include\ArArg.h(98): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfigArg.h(133): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfig.h(68): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArConfig.h(318): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArFunctor.h(114): Warning(473): Returning a pointer or reference in a director method is not recommended. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(644): Warning(503): Can't wrap 'operator +' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(650): Warning(503): Can't wrap 'operator -' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ariaUtil.h(1137): Warning(503): Can't wrap 'operator ()' unless renamed to a valid identifier. c:\MobileRobots\Aria\java\..\include\ArRobot.h(560): Warning(516): Overloaded method ArRobot::findRangeDevice(char const *) ignored. Method ArRobot::findRangeDevice(char const *) const at c:\MobileRobots\Aria\java\..\include\ArRobot.h:557 used. c:\MobileRobots\Aria\java\..\include\ArRobot.h(736): Warning(516): Overloaded method ArRobot::getCycleWarningTime() ignored. Method ArRobot::getCycleWarningTime() const at c:\MobileRobots\Aria\java\..\include\ArRobot.h:734 used. c:\MobileRobots\Aria\java\..\include\ArSensorReading.h(50): Warning(503): Can't wrap 'operator =' unless renamed to a valid identifier. 'C:\Program' is not recognized as an internal or external command, operable program or batch file. 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Project : error PRJ0019: A tool returned an error code from "Custom Build Step: Running C:\swig\swig.exe to generate Java wrapper code" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090210/8e463b89/attachment.html From awantha at ieee.org Tue Feb 10 12:18:40 2009 From: awantha at ieee.org (Awantha Jayasiri) Date: Tue, 10 Feb 2009 09:18:40 -0800 (PST) Subject: [Aria-users] Information about the Mobile sim simulator Message-ID: <872904.48673.qm@web37408.mail.mud.yahoo.com> Hi Im using Mobilesim simulator 0.4.0 in Linux for my robot simulation. I found out that the sensor? readings are not updating in each time step when robot move. I set 50ms time steps. Is there a possibility to set simulation update time correctly? Any help greately appreciated. Thanks Awantha Jayasiri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090210/94cd30b3/attachment.html From kennedy at MobileRobots.com Tue Feb 10 13:12:27 2009 From: kennedy at MobileRobots.com (William Kennedy) Date: Tue, 10 Feb 2009 13:12:27 -0500 Subject: [Aria-users] Fwd: Help - PLS LASER In-Reply-To: <86f8f2070902100950p1dada1ccu29217e3db73ad804@mail.gmail.co m> References: <86f8f2070902100950p1dada1ccu29217e3db73ad804@mail.gmail.com> Message-ID: <6.2.5.6.2.20090210130914.0371a458@MobileRobots.com> 1) Go to support at mobilerobots.com and sign up for pioneer-users 2) The software (ARIA, the basis if demo) does not support the PLS laser; only the SICK LMS200 and Hokuyo URG. Ask on pioneer-users or aria-users if anyone has added that functionality to ARIA and if they would share that code with you (and us). Regards, MobileRobots Inc. At Tuesday 2/10/2009, Eric Li wrote: >Dear Sir or Madam, > >How can I post mail to the mailing list, please. > >Thank you very much! >Regards, >Yan > >---------- Forwarded message ---------- >From: >pioneer-users-owner at lists.mobilerobots.com ><pioneer-users-owner at lists.mobilerobots.com> >Date: Feb 10, 2009 5:48 PM >Subject: Help - PLS LASER >To: diteric at gmail.com > > >You are not allowed to post to this mailing list, and your message has >been automatically rejected. If you think that your messages are >being rejected in error, contact the mailing list owner at >pioneer-users-owner at lists.mobilerobots.com. > > > > >---------- Forwarded message ---------- >From: Eric Li <diteric at gmail.com> >To: >pioneer-users at lists.mobilerobots.com >Date: Tue, 10 Feb 2009 17:48:31 +0000 >Subject: Help - PLS LASER >Dear Sir or Madam, > >I am a Pioneer 3 Mobile Robot user. > >I have a question about using the Laser Range Finder. I connected >the PLS101-312 SICK laser device to the mounting bracket (power and >signal). It seemed that the power of the LRF works well. But when I >started the demo.exe program to test the laser device. The LRF >cannot be connected when I entered into the laser model ("L"). > >The error message is >"ArSick:Waiting for laser to power on." >"ArSick: Failed to connect to laser, no configure acknowledgement received." > >Thanks a lot for any help! > >Yan From reed at mobilerobots.com Tue Feb 10 17:04:18 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Tue, 10 Feb 2009 17:04:18 -0500 Subject: [Aria-users] Information about the Mobile sim simulator In-Reply-To: <872904.48673.qm@web37408.mail.mud.yahoo.com> References: <872904.48673.qm@web37408.mail.mud.yahoo.com> Message-ID: <4991F9E2.9050409@mobilerobots.com> Hi Awantha, can you explain in more detail what you mean by not updating in each time step? When you set the 50ms interval, do you mean that you used the --update-interval option to MobileSim, or that you changed ARIA's ArRobot cycle time? Or something else? Thanks Reed Awantha Jayasiri wrote: > Hi > Im using Mobilesim simulator 0.4.0 in Linux for my robot simulation. I > found out that the sensor readings are not updating in each time step > when robot move. I set 50ms time steps. Is there a possibility to set > simulation update time correctly? > Any help greately appreciated. > Thanks > Awantha Jayasiri > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Aria-users mailing list > Aria-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/aria-users > > To unsubscribe visit the above webpage or send an e-mail to: > > aria-users-leave at lists.mobilerobots.com From mshaker at lincoln.ac.uk Wed Feb 11 09:19:33 2009 From: mshaker at lincoln.ac.uk (Marwan Shaker) Date: Wed, 11 Feb 2009 14:19:33 -0000 Subject: [Aria-users] Threads Message-ID: <34BD87617778BE4ABFC9F9F2AEC650930BDBF3@AEXCMS01.network.uni> Dear Aria-users I have a problem with ARIA , before I talk about it I want to ask a question is there s limited number of threads that ARIA can work with ( each thread is added using the function "addAction") And my problem is I was working with two actions and the code is working , but I needed to add another two actions, so after I complete a simple code for the other two actions , and the compile it without and error, but when I run the code I got this error "An Unhandled exception of type 'System.StackOverflowException' occurred" Does anyone know a solution to this problem With best wishes Mark From jyt0729 at snut.ac.kr Thu Feb 12 00:43:31 2009 From: jyt0729 at snut.ac.kr (=?EUC-KR?B?wba/68XC?=) Date: Thu, 12 Feb 2009 14:43:31 +0900 (KST) Subject: [Aria-users] question Message-ID: <29808932.1234417411889.JavaMail.root@mail> Hi, I have a few questions about the P3AT robot. 1. Is there a mathematical expression (or formula) to calculate the values of x, y, and th, respectively, on the basis of the encoder values of both wheels of the robot? 2. Can I calculate the th value with gyroscope? 3. Do you have an algorithm to calculate the values of x, y, and th, respectively? If you do, can you tell me the algorithm? It will be great if you tell me where I can obtain the algorithm in case you don't have it in your hand. I will highly appreciye itif you kindly let me know a way to calculate or estimate the values of x, y, and th, provided by the robot under the known encoder values of both wheels of the robot. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090212/645e8c7a/attachment.html From reed at mobilerobots.com Thu Feb 12 09:04:43 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Thu, 12 Feb 2009 09:04:43 -0500 Subject: [Aria-users] socket.read in AriaJava In-Reply-To: <49905A45.4070508@mobilerobots.com> References: <34ebd4740902062332g57f5de2bh481ef7e25e4a5b87@mail.gmail.com> <49905A45.4070508@mobilerobots.com> Message-ID: <49942C7B.5050905@mobilerobots.com> If I'm interpreting the SWIG docs this may be easier than I thought. If I get it to work I'll let you know how I did it. However, ArSocket doesn't really provide any robot or ARIA specific features, you can also just use Java's network sockets API. Reed Reed Hedges wrote: > Hi Eric, to make functions like this work in Java, where the function is going > to put data in a buffer you supply, requires writing some extra code as a > "typemap" in the SWIG configuration to actually do the copying into the Java > buffer correctly, or maybe just a special Java version of read() that just > returns a java String or other data structure, and throws an exception or > something on error (instead of returning a flag). This is one of the various > aspects of the Java wrapper that we haven't run into or finished doing yet. > I'll look into doing this, though I don't know if it will be in the upcoming > ARIA release or not. If you want to do it yourself, let me know. > > Reed > > Eric Carter wrote: >> Hello, >> >> I want to implement a client program using ArSocket class in java. I am >> getting error as I am using socket.read function like this >> >> ArSocket sock = new ArSocket(); >> >> char [] buff = new char [100] / / the buffer that will store the >> message from the server >> >> >> int strSize=0 >> >> >> strSize=sock.read(buff,100); // compiler gives incompatible type errors >> >> >> it is possibly due the pointer issue that is not available in java how >> can I overcome this ? >> >> can you help me finding the where am I doing wrong ? >> >> >> Eric >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Aria-users mailing list >> Aria-users at lists.mobilerobots.com >> http://lists.mobilerobots.com/mailman/listinfo/aria-users >> >> To unsubscribe visit the above webpage or send an e-mail to: >> >> aria-users-leave at lists.mobilerobots.com > > _______________________________________________ > Aria-users mailing list > Aria-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/aria-users > > To unsubscribe visit the above webpage or send an e-mail to: > > aria-users-leave at lists.mobilerobots.com > From reed at mobilerobots.com Thu Feb 12 17:35:39 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Thu, 12 Feb 2009 17:35:39 -0500 Subject: [Aria-users] problem of getVel() In-Reply-To: <195f61100902091406u2f675d38p58471b7c4138677c@mail.gmail.com> References: <195f61100902091406u2f675d38p58471b7c4138677c@mail.gmail.com> Message-ID: <4994A43B.5040009@mobilerobots.com> The usual reason for problems like this is incompatibility between a program and DLLs. Make sure that the Aria DLL and your program were both built with the same version of Visual C++, and use the same Runtime Library. Aria.dll as installed was built with Visual Studio 2003 (7.1) in Multi Thread DLL runtime. AriaDebug.dll was built with VisualStudio 2003 (7.1) in Multi Thread Debug DLL runtime. Try using Visual Studio 2005 to rebuild the Aria libraries. Reed Xia Huang wrote: > Hi all, > > I have a problem with using getVel(). I get the strange value just like > 2.92e-308 under release mode and -9.2559e61 under debug mode. > > Did anyone come across this problem before and know how to solve it? > > By the way I am using Microsoft Visual Studio 2005 and Windows Xp. > > Thanks > > Xia > > > ------------------------------------------------------------------------ > > _______________________________________________ > Aria-users mailing list > Aria-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/aria-users > > To unsubscribe visit the above webpage or send an e-mail to: > > aria-users-leave at lists.mobilerobots.com From reed at mobilerobots.com Thu Feb 12 17:36:44 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Thu, 12 Feb 2009 17:36:44 -0500 Subject: [Aria-users] Callback task using ARIA 2.5.1 using Microsoft Visual Studio 2008 in C++ in Windows Vista operating system In-Reply-To: <008c01c98b59$4b5631a0$6e011e1f@ss20162> References: <008c01c98b59$4b5631a0$6e011e1f@ss20162> Message-ID: <4994A47C.1080700@mobilerobots.com> Hello, Sanjeev Sharma wrote: > I tried rebuilding of aria.dll but only ARIADebug.dll is > generated.Further there is no project file for rebuilding ArNetworking.dll. AriaDebug.dll is built when the Debug configuration is selected. Aria.dll is built in the Release configuration. ArNetworking has projects and solutions in the ArNetworking subdirectory. Reed From kennedy at MobileRobots.com Fri Feb 13 09:03:05 2009 From: kennedy at MobileRobots.com (William Kennedy) Date: Fri, 13 Feb 2009 09:03:05 -0500 Subject: [Aria-users] New firmware Message-ID: <6.2.5.6.2.20090213084701.036c8c98@MobileRobots.com> Hi, everyone: New ARCOS 2.5 and uARCS 4.6 firmware are now available at the robots.mobilerobots.com support website. Of particular interest is for those of you whose robots have bumpers. Bumpstall, when enabled, now actually forces a stall for the stallCount period instead of for a nominal 250ms. See the README for details. Regards, William Kennedy, PhD CTO MobileRobots Inc From khoanqv at yahoo.com.vn Mon Feb 16 08:10:45 2009 From: khoanqv at yahoo.com.vn (le duy khoa) Date: Mon, 16 Feb 2009 21:10:45 +0800 (SGT) Subject: [Aria-users] laser Message-ID: <447774.27694.qm@web76003.mail.sg1.yahoo.com> Hi everybody I have some problems with laser rangefinder ( LMS200 of Sick). I am researching P3-AT with LMS200, I use demo.exe in Aria to test laser rangefinder, however, it doesn't work. None of three indicator lights on LMS200 turn on when I choose laser mode (even though I turn the power switch many times). So I use VOM to measure the onboard source. It's about 14V. However, according to the manual of LMS200, It requires a source 24+-15%V, so I think that onboard source doesn't enough for LMS200. What should I do? Please give me some advices. Thank a lot. ??a ch? email m?i s?n c? tr?n Yahoo! Ch?n ngay m?t t?n truy nh?p b?n t?ng mu?n l?p v?i t?n mi?n m?i ymail v? rocketmail. Nhanh nhanh tr??c khi c? ng??i x? m?t! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090216/052b7ca1/attachment.html From reed at mobilerobots.com Mon Feb 16 14:59:59 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Mon, 16 Feb 2009 14:59:59 -0500 Subject: [Aria-users] MobileRobots is moving, mailing address is changing Message-ID: <4999C5BF.2050405@mobilerobots.com> As of March 1, 2009, MobileRobots is relocating, from 19 Columbia Drive, Amherst NH, to 10 Columbia Drive, Amherst NH, 03031, USA. Please start using the new address for all future mail or packages sent to MobileRobots. Even though we are only moving approx. 1,500 feet or 0.5 km down the road, some parts of the website may be down briefly at some point during the transition period over the next two or three weeks as they are moved to the new network, but direct email (support at mobilerobots.com) will always be available. Thanks, Reed -- Reed Hedges Developer Support / Software MobileRobots Inc. Find downloads, documentation, FAQ, mailing lists and more at: From goergend at fh-trier.de Tue Feb 24 09:03:15 2009 From: goergend at fh-trier.de (=?ISO-8859-15?Q?Daniel_G=F6rgen?=) Date: Tue, 24 Feb 2009 15:03:15 +0100 Subject: [Aria-users] AriaJava Wrapper-classes Message-ID: <49A3FE23.9090607@fh-trier.de> Hello, I have a problem with the AriaJava Wrapper classes. I have installed Aria (v 2.5.1) and ArNetworking (v 2.5.1). And I have installed the java jdk1.4.2_13. The environment variable PATH is set on the directory Aria/bin and the directory j2sdk1.4.2_13/bin. I wanted to test the program simple.java from the javaExamples. I can compile the program, but if I want execute it, the interpreter show the following error message: C:\Robotik\Aria\ArNetworking\javaExamples>java -cp ../../java/Aria.jar;../../jav a/ArNetworking.jar;. simple Starting Java ArNetworking Test Exception in thread "main" java.lang.UnsatisfiedLinkError: AriaJavaJNI.ArRobot_a ddRangeDevice(JLArRobot;JLArRangeDevice;)V at AriaJavaJNI.ArRobot_addRangeDevice(Native Method) at ArRobot.addRangeDevice(ArRobot.java:662) at simple.main(simple.java:50) What am I doing wrong? Thanks Daniel From supadhya at mtu.edu Wed Feb 25 10:34:31 2009 From: supadhya at mtu.edu (supadhya at mtu.edu) Date: Wed, 25 Feb 2009 10:34:31 -0500 (EST) Subject: [Aria-users] some questions Message-ID: <1085806510.598991235576071740.JavaMail.root@plumbob.merit.edu> Hi, I have one simple question regarding ARIA proram running in Linux platform. Can we run ARIA example programs in "Eclipse" in Linux. I got some problem while trying to run it. Do I need to some modifications for running ARIA package programs in eclipse in Linux. Or is there any way that I can run ARIA programs in Linux platform. I am using SUSE 11.2 Linux and I am the beginner using ARIA package. So, if anyone has idea about it please I need some suggestions regarding this. thanks From reed at mobilerobots.com Thu Feb 26 13:39:46 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Thu, 26 Feb 2009 13:39:46 -0500 Subject: [Aria-users] MobileRobots is moving, mailing address is changing - test message ignore In-Reply-To: <4999C5BF.2050405@mobilerobots.com> References: <4999C5BF.2050405@mobilerobots.com> Message-ID: <49A6E1F2.10803@mobilerobots.com> This is a test message to make sure the mailing lists still work after network changes. Please ignore, Thanks Reed From jzoss at swri.org Thu Feb 26 18:02:47 2009 From: jzoss at swri.org (Zoss, Jeremy K.) Date: Thu, 26 Feb 2009 17:02:47 -0600 Subject: [Aria-users] Cyton 7-DOF arm: ARIA Interface Message-ID: We have purchased and are awaiting delivery of the new Cyton 7-DOF arm for our P3-AT robot. I have downloaded and reviewed the Cyton software from the mobilerobotics website, but do not see any references in the documentation to any ARIA interfaces. Do there exist any ARIA interfaces to the new Cyton arm? I'm looking for something similar to the ArP2Arm class. Are there any code examples for how to integrate the Cyton arm into Aria? If not, I'll forge ahead "from scratch". But I figure there's no need to reinvent something that (should?) already exists. Thanks, - Jeremy