From Reed.Hedges at Adept.com Wed Jun 1 14:20:54 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Wed, 1 Jun 2011 11:20:54 -0700 Subject: [Aria-users] How ArRobot.setRotVel works In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02CDE1F318@SRV-APP-6.adept.local> Hello, Note that setRotVel() requests a rotational velocity of the robot (in degrees per second), not a heading position. There is a heading command, and a delta-heading command. setHeading() requests movement to a specified heading (degrees), relative to the robot coordinate system (0 degrees at startup). setDeltaHeading() requests relative movement by the given number of degrees, that is, relative to its current position at the time of the command. It will use as the velocity for these movements its maximum rotational velocity (set in the firmware). (Use isHeadingDone() to check if it has finished the heading command, within some epsilon (3 degrees by default, though it can be changed)). If you are using setRotVel() instead to set rotational velocity, you can check the robot's theta position value and adjust the rotational velocity according to how close you are to your desired heading. You can call the motion command methods of ArRobot whenever necessary (though use lock() and unlock() if calling from a different thread than ArRobot's thread-ask if you need more explanation on this). ArRobot will in fact only send commands every 100ms anyway. Each command will simply replace or override the previous command. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Rocco Galati Sent: Monday, May 30, 2011 5:54 AM To: ariausers Subject: [Aria-users] How ArRobot.setRotVel works Hi to all, i have a process which sends some packets to another process which uses Aria in order to control my robot. In the first process, i have a loop which sends the heading and the distance which the robot needs to move. The process send packets like "heading 20" where 20 is the value which i pass to setRolVel. Now, since i use a loop, i'd like to know if there are no problems if i send always the same values (this happens because i read values from sensors). I try to explain better: I have a loop which always send packet like: 1. heading 20 2. heading 20 3. heading 22 4. heading 20 5. heading 21 and i pass all of them to setRotVel. I'd like to ask you if i have to pass the first value as it is and then the other values as a difference between the new value and the previous one. In this case: 1. heading 20 -> OK, it's the first value, the robot turns 20 degrees 2. i send nothing because it's the same value 3. i send 22 - 20 = 2 because the robot has to move of 2 degree from its actual position 4. i send 20 - 22 = -2 because it has to turn in different direction 5. and so on.. Can you give me advices about this situation, please? If i pass heading 20 and then heading 20 again, will the robot turn of 40 degrees? Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 12069 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110601/7602651e/attachment-0001.bin From Reed.Hedges at Adept.com Wed Jun 1 14:21:20 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Wed, 1 Jun 2011 11:21:20 -0700 Subject: [Aria-users] savServer isn't working In-Reply-To: References: <592748.22356.qm@web46410.mail.sp1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02CDE1F31B@SRV-APP-6.adept.local> Hi Hossain, Were you able to solve this problem? From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Dowling, Robin Sent: Friday, May 27, 2011 4:55 AM To: ariausers Subject: Re: [Aria-users] savServer isn't working Hossain My experience of framegrabbers is that if they fail to work whilst the robot has been switched on you need to shutdown the PC and restart. A restart of the OS is not enough the power to the framegrabber needs to be off to allow it to reset. You can confirm it is a problem with the framegrabber and not SAV by running another utility that is known to work, acts or xawtv for instance. Regards Robin From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Hossain, Md.Z Sent: 27 May 2011 05:01 To: aria-users at lists.mobilerobots.com Subject: [Aria-users] savServer isn't working Hi everybody, I'm having a problem while trying to run savServer(to open framegraber), but it was working in the morning. It's not showing anything when i'm running ./savServer from /usr/local/SAV. OS: GNU/Linux(robot(p3at) onboard OS) camera: canon vc-c50i Please help me. best regards hossain -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 11709 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110601/05d5f1c3/attachment.bin From stfox88 at gmail.com Fri Jun 3 16:35:12 2011 From: stfox88 at gmail.com (Stephen D. Fox) Date: Fri, 03 Jun 2011 16:35:12 -0400 Subject: [Aria-users] Aria python 2.6+ wrappers Message-ID: <4DE94580.6010204@gmail.com> Hi, Is there a distribution of the Aria python wrappers compatible with a later version of python (2.6+)? If not, will one be released soon? Thank you, Steve From Reed.Hedges at Adept.com Mon Jun 6 10:21:26 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Mon, 6 Jun 2011 07:21:26 -0700 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: <4DE94580.6010204@gmail.com> References: <4DE94580.6010204@gmail.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> Hello, In future ARIA releases we will be supporting Debian 5 more directly, which uses Python 2.5. I haven't tested those wrappers with Python 2.6 but I know versions of Python are often not completely compatible with each other. You can use swig to rebuild it, see some instructions in the pythonExamples/README.txt file. If you run into trouble let me know. Are you using Linux or Windows? > -----Original Message----- > From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- > bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > Sent: Friday, June 03, 2011 4:35 PM > To: ariausers > Subject: [Aria-users] Aria python 2.6+ wrappers > > Hi, > > Is there a distribution of the Aria python wrappers compatible with a > later version of python (2.6+)? If not, will one be released soon? > > Thank you, > Steve > _______________________________________________ > 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 > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4367 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110606/7035994f/attachment-0001.bin From stfox88 at gmail.com Mon Jun 6 11:08:18 2011 From: stfox88 at gmail.com (Stephen D. Fox) Date: Mon, 6 Jun 2011 11:08:18 -0400 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> Message-ID: Hi Reed, Thanks for getting back to me. I have followed those instructions to no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using python2.6. These are the steps I took: 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make cleanPython 2) Rebuilt Aria python: make python PYTHON_INCLUDE=/usr/include/python2.6/ 3) Rebuilt ArNetworking python the same way 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my .bashrc file 4) ran "python2.6 simple.py" in the /usr/local/Aria/pythonExamples/ folder --- Error #1: Traceback (most recent call last): File "simple.py", line29, in Aria.init() AttributeError: class Aria has no attribute init ---- 5) I attempted renaming _AriaPy.so to _AriaPy.pyd ---- Error #2: Traceback (most recent call last): File "simple.py", line 25, in from AriaPy import * File "/usr/local/Aria/python/AriaPy.py", line 29, in _AriaPy = swig_import_helper() File "/usr/local/Aria/python/AriaPy.py", line 21, in swig_import_helper import _AriaPy ImportError: No module named _AriaPy If I run python then import AriaPy, help(AriaPy) displays the contents of the module just fine and I can call some things. (e.g. r = ArRobot() ) Thanks in advance for your help, Steve On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges wrote: > > Hello, > > In future ARIA releases we will be supporting Debian 5 more directly, which uses Python 2.5. ?I haven't tested those wrappers with Python 2.6 but I know versions of Python are often not completely compatible with each other. ? You can use swig to rebuild it, see some instructions in the pythonExamples/README.txt file. ?If you run into trouble let me know. > > Are you using Linux or Windows? > > > >> -----Original Message----- >> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >> Sent: Friday, June 03, 2011 4:35 PM >> To: ariausers >> Subject: [Aria-users] Aria python 2.6+ wrappers >> >> Hi, >> >> Is there a distribution of the Aria python wrappers compatible with a >> later version of python (2.6+)? If not, will one be released soon? >> >> Thank you, >> Steve >> _______________________________________________ >> 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 >> >> Visit http://robots.mobilerobots.com for information including >> documentation, FAQ, tips, manuals, and software, firmware and driver >> downloads. >> >> Mailing list archives are at http://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 > > Visit http://robots.mobilerobots.com for information including documentation, FAQ, tips, manuals, and software, firmware and driver downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ > > From stfox88 at gmail.com Mon Jun 6 15:43:41 2011 From: stfox88 at gmail.com (Stephen D. Fox) Date: Mon, 6 Jun 2011 15:43:41 -0400 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> Message-ID: Hi Reed, I was able to get python2.6 wrappers working this afternoon. The issue I had was not with the wrappers themselves, but the call to Aria and ArUtil namespace functions. It seems they are each wrapped into a python class that must be declared first. I added these two lines of code to simple.py: Aria = Aria() ArUtil = ArUtil() then Aria.init() and ArUtil.sleep() will work as expected Best Regards, Steve On Mon, Jun 6, 2011 at 11:08 AM, Stephen D. Fox wrote: > Hi Reed, > > Thanks for getting back to me. I have followed those instructions to > no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using python2.6. > > These are the steps I took: > > 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make cleanPython > 2) Rebuilt Aria python: make python PYTHON_INCLUDE=/usr/include/python2.6/ > 3) Rebuilt ArNetworking python the same way > 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my .bashrc file > 4) ran "python2.6 simple.py" in the /usr/local/Aria/pythonExamples/ folder > --- > Error #1: > > Traceback (most recent call last): > ? File "simple.py", line29, in > ? ? ?Aria.init() > AttributeError: class Aria has no attribute init > ---- > 5) I attempted renaming _AriaPy.so to _AriaPy.pyd > ---- > Error #2: > > Traceback (most recent call last): > ?File "simple.py", line 25, in > ? ?from AriaPy import * > ?File "/usr/local/Aria/python/AriaPy.py", line 29, in > ? ?_AriaPy = swig_import_helper() > ?File "/usr/local/Aria/python/AriaPy.py", line 21, in swig_import_helper > ? ?import _AriaPy > ImportError: No module named _AriaPy > > > If I run python then import AriaPy, help(AriaPy) displays the contents > of the module just fine and I can call some things. (e.g. > r = ArRobot() ) > > Thanks in advance for your help, > > Steve > > > > > > On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges wrote: >> >> Hello, >> >> In future ARIA releases we will be supporting Debian 5 more directly, which uses Python 2.5. ?I haven't tested those wrappers with Python 2.6 but I know versions of Python are often not completely compatible with each other. ? You can use swig to rebuild it, see some instructions in the pythonExamples/README.txt file. ?If you run into trouble let me know. >> >> Are you using Linux or Windows? >> >> >> >>> -----Original Message----- >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >>> Sent: Friday, June 03, 2011 4:35 PM >>> To: ariausers >>> Subject: [Aria-users] Aria python 2.6+ wrappers >>> >>> Hi, >>> >>> Is there a distribution of the Aria python wrappers compatible with a >>> later version of python (2.6+)? If not, will one be released soon? >>> >>> Thank you, >>> Steve >>> _______________________________________________ >>> 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 >>> >>> Visit http://robots.mobilerobots.com for information including >>> documentation, FAQ, tips, manuals, and software, firmware and driver >>> downloads. >>> >>> Mailing list archives are at http://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 >> >> Visit http://robots.mobilerobots.com for information including documentation, FAQ, tips, manuals, and software, firmware and driver downloads. >> >> Mailing list archives are at http://lists.mobilerobots.com/ >> >> > From Reed.Hedges at Adept.com Mon Jun 6 16:38:44 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Mon, 6 Jun 2011 13:38:44 -0700 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA9E3@SRV-APP-6.adept.local> I think this worked in Python 2.4 -- can you check what version of Swig you're using as well? Something may have changed there in how it handles static methods. > -----Original Message----- > From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- > bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > Sent: Monday, June 06, 2011 3:44 PM > To: ariausers > Subject: Re: [Aria-users] Aria python 2.6+ wrappers > > Hi Reed, > > I was able to get python2.6 wrappers working this afternoon. The issue > I had was not with the wrappers themselves, but the call to Aria and > ArUtil namespace functions. It seems they are each wrapped into a > python class that must be declared first. I added these two lines of > code to simple.py: > > Aria = Aria() > ArUtil = ArUtil() > > then Aria.init() and ArUtil.sleep() will work as expected > > Best Regards, > > Steve > > > > On Mon, Jun 6, 2011 at 11:08 AM, Stephen D. Fox > wrote: > > Hi Reed, > > > > Thanks for getting back to me. I have followed those instructions to > > no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using python2.6. > > > > These are the steps I took: > > > > 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make > cleanPython > > 2) Rebuilt Aria python: make python > PYTHON_INCLUDE=/usr/include/python2.6/ > > 3) Rebuilt ArNetworking python the same way > > 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my .bashrc > file > > 4) ran "python2.6 simple.py" in the /usr/local/Aria/pythonExamples/ > folder > > --- > > Error #1: > > > > Traceback (most recent call last): > > ? File "simple.py", line29, in > > ? ? ?Aria.init() > > AttributeError: class Aria has no attribute init > > ---- > > 5) I attempted renaming _AriaPy.so to _AriaPy.pyd > > ---- > > Error #2: > > > > Traceback (most recent call last): > > ?File "simple.py", line 25, in > > ? ?from AriaPy import * > > ?File "/usr/local/Aria/python/AriaPy.py", line 29, in > > ? ?_AriaPy = swig_import_helper() > > ?File "/usr/local/Aria/python/AriaPy.py", line 21, in > swig_import_helper > > ? ?import _AriaPy > > ImportError: No module named _AriaPy > > > > > > If I run python then import AriaPy, help(AriaPy) displays the > contents > > of the module just fine and I can call some things. (e.g. > > r = ArRobot() ) > > > > Thanks in advance for your help, > > > > Steve > > > > > > > > > > > > On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges > wrote: > >> > >> Hello, > >> > >> In future ARIA releases we will be supporting Debian 5 more > directly, which uses Python 2.5. ?I haven't tested those wrappers with > Python 2.6 but I know versions of Python are often not completely > compatible with each other. ? You can use swig to rebuild it, see some > instructions in the pythonExamples/README.txt file. ?If you run into > trouble let me know. > >> > >> Are you using Linux or Windows? > >> > >> > >> > >>> -----Original Message----- > >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- > >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > >>> Sent: Friday, June 03, 2011 4:35 PM > >>> To: ariausers > >>> Subject: [Aria-users] Aria python 2.6+ wrappers > >>> > >>> Hi, > >>> > >>> Is there a distribution of the Aria python wrappers compatible with > a > >>> later version of python (2.6+)? If not, will one be released soon? > >>> > >>> Thank you, > >>> Steve > >>> _______________________________________________ > >>> 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 > >>> > >>> Visit http://robots.mobilerobots.com for information including > >>> documentation, FAQ, tips, manuals, and software, firmware and > driver > >>> downloads. > >>> > >>> Mailing list archives are at http://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 > >> > >> Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > >> > >> Mailing list archives are at http://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 > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6247 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110606/5c0fdeaa/attachment.bin From stfox88 at gmail.com Mon Jun 6 16:44:28 2011 From: stfox88 at gmail.com (Stephen D. Fox) Date: Mon, 6 Jun 2011 16:44:28 -0400 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA9E3@SRV-APP-6.adept.local> References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA9E3@SRV-APP-6.adept.local> Message-ID: Here's the Swig info: dpkg -l |grep swig ii swig 1.3.40-3ubuntu1 Generate scripting interfaces to C/C++ code Thanks, Steve On Mon, Jun 6, 2011 at 4:38 PM, Reed Hedges wrote: > > I think this worked in Python 2.4 -- can you check what version of Swig you're using as well? Something may have changed there in how it handles static methods. > > > >> -----Original Message----- >> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >> Sent: Monday, June 06, 2011 3:44 PM >> To: ariausers >> Subject: Re: [Aria-users] Aria python 2.6+ wrappers >> >> Hi Reed, >> >> I was able to get python2.6 wrappers working this afternoon. The issue >> I had was not with the wrappers themselves, but the call to Aria and >> ArUtil namespace functions. It seems they are each wrapped into a >> python class that must be declared first. I added these two lines of >> code to simple.py: >> >> Aria = Aria() >> ArUtil = ArUtil() >> >> then Aria.init() and ArUtil.sleep() will work as expected >> >> Best Regards, >> >> Steve >> >> >> >> On Mon, Jun 6, 2011 at 11:08 AM, Stephen D. Fox >> wrote: >> > Hi Reed, >> > >> > Thanks for getting back to me. I have followed those instructions to >> > no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using python2.6. >> > >> > These are the steps I took: >> > >> > 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make >> cleanPython >> > 2) Rebuilt Aria python: make python >> PYTHON_INCLUDE=/usr/include/python2.6/ >> > 3) Rebuilt ArNetworking python the same way >> > 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my .bashrc >> file >> > 4) ran "python2.6 simple.py" in the /usr/local/Aria/pythonExamples/ >> folder >> > --- >> > Error #1: >> > >> > Traceback (most recent call last): >> > ? File "simple.py", line29, in >> > ? ? ?Aria.init() >> > AttributeError: class Aria has no attribute init >> > ---- >> > 5) I attempted renaming _AriaPy.so to _AriaPy.pyd >> > ---- >> > Error #2: >> > >> > Traceback (most recent call last): >> > ?File "simple.py", line 25, in >> > ? ?from AriaPy import * >> > ?File "/usr/local/Aria/python/AriaPy.py", line 29, in >> > ? ?_AriaPy = swig_import_helper() >> > ?File "/usr/local/Aria/python/AriaPy.py", line 21, in >> swig_import_helper >> > ? ?import _AriaPy >> > ImportError: No module named _AriaPy >> > >> > >> > If I run python then import AriaPy, help(AriaPy) displays the >> contents >> > of the module just fine and I can call some things. (e.g. >> > r = ArRobot() ) >> > >> > Thanks in advance for your help, >> > >> > Steve >> > >> > >> > >> > >> > >> > On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges >> wrote: >> >> >> >> Hello, >> >> >> >> In future ARIA releases we will be supporting Debian 5 more >> directly, which uses Python 2.5. ?I haven't tested those wrappers with >> Python 2.6 but I know versions of Python are often not completely >> compatible with each other. ? You can use swig to rebuild it, see some >> instructions in the pythonExamples/README.txt file. ?If you run into >> trouble let me know. >> >> >> >> Are you using Linux or Windows? >> >> >> >> >> >> >> >>> -----Original Message----- >> >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >> >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >> >>> Sent: Friday, June 03, 2011 4:35 PM >> >>> To: ariausers >> >>> Subject: [Aria-users] Aria python 2.6+ wrappers >> >>> >> >>> Hi, >> >>> >> >>> Is there a distribution of the Aria python wrappers compatible with >> a >> >>> later version of python (2.6+)? If not, will one be released soon? >> >>> >> >>> Thank you, >> >>> Steve >> >>> _______________________________________________ >> >>> 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 >> >>> >> >>> Visit http://robots.mobilerobots.com for information including >> >>> documentation, FAQ, tips, manuals, and software, firmware and >> driver >> >>> downloads. >> >>> >> >>> Mailing list archives are at http://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 >> >> >> >> Visit http://robots.mobilerobots.com for information including >> documentation, FAQ, tips, manuals, and software, firmware and driver >> downloads. >> >> >> >> Mailing list archives are at http://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 >> >> Visit http://robots.mobilerobots.com for information including >> documentation, FAQ, tips, manuals, and software, firmware and driver >> downloads. >> >> Mailing list archives are at http://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 > > Visit http://robots.mobilerobots.com for information including documentation, FAQ, tips, manuals, and software, firmware and driver downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ > > From stfox88 at gmail.com Mon Jun 6 16:50:20 2011 From: stfox88 at gmail.com (Stephen D. Fox) Date: Mon, 6 Jun 2011 16:50:20 -0400 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA9E3@SRV-APP-6.adept.local> Message-ID: According to the Swig 1.3 documentation, static methods can be accessed as follows import example >>> example.Spam_foo() # Spam::foo() >>> s = example.Spam() >>> s.foo() # Spam::foo() via an instance >>> example.Spam.foo() # Spam::foo(). Python-2.2 only I can confirm that the first two ways work in python2.6, but the final was phased out after Python-2.2 Steve On Mon, Jun 6, 2011 at 4:44 PM, Stephen D. Fox wrote: > Here's the Swig info: > > dpkg -l |grep swig > ii ?swig > 1.3.40-3ubuntu1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Generate scripting > interfaces to C/C++ code > > Thanks, > > Steve > > > > On Mon, Jun 6, 2011 at 4:38 PM, Reed Hedges wrote: >> >> I think this worked in Python 2.4 -- can you check what version of Swig you're using as well? Something may have changed there in how it handles static methods. >> >> >> >>> -----Original Message----- >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >>> Sent: Monday, June 06, 2011 3:44 PM >>> To: ariausers >>> Subject: Re: [Aria-users] Aria python 2.6+ wrappers >>> >>> Hi Reed, >>> >>> I was able to get python2.6 wrappers working this afternoon. The issue >>> I had was not with the wrappers themselves, but the call to Aria and >>> ArUtil namespace functions. It seems they are each wrapped into a >>> python class that must be declared first. I added these two lines of >>> code to simple.py: >>> >>> Aria = Aria() >>> ArUtil = ArUtil() >>> >>> then Aria.init() and ArUtil.sleep() will work as expected >>> >>> Best Regards, >>> >>> Steve >>> >>> >>> >>> On Mon, Jun 6, 2011 at 11:08 AM, Stephen D. Fox >>> wrote: >>> > Hi Reed, >>> > >>> > Thanks for getting back to me. I have followed those instructions to >>> > no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using python2.6. >>> > >>> > These are the steps I took: >>> > >>> > 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make >>> cleanPython >>> > 2) Rebuilt Aria python: make python >>> PYTHON_INCLUDE=/usr/include/python2.6/ >>> > 3) Rebuilt ArNetworking python the same way >>> > 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my .bashrc >>> file >>> > 4) ran "python2.6 simple.py" in the /usr/local/Aria/pythonExamples/ >>> folder >>> > --- >>> > Error #1: >>> > >>> > Traceback (most recent call last): >>> > ? File "simple.py", line29, in >>> > ? ? ?Aria.init() >>> > AttributeError: class Aria has no attribute init >>> > ---- >>> > 5) I attempted renaming _AriaPy.so to _AriaPy.pyd >>> > ---- >>> > Error #2: >>> > >>> > Traceback (most recent call last): >>> > ?File "simple.py", line 25, in >>> > ? ?from AriaPy import * >>> > ?File "/usr/local/Aria/python/AriaPy.py", line 29, in >>> > ? ?_AriaPy = swig_import_helper() >>> > ?File "/usr/local/Aria/python/AriaPy.py", line 21, in >>> swig_import_helper >>> > ? ?import _AriaPy >>> > ImportError: No module named _AriaPy >>> > >>> > >>> > If I run python then import AriaPy, help(AriaPy) displays the >>> contents >>> > of the module just fine and I can call some things. (e.g. >>> > r = ArRobot() ) >>> > >>> > Thanks in advance for your help, >>> > >>> > Steve >>> > >>> > >>> > >>> > >>> > >>> > On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges >>> wrote: >>> >> >>> >> Hello, >>> >> >>> >> In future ARIA releases we will be supporting Debian 5 more >>> directly, which uses Python 2.5. ?I haven't tested those wrappers with >>> Python 2.6 but I know versions of Python are often not completely >>> compatible with each other. ? You can use swig to rebuild it, see some >>> instructions in the pythonExamples/README.txt file. ?If you run into >>> trouble let me know. >>> >> >>> >> Are you using Linux or Windows? >>> >> >>> >> >>> >> >>> >>> -----Original Message----- >>> >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- >>> >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox >>> >>> Sent: Friday, June 03, 2011 4:35 PM >>> >>> To: ariausers >>> >>> Subject: [Aria-users] Aria python 2.6+ wrappers >>> >>> >>> >>> Hi, >>> >>> >>> >>> Is there a distribution of the Aria python wrappers compatible with >>> a >>> >>> later version of python (2.6+)? If not, will one be released soon? >>> >>> >>> >>> Thank you, >>> >>> Steve >>> >>> _______________________________________________ >>> >>> 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 >>> >>> >>> >>> Visit http://robots.mobilerobots.com for information including >>> >>> documentation, FAQ, tips, manuals, and software, firmware and >>> driver >>> >>> downloads. >>> >>> >>> >>> Mailing list archives are at http://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 >>> >> >>> >> Visit http://robots.mobilerobots.com for information including >>> documentation, FAQ, tips, manuals, and software, firmware and driver >>> downloads. >>> >> >>> >> Mailing list archives are at http://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 >>> >>> Visit http://robots.mobilerobots.com for information including >>> documentation, FAQ, tips, manuals, and software, firmware and driver >>> downloads. >>> >>> Mailing list archives are at http://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 >> >> Visit http://robots.mobilerobots.com for information including documentation, FAQ, tips, manuals, and software, firmware and driver downloads. >> >> Mailing list archives are at http://lists.mobilerobots.com/ >> >> > From 1989chenguo at 163.com Tue Jun 7 22:58:35 2011 From: 1989chenguo at 163.com (=?GBK?B?s8K5+w==?=) Date: Wed, 8 Jun 2011 10:58:35 +0800 (CST) Subject: [Aria-users] About true pose in Mobilesim Message-ID: <1fe7118.13ee9.1306d2fef3f.Coremail.1989chenguo@163.com> Hello! I've got a problem in Mobilesim.How to get true pose of a robot in mobilesim? For example, if I drag a robot in mobilesim, how can I get the new pose of it? I can only get the Odometry Pose using getX and getY. Thank you very much! Yours Chen Guo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110608/11793682/attachment.html From FGe at csu.edu.au Wed Jun 8 02:03:25 2011 From: FGe at csu.edu.au (Ge, Feng Lu) Date: Wed, 8 Jun 2011 16:03:25 +1000 Subject: [Aria-users] About true pose in Mobilesim In-Reply-To: <1fe7118.13ee9.1306d2fef3f.Coremail.1989chenguo@163.com> References: <1fe7118.13ee9.1306d2fef3f.Coremail.1989chenguo@163.com> Message-ID: <24F75ABF48BF664AACF82C68B51228DA45F3377E74@MAIL01.CSUMain.csu.edu.au> If you read the manual, you may found that getX and getY only gave you relative poses to original start point. In my point of view, you can not get true pose except using GPS. regards Centre For Research in Complex Systems (CRiCS) Newcrest Mining Research Laboratory Building S1-103 Charles Sturt University Panaroma Avenue, Bathurst NSW 2795 Tel 02 633 86102 Fax 02 633 86165 Email fge at csu.edu.au ________________________________________ From: aria-users-bounces at lists.mobilerobots.com [aria-users-bounces at lists.mobilerobots.com] On Behalf Of ?? [1989chenguo at 163.com] Sent: Wednesday, 8 June 2011 12:58 PM To: aria-users at lists.mobilerobots.com Subject: [Aria-users] About true pose in Mobilesim Hello! I've got a problem in Mobilesim.How to get true pose of a robot in mobilesim? For example, if I drag a robot in mobilesim, how can I get the new pose of it? I can only get the Odometry Pose using getX and getY. Thank you very much! Yours Chen Guo From Reed.Hedges at Adept.com Wed Jun 8 09:24:12 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Wed, 8 Jun 2011 06:24:12 -0700 Subject: [Aria-users] About true pose in Mobilesim In-Reply-To: <1fe7118.13ee9.1306d2fef3f.Coremail.1989chenguo@163.com> References: <1fe7118.13ee9.1306d2fef3f.Coremail.1989chenguo@163.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FACB6@SRV-APP-6.adept.local> Hi Chen, MobileSim can provide its "true" pose to ARIA through a special SIMSTAT packet. You will have to accept and parse this packet yourself (not in ArRobot/ARIA yet). Details are in the MobileSim README.html file, and in http://robots.mobilerobots.com/wiki/MobileSim_true_pose_and_other_simulation-specific_data From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of ?? Sent: Tuesday, June 07, 2011 10:59 PM To: ariausers Subject: [Aria-users] About true pose in Mobilesim Hello! I've got a problem in Mobilesim.How to get true pose of a robot in mobilesim? For example, if I drag a robot in mobilesim, how can I get the new pose of it? I can only get the Odometry Pose using getX and getY. Thank you very much! Yours Chen Guo -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 8682 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110608/e8b1c377/attachment-0001.bin From amit.r.chaudhari at gmail.com Thu Jun 9 18:11:03 2011 From: amit.r.chaudhari at gmail.com (Amit Chaudhari) Date: Thu, 9 Jun 2011 18:11:03 -0400 Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. Message-ID: Hi Everyone, I am trying to connect the amigo robot to the laptop using the on board wireless card. I need to create a peer to peer connection in order to connect it. Can anyone help me to create a peer to peer connection with the IP-address on the robot using the wireless connection. I am going to connect to the Amigo robot using its wireless card on my laptop. So I want to get that robot in my Ad Hoc network. Could anyone please reply me with any suggestion. Many Thanks in Advance, Amit Chaudhari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110609/3ea1b135/attachment.html From Reed.Hedges at Adept.com Fri Jun 10 10:15:05 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 10 Jun 2011 07:15:05 -0700 Subject: [Aria-users] Aria python 2.6+ wrappers In-Reply-To: References: <4DE94580.6010204@gmail.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA8FE@SRV-APP-6.adept.local> <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FA9E3@SRV-APP-6.adept.local> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FB0D8@SRV-APP-6.adept.local> Great, thanks! This is useful. I'll probably use the first version (Aria_init() etc.) in the examples in the future, unless you think it's clearer to declare the object? I guess we could show both ways in the example, though I'll need to see which works in Python 2.4 etc. What do people think? > -----Original Message----- > From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- > bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > Sent: Monday, June 06, 2011 4:50 PM > To: ariausers > Subject: Re: [Aria-users] Aria python 2.6+ wrappers > > According to the Swig 1.3 documentation, static methods can be > accessed as follows > > import example > >>> example.Spam_foo() # Spam::foo() > >>> s = example.Spam() > >>> s.foo() # Spam::foo() via an instance > >>> example.Spam.foo() # Spam::foo(). Python-2.2 only > > I can confirm that the first two ways work in python2.6, but the final > was phased out after Python-2.2 > > Steve > > On Mon, Jun 6, 2011 at 4:44 PM, Stephen D. Fox > wrote: > > Here's the Swig info: > > > > dpkg -l |grep swig > > ii ?swig > > 1.3.40-3ubuntu1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Generate scripting > > interfaces to C/C++ code > > > > Thanks, > > > > Steve > > > > > > > > On Mon, Jun 6, 2011 at 4:38 PM, Reed Hedges > wrote: > >> > >> I think this worked in Python 2.4 -- can you check what version of > Swig you're using as well? Something may have changed there in how it > handles static methods. > >> > >> > >> > >>> -----Original Message----- > >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users- > >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > >>> Sent: Monday, June 06, 2011 3:44 PM > >>> To: ariausers > >>> Subject: Re: [Aria-users] Aria python 2.6+ wrappers > >>> > >>> Hi Reed, > >>> > >>> I was able to get python2.6 wrappers working this afternoon. The > issue > >>> I had was not with the wrappers themselves, but the call to Aria > and > >>> ArUtil namespace functions. It seems they are each wrapped into a > >>> python class that must be declared first. I added these two lines > of > >>> code to simple.py: > >>> > >>> Aria = Aria() > >>> ArUtil = ArUtil() > >>> > >>> then Aria.init() and ArUtil.sleep() will work as expected > >>> > >>> Best Regards, > >>> > >>> Steve > >>> > >>> > >>> > >>> On Mon, Jun 6, 2011 at 11:08 AM, Stephen D. Fox > >>> wrote: > >>> > Hi Reed, > >>> > > >>> > Thanks for getting back to me. I have followed those instructions > to > >>> > no avail on an Ubuntu 11.04 and Ubuntu 10.10 machine using > python2.6. > >>> > > >>> > These are the steps I took: > >>> > > >>> > 1) in /usr/local/Aria and /usr/local/Aria/ArNetworking: make > >>> cleanPython > >>> > 2) Rebuilt Aria python: make python > >>> PYTHON_INCLUDE=/usr/include/python2.6/ > >>> > 3) Rebuilt ArNetworking python the same way > >>> > 3) set PYTHONPATH=$PYTHONPATH:/usr/local/Aria/python/ in my > .bashrc > >>> file > >>> > 4) ran "python2.6 simple.py" in the > /usr/local/Aria/pythonExamples/ > >>> folder > >>> > --- > >>> > Error #1: > >>> > > >>> > Traceback (most recent call last): > >>> > ? File "simple.py", line29, in > >>> > ? ? ?Aria.init() > >>> > AttributeError: class Aria has no attribute init > >>> > ---- > >>> > 5) I attempted renaming _AriaPy.so to _AriaPy.pyd > >>> > ---- > >>> > Error #2: > >>> > > >>> > Traceback (most recent call last): > >>> > ?File "simple.py", line 25, in > >>> > ? ?from AriaPy import * > >>> > ?File "/usr/local/Aria/python/AriaPy.py", line 29, in > >>> > ? ?_AriaPy = swig_import_helper() > >>> > ?File "/usr/local/Aria/python/AriaPy.py", line 21, in > >>> swig_import_helper > >>> > ? ?import _AriaPy > >>> > ImportError: No module named _AriaPy > >>> > > >>> > > >>> > If I run python then import AriaPy, help(AriaPy) displays the > >>> contents > >>> > of the module just fine and I can call some things. (e.g. > >>> > r = ArRobot() ) > >>> > > >>> > Thanks in advance for your help, > >>> > > >>> > Steve > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > On Mon, Jun 6, 2011 at 10:21 AM, Reed Hedges > > >>> wrote: > >>> >> > >>> >> Hello, > >>> >> > >>> >> In future ARIA releases we will be supporting Debian 5 more > >>> directly, which uses Python 2.5. ?I haven't tested those wrappers > with > >>> Python 2.6 but I know versions of Python are often not completely > >>> compatible with each other. ? You can use swig to rebuild it, see > some > >>> instructions in the pythonExamples/README.txt file. ?If you run > into > >>> trouble let me know. > >>> >> > >>> >> Are you using Linux or Windows? > >>> >> > >>> >> > >>> >> > >>> >>> -----Original Message----- > >>> >>> From: aria-users-bounces at lists.mobilerobots.com [mailto:aria- > users- > >>> >>> bounces at lists.mobilerobots.com] On Behalf Of Stephen D. Fox > >>> >>> Sent: Friday, June 03, 2011 4:35 PM > >>> >>> To: ariausers > >>> >>> Subject: [Aria-users] Aria python 2.6+ wrappers > >>> >>> > >>> >>> Hi, > >>> >>> > >>> >>> Is there a distribution of the Aria python wrappers compatible > with > >>> a > >>> >>> later version of python (2.6+)? If not, will one be released > soon? > >>> >>> > >>> >>> Thank you, > >>> >>> Steve > >>> >>> _______________________________________________ > >>> >>> 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 > >>> >>> > >>> >>> Visit http://robots.mobilerobots.com for information including > >>> >>> documentation, FAQ, tips, manuals, and software, firmware and > >>> driver > >>> >>> downloads. > >>> >>> > >>> >>> Mailing list archives are at http://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 > >>> >> > >>> >> Visit http://robots.mobilerobots.com for information including > >>> documentation, FAQ, tips, manuals, and software, firmware and > driver > >>> downloads. > >>> >> > >>> >> Mailing list archives are at http://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 > >>> > >>> Visit http://robots.mobilerobots.com for information including > >>> documentation, FAQ, tips, manuals, and software, firmware and > driver > >>> downloads. > >>> > >>> Mailing list archives are at http://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 > >> > >> Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > >> > >> Mailing list archives are at http://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 > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 7387 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110610/3ba04fbe/attachment.bin From Reed.Hedges at Adept.com Fri Jun 10 16:14:14 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 10 Jun 2011 13:14:14 -0700 Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF2FB1AD@SRV-APP-6.adept.local> Hi Amit, If it is a WiBox serial-ethernet interface you can configure it through its serial port. See http://robots.mobilerobots.com/wiki/Lantronix_WiBox_ethernet-serial_bridge . (If you have the older black one instead, it's here: http://robots.mobilerobots.com/wiki/EtherWind_Configuration) From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Amit Chaudhari Sent: Thursday, June 09, 2011 6:11 PM To: ariausers Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. Hi Everyone, I am trying to connect the amigo robot to the laptop using the on board wireless card. I need to create a peer to peer connection in order to connect it. Can anyone help me to create a peer to peer connection with the IP-address on the robot using the wireless connection. I am going to connect to the Amigo robot using its wireless card on my laptop. So I want to get that robot in my Ad Hoc network. Could anyone please reply me with any suggestion. Many Thanks in Advance, Amit Chaudhari -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 10705 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110610/a8b77984/attachment-0001.bin From aricc.sp at gmail.com Fri Jun 17 01:22:35 2011 From: aricc.sp at gmail.com (ARICC SP) Date: Fri, 17 Jun 2011 13:22:35 +0800 Subject: [Aria-users] Regarding ArSphinx Message-ID: Hi, I'm doing a set of trial run of speech recognition using ArSphinx. I have a dic file that contains a set of words so i decide to call and separate them into different language models (start.lm & yesno.lm) for higher hit rate for correct word detection. test.dic contains: start,stop,yes,no yesno.lm contains: yes, no start.lm contains: start,stop Declaration in main: char* dicFile = "test.dic"; char* lmFile = "start.lm"; char* lmFile = "yesno.lm"; recog = new ArSphinx(dicFile, true); recog->addLm(lmFile, lmFile); recog->addLm(lmFile1, lmFile1); recog->setLm(lmFile); I have defined "recog->setLm(lmFile1)" into Start command (speech). The debug program had shown "ArSphinx: uttproc_set_lm called with "yesno'. " when START command is triggered. I was still unable to trigger the 'yes' and 'no' speech commands which is defined as if else statement in the START Command. How do I solve this problem? Thanks! Regards, aricc.sp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110617/32dffc53/attachment.html From amit.r.chaudhari at gmail.com Wed Jun 22 19:22:59 2011 From: amit.r.chaudhari at gmail.com (Amit Chaudhari) Date: Wed, 22 Jun 2011 19:22:59 -0400 Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. Message-ID: I tried going through all the manuals that came with the robot and also the link provided. But the problem I am getting is the robot wireless card is already configured I guess but just I am not able to get it into Wireless LAN. I have got the IP setup already on the wireless card and have already checked with the manual options. Still not working. It would really help if some one has already tried to connect the robots using the wireless connectivity on the robot. ------------------------------ Hi Amit, If it is a WiBox serial-ethernet interface you can configure it through its serial port. See http://robots.mobilerobots.com/wiki/Lantronix_WiBox_ethernet-serial_bridge . (If you have the older black one instead, it's here: http://robots.mobilerobots.com/wiki/EtherWind_Configuration) From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com ] On Behalf Of Amit Chaudhari Sent: Thursday, June 09, 2011 6:11 PM To: ariausers Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. Hi Everyone, I am trying to connect the amigo robot to the laptop using the on board wireless card. I need to create a peer to peer connection in order to connect it. Can anyone help me to create a peer to peer connection with the IP-address on the robot using the wireless connection. I am going to connect to the Amigo robot using its wireless card on my laptop. So I want to get that robot in my Ad Hoc network. Could anyone please reply me with any suggestion. Many Thanks in Advance, Amit Chaudhari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110622/a35df296/attachment.html From jay.iiit at gmail.com Thu Jun 23 15:40:30 2011 From: jay.iiit at gmail.com (Mrityunjay) Date: Thu, 23 Jun 2011 15:40:30 -0400 Subject: [Aria-users] P3DX Encoder and Gyro calibration Message-ID: Hello, We are trying to calibrate our Pioneer P3DX for a simple task (?) of navigating the robot in a straight line on carpeted corridor by giving set of (x,y, th) poses.Sonar readings are quite unreliable (may be because of Carpets, wooden walls, etc) and can not be used for sonar based localization, though they are being used for simple obstacle detection. So to calibrate the encoders we followed the instructions given in the manual and after changing the params (as given below) found robot is quite accurate (1001/1000 mm, 89.9/90 deg) in terms of transnational motion and rotational motion - DriftFactor = 5 RevCount = 19000 HasGyro = 0 Although the robot was not moving in straight line even after changing the above params, may be because the HasGyro was set to 0. So then we changed the HasGyro to 1 and robot messes up the rotational motion and over does the rotation (137 for 90 degree), similar things happen when the HasGyro is set to 2. So regarding this I have following questions - 1. Can you shortly explain the function of following calibration parameters (how does increasing and decreasing these params affects robot's motion) - driftFactor, revCount, ticksMM, gyroCW and gyroCCW. 2. What does the different values of HasGyro mean, which mode is recommended to use for our application scenario. 3. Difference between th (ArRobot::getTh( )), robot_th and gyro_th. 4. Is there any recommended method to use while navigating the robot in long (30-40m) corridors (1.75m wide). Thanks, Mrityunjay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110623/944742ed/attachment.html From urmish24 at gmail.com Fri Jun 24 06:04:08 2011 From: urmish24 at gmail.com (URMISH THAKKER) Date: Fri, 24 Jun 2011 15:34:08 +0530 Subject: [Aria-users] Aria-users Digest, Vol 38, Issue 5 In-Reply-To: References: Message-ID: Hi, I was trying to use the serial port (AUX1) of amigo robot to test out the auxSerialPort example. However as soon as the robot starts itsends garbage values out of its com port. I am using a usb to rs232 converter to communicate with the robot. Moreover the values that i send through the USB port to amigo are rejected as the correct packet ID is not identified.Please help asap. I am trying to attach zigbee nodes to the amigo bots in order to try and simulate a constrained communication problem for multi agent robotic systems in a small room. Thanks, Urmish -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/6918bca0/attachment.html From urmish24 at gmail.com Fri Jun 24 06:05:10 2011 From: urmish24 at gmail.com (URMISH THAKKER) Date: Fri, 24 Jun 2011 15:35:10 +0530 Subject: [Aria-users] Serial Communication Help Message-ID: Hi, I was trying to use the serial port (AUX1) of amigo robot to test out the auxSerialPort example. However as soon as the robot starts itsends garbage values out of its com port. I am using a usb to rs232 converter to communicate with the robot. Moreover the values that i send through the USB port to amigo are rejected as the correct packet ID is not identified.Please help asap. I am trying to attach zigbee nodes to the amigo bots in order to try and simulate a constrained communication problem for multi agent robotic systems in a small room. Thanks, Urmish -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/3b0db4bf/attachment.html From Reed.Hedges at Adept.com Fri Jun 24 09:36:26 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 24 Jun 2011 06:36:26 -0700 Subject: [Aria-users] Serial Communication Help In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868C5@SRV-APP-6.adept.local> Hi Urmish, Just to confirm, are you connecting your device to the HOST port or the microcontroller AUX1 port (J8 pins 1. 3 and 5)? The HOST port is for control of the robot from ARIA. (Do you know if your Amigo is an SH or H8 microcontroller? If purchased within the past several years it will be an SH running the "AmigOSH" firmware. You can send its serial number if you want me to look it up in our records.) What happens when you run auxSerialExample? Can you provide the exact error messages about the packet IDs? To use auxSerialExample, connect AUX1 to another computer and run Hyperterminal on it in Windows (use minicom or Kermit in Linux). Configure it for 9600 baud 8 data bits, 1 top bit, no parity and NO flow control. Then auxSerialExample, after connecting to the robot, should print out whatever you type in HyperTerminal. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of URMISH THAKKER Sent: Friday, June 24, 2011 6:05 AM To: ariausers Subject: [Aria-users] Serial Communication Help Hi, I was trying to use the serial port (AUX1) of amigo robot to test out the auxSerialPort example. However as soon as the robot starts itsends garbage values out of its com port. I am using a usb to rs232 converter to communicate with the robot. Moreover the values that i send through the USB port to amigo are rejected as the correct packet ID is not identified.Please help asap. I am trying to attach zigbee nodes to the amigo bots in order to try and simulate a constrained communication problem for multi agent robotic systems in a small room. Thanks, Urmish -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 11475 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/6cbfc3ff/attachment-0001.bin From Reed.Hedges at Adept.com Fri Jun 24 09:45:48 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 24 Jun 2011 06:45:48 -0700 Subject: [Aria-users] P3DX Encoder and Gyro calibration In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868CB@SRV-APP-6.adept.local> The Gyro is an optional component, so you should check whether you have it (look at the robot's documentation, check for the small gyro board in the robot, or send its serial number and I'll look it up.) Normally the gyro doesn't need much calibration but we check it when assembling it and set if it needed. gyrCW and gyroCCW are the parameters for gyro calibration. The process is sort of similar to the encoders - rotate the robot without turning the wheels (e.g. put it on a turntable or hold it up off the ground) and check reported rotation vs. externally measured. I recommend using HasGyro 2 if you want to use the gyro, it's simpler. If your robot doesn't have the gyro, you must use HasGyro 0, otherwise the robot has meaningless input from the nonexistent gyro :) Also is a good idea to take a quick look at the condition of the tires and wheels every once in a while and make sure they're even and straight, if the robot is an older one or has been shipped or moved around a lot. What error do you get in your corridor for straight translation? You are right that sonar is very sensitive to interactions with the environment. We had pretty good results in rooms of our offices that had synthetic tile or low/thin/dense commercial carpet and plain painted walls (not sound absorbing cloth) if the walls and other furniture with simple flat surfaces were generally close enough for the robot to see a few features (such as doors and corners) - within 10 m. So if your hallway is similar and has some large features such as open doors or cabinets then it might work OK, especially to keep the robot in the center of the hall and not drift to the side-there may be a bit more error along the axis of the hall (though large features on the sides will help correct that as it passes them). Reed From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Mrityunjay Sent: Thursday, June 23, 2011 3:41 PM To: ariausers Cc: tgaaly at gmail.com Subject: [Aria-users] P3DX Encoder and Gyro calibration Hello, We are trying to calibrate our Pioneer P3DX for a simple task (?) of navigating the robot in a straight line on carpeted corridor by giving set of (x,y, th) poses.Sonar readings are quite unreliable (may be because of Carpets, wooden walls, etc) and can not be used for sonar based localization, though they are being used for simple obstacle detection. So to calibrate the encoders we followed the instructions given in the manual and after changing the params (as given below) found robot is quite accurate (1001/1000 mm, 89.9/90 deg) in terms of transnational motion and rotational motion - DriftFactor = 5 RevCount = 19000 HasGyro = 0 Although the robot was not moving in straight line even after changing the above params, may be because the HasGyro was set to 0. So then we changed the HasGyro to 1 and robot messes up the rotational motion and over does the rotation (137 for 90 degree), similar things happen when the HasGyro is set to 2. So regarding this I have following questions - 1. Can you shortly explain the function of following calibration parameters (how does increasing and decreasing these params affects robot's motion) - driftFactor, revCount, ticksMM, gyroCW and gyroCCW. 2. What does the different values of HasGyro mean, which mode is recommended to use for our application scenario. 3. Difference between th (ArRobot::getTh( )), robot_th and gyro_th. 4. Is there any recommended method to use while navigating the robot in long (30-40m) corridors (1.75m wide). Thanks, Mrityunjay -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 14895 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/254139c5/attachment.bin From Reed.Hedges at Adept.com Fri Jun 24 09:46:38 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 24 Jun 2011 06:46:38 -0700 Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868CC@SRV-APP-6.adept.local> If it's not too urgent I'll try to go through the process sometime today or next week of setting up an ad hoc network with a laptop and document more details of doing it and add a step by step instructions to the wiki page. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Amit Chaudhari Sent: Wednesday, June 22, 2011 7:23 PM To: ariausers Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. I tried going through all the manuals that came with the robot and also the link provided. But the problem I am getting is the robot wireless card is already configured I guess but just I am not able to get it into Wireless LAN. I have got the IP setup already on the wireless card and have already checked with the manual options. Still not working. It would really help if some one has already tried to connect the robots using the wireless connectivity on the robot. ________________________________ Hi Amit, If it is a WiBox serial-ethernet interface you can configure it through its serial port. See http://robots.mobilerobots.com/wiki/Lantronix_WiBox_ethernet-serial_bridge . (If you have the older black one instead, it's here: http://robots.mobilerobots.com/wiki/EtherWind_Configuration) From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Amit Chaudhari Sent: Thursday, June 09, 2011 6:11 PM To: ariausers Subject: [Aria-users] Help needed to Connect Amigo robot to laptop using wireless connection. Hi Everyone, I am trying to connect the amigo robot to the laptop using the on board wireless card. I need to create a peer to peer connection in order to connect it. Can anyone help me to create a peer to peer connection with the IP-address on the robot using the wireless connection. I am going to connect to the Amigo robot using its wireless card on my laptop. So I want to get that robot in my Ad Hoc network. Could anyone please reply me with any suggestion. Many Thanks in Advance, Amit Chaudhari -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 12569 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/8deecf64/attachment-0001.bin From Reed.Hedges at Adept.com Fri Jun 24 09:47:06 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 24 Jun 2011 06:47:06 -0700 Subject: [Aria-users] Regarding ArSphinx In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868CD@SRV-APP-6.adept.local> Have you had any luck with this or found a solution? I can try to look at it later today or next week if that is OK. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of ARICC SP Sent: Friday, June 17, 2011 1:23 AM To: aria-users Subject: [Aria-users] Regarding ArSphinx Hi, I'm doing a set of trial run of speech recognition using ArSphinx. I have a dic file that contains a set of words so i decide to call and separate them into different language models (start.lm & yesno.lm) for higher hit rate for correct word detection. test.dic contains: start,stop,yes,no yesno.lm contains: yes, no start.lm contains: start,stop Declaration in main: char* dicFile = "test.dic"; char* lmFile = "start.lm"; char* lmFile = "yesno.lm"; recog = new ArSphinx(dicFile, true); recog->addLm(lmFile, lmFile); recog->addLm(lmFile1, lmFile1); recog->setLm(lmFile); I have defined "recog->setLm(lmFile1)" into Start command (speech). The debug program had shown "ArSphinx: uttproc_set_lm called with "yesno'. " when START command is triggered. I was still unable to trigger the 'yes' and 'no' speech commands which is defined as if else statement in the START Command. How do I solve this problem? Thanks! Regards, aricc.sp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/daaf6065/attachment.html From jay.iiit at gmail.com Fri Jun 24 10:42:58 2011 From: jay.iiit at gmail.com (Mrityunjay) Date: Fri, 24 Jun 2011 10:42:58 -0400 Subject: [Aria-users] P3DX Encoder and Gyro calibration In-Reply-To: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868CB@SRV-APP-6.adept.local> References: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF4868CB@SRV-APP-6.adept.local> Message-ID: Specifications of the corridor - Width = 1.75m Wooden walls, with mostly open areas. Thin commercial carpet. We start the robot at the center of the hallway (almost 0.85m from one side) and with a command to move forward (10m) the robot touches the left wall at the distance of 5-6m. I checked with the spirit leveler and it seems the floor of the hallway is pretty flat. Can you please explain encoder calibration parameters and how do they effect the robot's motion, driftFactor, revCount, ticksMM ? Also explain the HasGyro mode 1 and how is it different from mode 2. Thanks, Mrityunjay On Fri, Jun 24, 2011 at 9:45 AM, Reed Hedges wrote: > > The Gyro is an optional component, so you should check whether you have it > (look at the robot's documentation, check for the small gyro board in the > robot, or send its serial number and I'll look it up.) Normally the gyro > doesn't need much calibration but we check it when assembling it and set if > it needed. gyrCW and gyroCCW are the parameters for gyro calibration. The > process is sort of similar to the encoders - rotate the robot without > turning the wheels (e.g. put it on a turntable or hold it up off the ground) > and check reported rotation vs. externally measured. I recommend using > HasGyro 2 if you want to use the gyro, it's simpler. If your robot doesn't > have the gyro, you must use HasGyro 0, otherwise the robot has meaningless > input from the nonexistent gyro :) > > Also is a good idea to take a quick look at the condition of the tires and > wheels every once in a while and make sure they're even and straight, if the > robot is an older one or has been shipped or moved around a lot. > > What error do you get in your corridor for straight translation? > > You are right that sonar is very sensitive to interactions with the > environment. We had pretty good results in rooms of our offices that had > synthetic tile or low/thin/dense commercial carpet and plain painted walls > (not sound absorbing cloth) if the walls and other furniture with simple > flat surfaces were generally close enough for the robot to see a few > features (such as doors and corners) - within 10 m. So if your hallway > is similar and has some large features such as open doors or cabinets then > it might work OK, especially to keep the robot in the center of the hall and > not drift to the side-there may be a bit more error along the axis of the > hall (though large features on the sides will help correct that as it passes > them). > > Reed > > > > > From: aria-users-bounces at lists.mobilerobots.com [mailto: > aria-users-bounces at lists.mobilerobots.com] On Behalf Of Mrityunjay > Sent: Thursday, June 23, 2011 3:41 PM > To: ariausers > Cc: tgaaly at gmail.com > Subject: [Aria-users] P3DX Encoder and Gyro calibration > > Hello, > We are trying to calibrate our Pioneer P3DX for a simple task (?) of > navigating the robot in a straight line on carpeted corridor by giving set > of (x,y, th) poses.Sonar readings are quite unreliable (may be because of > Carpets, wooden walls, etc) and can not be used for sonar based > localization, though they are being used for simple obstacle detection. > > So to calibrate the encoders we followed the instructions given in the > manual and after changing the params (as given below) found robot is quite > accurate (1001/1000 mm, 89.9/90 deg) in terms of transnational motion and > rotational motion - > DriftFactor = 5 > RevCount = 19000 > HasGyro = 0 > > Although the robot was not moving in straight line even after changing the > above params, may be because the HasGyro was set to 0. > So then we changed the HasGyro to 1 and robot messes up the rotational > motion and over does the rotation (137 for 90 degree), similar things happen > when the HasGyro is set to 2. > > So regarding this I have following questions - > 1. Can you shortly explain the function of following calibration parameters > (how does increasing and decreasing these params affects robot's motion) - > driftFactor, revCount, ticksMM, gyroCW and gyroCCW. > 2. What does the different values of HasGyro mean, which mode is > recommended to use for our application scenario. > 3. Difference between th (ArRobot::getTh( )), robot_th and gyro_th. > 4. Is there any recommended method to use while navigating the robot in > long (30-40m) corridors (1.75m wide). > > > Thanks, > Mrityunjay > > > > > _______________________________________________ > 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 > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/0631b710/attachment.html From urmish24 at gmail.com Fri Jun 24 11:59:52 2011 From: urmish24 at gmail.com (URMISH THAKKER) Date: Fri, 24 Jun 2011 21:29:52 +0530 Subject: [Aria-users] Serial Communication Help Message-ID: Hi, the serial number of the Amigo robot is AB11100495. Yes I have set the baud rate to 9600,1 stop bit,no parity or flow control. The program is not giving any error....just that..as soon as I connect the RS232 to USB cable to computer and the program starts running...the terminal starts receiving garbage values....sometimes j ,w and most of the times \0xff\ \0xaf\ and values like that even though I am not sending the values.... next i wrote a printf statement in the if condition that checks for packet ID....and I realised that even though I am entering something at hyperterminal...the amigo robot is rejecting the package( not identifying the correct Packet ID) ...... Then i randomly ran the demo.cpp and noticed that the amigo robot is still throwing these garbage values to the terminal!!! Between, thanks for the quick reply. Urmish. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/a1463e39/attachment.html From Reed.Hedges at Adept.com Fri Jun 24 12:06:37 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 24 Jun 2011 09:06:37 -0700 Subject: [Aria-users] Serial Communication Help In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02DF48693E@SRV-APP-6.adept.local> I'm not sure where the garbage values are coming from, but note that in ARIA all packet handlers are given a chance to accept any packet. So the packet handler in auxSerialExample will be called for other kinds of robot packets (e.g. SIP) but will skip them. The check at the beginning for 0xb0 is to specifically handle the aux serial packets. What do you see if you cancel any programs that might be connected to the Amigobot, hit the reset button, and then connect your USB-RS232 converter and run Hyperterminal? Some programs may try to control a camera or other device through the aux serial device (though demo only tries connecting to a camera if you enter camera mode, so normally it wouldn't do anything .) From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of URMISH THAKKER Sent: Friday, June 24, 2011 12:00 PM To: ariausers Subject: [Aria-users] Serial Communication Help Hi, the serial number of the Amigo robot is AB11100495. Yes I have set the baud rate to 9600,1 stop bit,no parity or flow control. The program is not giving any error....just that..as soon as I connect the RS232 to USB cable to computer and the program starts running...the terminal starts receiving garbage values....sometimes j ,w and most of the times \0xff\ \0xaf\ and values like that even though I am not sending the values.... next i wrote a printf statement in the if condition that checks for packet ID....and I realised that even though I am entering something at hyperterminal...the amigo robot is rejecting the package( not identifying the correct Packet ID) ...... Then i randomly ran the demo.cpp and noticed that the amigo robot is still throwing these garbage values to the terminal!!! Between, thanks for the quick reply. Urmish. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 11139 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110624/1802fec4/attachment-0001.bin From tgaaly at gmail.com Mon Jun 27 18:29:48 2011 From: tgaaly at gmail.com (Tarek El-Gaaly) Date: Mon, 27 Jun 2011 18:29:48 -0400 Subject: [Aria-users] Pioneer not responding Message-ID: Hi, I have a Pioneer 3dx robot. The following problem started happening today: When I attempt to connect using ARCOS or the demo under Aria the robot does not respond and continues to beep steadily. I get no error message when running ARCOS but with demo.exe the following error is displayed: ArCondition::broadcast:: Unknown error while trying to broadcast the condition. The funny thing is that when i turn it on its right side, the robot accepts the connection and everything works fine. Does anyone know what could be causing this? -- Best Regards, Tarek El-Gaaly, M.S. PhD Student, Rutgers University :):):):):):)::):):):):):)::):):):):):)::):):):):):) http://www.cs.rutgers.edu/~tgaaly :):):):):):)::):):):):):)::):):):):):)::):):):):):) Personal Blog: http://www.tgaaly.blogspot.com :):):):):):)::):):):):):)::):):):):):)::):):):):):) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110627/36383d11/attachment.html From Zeb.Dahl at Adept.com Tue Jun 28 10:28:22 2011 From: Zeb.Dahl at Adept.com (Zeb Dahl) Date: Tue, 28 Jun 2011 07:28:22 -0700 Subject: [Aria-users] Pioneer not responding In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02E220766E@SRV-APP-6.adept.local> Hello, I have a couple of tests which should help figure out what is happening. Try connecting the charger to the robot and see if the problem improves if the system voltage is higher. Try putting the controller into maintenance mode by holding down the white MOTORS button while resetting or turning on the robot and see if ARCOScf will connect and operate properly that way. If it connects, try saving and see if that works. If you have not done so, try using a different serial port to connect to the robot. Some serial ports (especially USB) tend to have more problems than others. If turning it on its side helps, the only thing I can think of that would explain that is that the batteries are making better contact, increasing the voltage of the system. When you run demo, is the error you mention the only thing that prints out, or do you get the "Synching" messages as well? Does it connect to the robot at all? If you can send us the complete output from demo, that might help as well. Best, Zeb Dahl Research Robot Support Adept MobileRobots support at mobilerobots.com From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Tarek El-Gaaly Sent: Monday, June 27, 2011 6:30 PM To: ariausers Subject: [Aria-users] Pioneer not responding Hi, I have a Pioneer 3dx robot. The following problem started happening today: When I attempt to connect using ARCOS or the demo under Aria the robot does not respond and continues to beep steadily. I get no error message when running ARCOS but with demo.exe the following error is displayed: ArCondition::broadcast:: Unknown error while trying to broadcast the condition. The funny thing is that when i turn it on its right side, the robot accepts the connection and everything works fine. Does anyone know what could be causing this? -- Best Regards, Tarek El-Gaaly, M.S. PhD Student, Rutgers University :):):):):):)::):):):):):)::):):):):):)::):):):):):) http://www.cs.rutgers.edu/~tgaaly :):):):):):)::):):):):):)::):):):):):)::):):):):):) Personal Blog: http://www.tgaaly.blogspot.com :):):):):):)::):):):):):)::):):):):):)::):):):):):) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110628/43103457/attachment.html From tgaaly at gmail.com Wed Jun 29 15:19:56 2011 From: tgaaly at gmail.com (Tarek El-Gaaly) Date: Wed, 29 Jun 2011 15:19:56 -0400 Subject: [Aria-users] Pioneer not responding In-Reply-To: References: <38B0EB303E4E804F8A93B5CFA8FFF15F02E220766E@SRV-APP-6.adept.local> Message-ID: Thank you for your swift reply. We plugged the charger into the robot and it started working fine. It just needed some juice, that was all. I should have thought of this sooner. Sorry. On Tue, Jun 28, 2011 at 12:13 PM, Mrityunjay wrote: > > > ---------- Forwarded message ---------- > From: Zeb Dahl > Date: Tue, Jun 28, 2011 at 10:28 AM > Subject: Re: [Aria-users] Pioneer not responding > To: ariausers > > > Hello,**** > > I have a couple of tests which should help figure out what is happening. > **** > > Try connecting the charger to the robot and see if the problem improves > if the system voltage is higher.**** > > Try putting the controller into maintenance mode by holding down the > white MOTORS button while resetting or turning on the robot and see if > ARCOScf will connect and operate properly that way. If it connects, try > saving and see if that works.**** > > If you have not done so, try using a different serial port to connect to > the robot. Some serial ports (especially USB) tend to have more problems > than others.**** > > ** ** > > If turning it on its side helps, the only thing I can think of that would > explain that is that the batteries are making better contact, increasing the > voltage of the system.**** > > ** ** > > When you run demo, is the error you mention the only thing that prints > out, or do you get the ?Synching? messages as well? Does it connect to the > robot at all? If you can send us the complete output from demo, that might > help as well. Best,**** > > ** ** > > Zeb Dahl**** > > Research Robot Support**** > > Adept MobileRobots**** > > support at mobilerobots.com**** > > ** ** > > *From:* aria-users-bounces at lists.mobilerobots.com [mailto: > aria-users-bounces at lists.mobilerobots.com] *On Behalf Of *Tarek El-Gaaly > *Sent:* Monday, June 27, 2011 6:30 PM > *To:* ariausers > *Subject:* [Aria-users] Pioneer not responding**** > > ** ** > > Hi,**** > > ** ** > > I have a Pioneer 3dx robot. The following problem started happening today: > **** > > When I attempt to connect using ARCOS or the demo under Aria the robot does > not respond and continues to beep steadily.**** > > I get no error message when running ARCOS but with demo.exe the following > error is displayed: ArCondition::broadcast:: Unknown error while trying to > broadcast the condition.**** > > ** ** > > The funny thing is that when i turn it on its right side, the robot accepts > the connection and everything works fine.**** > > ** ** > > Does anyone know what could be causing this? > > -- **** > > Best Regards, > > Tarek El-Gaaly, M.S. > PhD Student, Rutgers University > > :):):):):):)::):):):):):)::):):):):):)::):):):):):) > http://www.cs.rutgers.edu/~tgaaly > :):):):):):)::):):):):):)::):):):):):)::):):):):):) > Personal Blog: > http://www.tgaaly.blogspot.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 > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. > > Mailing list archives are at http://lists.mobilerobots.com/ > > > -- Best Regards, Tarek El-Gaaly, M.S. PhD Student, Rutgers University :):):):):):)::):):):):):)::):):):):):)::):):):):):) http://www.cs.rutgers.edu/~tgaaly :):):):):):)::):):):):):)::):):):):):)::):):):):):) Personal Blog: http://www.tgaaly.blogspot.com :):):):):):)::):):):):):)::):):):):):)::):):):):):) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110629/e72d3db6/attachment-0001.html From ladan.sahafi at adelaide.edu.au Wed Jun 29 23:04:45 2011 From: ladan.sahafi at adelaide.edu.au (Ladan Sahafi) Date: Thu, 30 Jun 2011 12:34:45 +0930 Subject: [Aria-users] SETA doesn't work Message-ID: <4E0BE7CD.7020501@adelaide.edu.au> Hi everyone, I use "move" command for the robot to move both in direct commanding and using Actions. I try to set acceleration using SETA command in direct commanding and using setTransAccel and setAbsoluteMaxTransAccel in Actions. Doesn't work. I also change the FLASH parameters of acceleration controlling. No matter what I do, the acceleration before the robot get to the defined velocity is something between 225 to 250 which is not what I had defined. Any help is appreciated. Cheers, Ladan From wardamo.zero at gmail.com Thu Jun 30 14:23:06 2011 From: wardamo.zero at gmail.com (Damian Abalo) Date: Thu, 30 Jun 2011 20:23:06 +0200 Subject: [Aria-users] Hello, and Help Message-ID: Hello, I am new to this list, and I have a small problem using ARIA, I hope someone can help me. In my program, I run many different threads, and the behaviours I have set to the robot is GoTo and Recovery. I give orders to the GoTo behavior changing the target from other thread, and the problem is that I absolutely need a way to detect programatically when the recovery action is activated (otherwise my path planning algorithm gets lost) I have tryed using a watchdog thread, cheching for the isActive function, but it always returns true, no matter is the recovery action is active or not. Then I tryed to redefine the ArActionStallRecover as in the examples, but it is still useless, since my own fire action is constantly called, and it is in the StallRecovery fire, which I invoque from my fire, where it decides whether it should activate the recovery or not. Any ideas? Thanks for your help. Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110630/9a5c6c07/attachment.html From Reed.Hedges at Adept.com Thu Jun 30 15:54:14 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Thu, 30 Jun 2011 12:54:14 -0700 Subject: [Aria-users] [Pioneer-users] SETA doesn't work In-Reply-To: <4E0BE7CD.7020501@adelaide.edu.au> References: <4E0BE7CD.7020501@adelaide.edu.au> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED656873@SRV-APP-6.adept.local> Hello, what kind of robot is it? Do you know which firmware it is running (name and version)? > -----Original Message----- > From: pioneer-users-bounces at lists.mobilerobots.com [mailto:pioneer- > users-bounces at lists.mobilerobots.com] On Behalf Of Ladan Sahafi > Sent: Wednesday, June 29, 2011 11:05 PM > To: pioneer-users; aria-users > Subject: [Pioneer-users] SETA doesn't work > > Hi everyone, > I use "move" command for the robot to move both in direct commanding > and > using Actions. I try to set acceleration using SETA command in direct > commanding and using setTransAccel and setAbsoluteMaxTransAccel in > Actions. Doesn't work. I also change the FLASH parameters of > acceleration controlling. No matter what I do, the acceleration before > the robot get to the defined velocity is something between 225 to 250 > which is not what I had defined. Any help is appreciated. > Cheers, > Ladan > _______________________________________________ > Pioneer-users mailing list > Pioneer-users at lists.mobilerobots.com > http://lists.mobilerobots.com/mailman/listinfo/pioneer-users > > To unsubscribe visit the above webpage or send an e-mail to: > > pioneer-users-leave at lists.mobilerobots.com > > > Visit http://robots.mobilerobots.com for information including > documentation, FAQ, tips, manuals, and software, firmware and driver > downloads. From Reed.Hedges at Adept.com Thu Jun 30 15:56:55 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Thu, 30 Jun 2011 12:56:55 -0700 Subject: [Aria-users] Hello, and Help In-Reply-To: References: Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED656876@SRV-APP-6.adept.local> Hello, Are GoTo and Recovery separate ArAction subclasses? In a subclass of ArAction you can override the activate() and deactivate() methods (don't forget to also call ArAction::activate() and ArAction::deactivate() from the overridden methods.) If you want to monitor some event from another thread, there is a general purpose tool called ArCondition, this is a condition variable implementation. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Damian Abalo Sent: Thursday, June 30, 2011 2:23 PM To: ariausers Subject: [Aria-users] Hello, and Help Hello, I am new to this list, and I have a small problem using ARIA, I hope someone can help me. In my program, I run many different threads, and the behaviours I have set to the robot is GoTo and Recovery. I give orders to the GoTo behavior changing the target from other thread, and the problem is that I absolutely need a way to detect programatically when the recovery action is activated (otherwise my path planning algorithm gets lost) I have tryed using a watchdog thread, cheching for the isActive function, but it always returns true, no matter is the recovery action is active or not. Then I tryed to redefine the ArActionStallRecover as in the examples, but it is still useless, since my own fire action is constantly called, and it is in the StallRecovery fire, which I invoque from my fire, where it decides whether it should activate the recovery or not. Any ideas? Thanks for your help. Best regards -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 7661 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110630/178d0ce5/attachment.bin