From kram at fordham.edu Wed Jul 1 12:25:27 2009 From: kram at fordham.edu (kram at fordham.edu) Date: Wed, 1 Jul 2009 12:25:27 -0400 (EDT) Subject: [Aria-users] CONNECTING MULTIPLE ROBOTS TO MOBILEEYES Message-ID: <20090701122527.ACF42393@fire-ms02.fire.fordham.edu> Hello, I am trying to connect multiple bots to MobileEyes. Can you start multi-bots via MobileEyes? If yes, where shall I start? Thank you, Raymond Kram M.Sc. Student Departmental Representative, Graduate Student Association Dept. of Computer and Information Sciences Fordham University (212) 920-4612 From reed at mobilerobots.com Wed Jul 1 17:01:35 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Wed, 01 Jul 2009 17:01:35 -0400 Subject: [Aria-users] CONNECTING MULTIPLE ROBOTS TO MOBILEEYES In-Reply-To: <20090701122527.ACF42393@fire-ms02.fire.fordham.edu> References: <20090701122527.ACF42393@fire-ms02.fire.fordham.edu> Message-ID: <4A4BCEAF.7070805@mobilerobots.com> Yes, MobileEyes can connect to multiple servers. Just list them in the Server box. For example, if the robots have network names robot1, robot2, robot3, then enter this into the box: robot1,robot2,robot3 MobileEyes also contains support for a proxy "central server". ARNL comes with some tools you could use to create your own such central server. kram at fordham.edu wrote: > Hello, > > I am trying to connect multiple bots to MobileEyes. > Can you start multi-bots via MobileEyes? > If yes, where shall I start? > > Thank you, > Raymond Kram > M.Sc. Student > Departmental Representative, > Graduate Student Association > Dept. of Computer and Information Sciences > Fordham University > (212) 920-4612 > From reed at mobilerobots.com Wed Jul 1 17:05:24 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Wed, 01 Jul 2009 17:05:24 -0400 Subject: [Aria-users] wireless-serial device connection error In-Reply-To: <796405.52274.qm@web95404.mail.in2.yahoo.com> References: <796405.52274.qm@web95404.mail.in2.yahoo.com> Message-ID: <4A4BCF94.8070007@mobilerobots.com> Hello, Nothing in the code you posted stands out at me as a possible cause of that crash. You can run it in the debugger and see the call stack at the crash. Build in Debug mode. What does the program print in the console window as it runs? Also, we recommend using Visual C++ 7.1 (2003) or 9 (2008). VC 6's C++ support is incomplete or problematic and there were general compiler bugs that were fixed in later versions. Reed Ranjit Ray wrote: > Hi, > I am trying to connect through wireless-serial device from our own > program as follows: > // Initialize Aria > Aria::init(Aria::SIGHANDLE_THREAD); > > // add the sonar to the robot > robot.addRangeDevice(&sonar); > // find range device sonar > if(robot.findRangeDevice("sonar")==NULL) > { > Msg("Could not find sonars"); > return; > } > // default tcp connection > tcpConn.setPort("192.168.1.11",8101); > // see if we can get to the simulator (true is success) > if(tcpConn.openSimple()) > { robot.setDeviceConnection(&tcpConn);Msg("Robot connected");} > // try to connect, if we fail exit > if (!robot.blockingConnect()) > { > Msg("Could not connect to robot... exiting"); > Aria::shutdown(); > return; > } > // enable the motors, disable amigobot sounds > robot.comInt(ArCommands::ENABLE, 1); > > // run the robot, true here so that the run will exit if connection lost > robot.runAsync(TRUE); > ================================= > The connection is fine but at the same time I am getting some MFC error > (VC++6.0). I am attaching the error whatever I got while debugging the > code. Please reply. > > Ranjit Ray > Robotics & Automation Division > Central Mechanical Engineering Research Institute > Mahatma Gandhi Avenue, Durgapur-713209 > West Bengal,India > > > ------------------------------------------------------------------------ > Love Cricket? Check out live scores, photos, video highlights and more. > Click here > . > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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. From imperatore at ymail.com Fri Jul 3 11:24:18 2009 From: imperatore at ymail.com (Alexandre Ribeiro) Date: Fri, 3 Jul 2009 12:24:18 -0300 Subject: [Aria-users] Limiters in asynchronous tasks Message-ID: <001b01c9fbf2$56fae370$6500cc0a@arie666105ae2c> I saw the teleopActionsExample.cpp and would like to implement the limiters on my application. The question is: can I use these limiters on asynchronous tasks? The example shows only how to implement it with a keyboard or joystick. Thanks, Imperatore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090703/7b5345f0/attachment-0001.html From reed at mobilerobots.com Mon Jul 6 09:13:47 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Mon, 06 Jul 2009 09:13:47 -0400 Subject: [Aria-users] Limiters in asynchronous tasks In-Reply-To: <001b01c9fbf2$56fae370$6500cc0a@arie666105ae2c> References: <001b01c9fbf2$56fae370$6500cc0a@arie666105ae2c> Message-ID: <4A51F88B.6010202@mobilerobots.com> Hi, Can you give more detail on what you mean by asynchronous tasks? Limiter ArAction objects can be used in any program which uses Actions to control a robot (rather than direct motion functions). Reed Alexandre Ribeiro wrote: > I saw the teleopActionsExample.cpp and would like to implement the > limiters on my application. > The question is: can I use these limiters on asynchronous tasks? > The example/ shows only how to implement it with a keyboard or joystick./ > // > /Thanks,/ > /Imperatore/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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. From msmith11 at ithaca.edu Fri Jul 10 10:20:07 2009 From: msmith11 at ithaca.edu (Madeline Smith) Date: Fri, 10 Jul 2009 10:20:07 -0400 Subject: [Aria-users] getRobotLength and related issues Message-ID: <4A574E17.6010702@ithaca.edu> An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090710/b522aaac/attachment.html From reed at mobilerobots.com Fri Jul 10 10:59:26 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Fri, 10 Jul 2009 10:59:26 -0400 Subject: [Aria-users] getRobotLength and related issues In-Reply-To: <4A574E17.6010702@ithaca.edu> References: <4A574E17.6010702@ithaca.edu> Message-ID: <4A57574E.6070800@mobilerobots.com> Hi Gina, I modified your program (see below) so I could run it. One error I noticed is: > printf("SubType2: %s\n", rst); rst is a std::string but printf's %s expects a char*, so use rst.c_str(). At what point in the program are you getting the robot length, etc. from ArRobot? Note you must get it after the robot connection has been made, not before. So if you want to use the robot length to set the variables StopDist, SlowDist, etc., you must set them after the robot connection, not at the start of main() as now. #include "Aria.h" #include using namespace std; int main(int argc, char **argv) { //local variables /* double StopDist = robotLength; double SlowDist = slowPercent * robotLength; double CriticalDist = criticalPercent * robotLength; double frontRange; */ //initialize & connect to robot Aria::init(); ArArgumentParser argParser(&argc, argv); argParser.loadDefaultArguments(); ArRobot robot; ArRobotConnector robotConnector(&argParser, &robot); //ArRobotParams Params; //show error if robot could not connect if(!robotConnector.connectRobot()) { ArLog::log(ArLog::Terse, "Could not connect to the robot."); if(argParser.checkHelpAndWarnUnparsed()) { // -help not given, just exit. Aria::logOptions(); Aria::exit(1); } } string rst = robot.getRobotType(); double len = robot.getRobotParams()->getRobotLength(); //string test = robot.myRobotSubType; // Gives a memory error. printf("Name2: %s\n", robot.getName()); printf("Type2: %s\n", robot.getRobotType()); printf("SubType2: %s\n", rst.c_str()); //<-- NOTE added .c_str() cout<<"SubType3:" << robot.getRobotParams()->getSubClassName()<<"\n\n"< References: <4A574E17.6010702@ithaca.edu> <4A57574E.6070800@mobilerobots.com> Message-ID: <4A575DFF.7020502@ithaca.edu> Thank you for responding so quickly! I switched the string to a char*, but I had intended to use string rst = robot.getRobotSubType(); rather than string rst = robot.getRobotType(); Unfortunately getRobotSubType is giving me a memory error. robot is the instance of ArRobot, and I moved the test code (all the gets and prints) down below robot.enableMotors() to make sure it had connected before trying to get the data. It still gives me all sorts of memory errors and null returns. - Gina Reed Hedges wrote: > Hi Gina, > > I modified your program (see below) so I could run it. One error I noticed is: > > > printf("SubType2: %s\n", rst); > > rst is a std::string but printf's %s expects a char*, so use rst.c_str(). > > At what point in the program are you getting the robot length, etc. from > ArRobot? Note you must get it after the robot connection has been made, not > before. So if you want to use the robot length to set the variables StopDist, > SlowDist, etc., you must set them after the robot connection, not at the start > of main() as now. > > > > > #include "Aria.h" > #include > using namespace std; > int main(int argc, char **argv) > { > //local variables > /* > double StopDist = robotLength; > double SlowDist = slowPercent * robotLength; > double CriticalDist = criticalPercent * robotLength; > double frontRange; > */ > > //initialize & connect to robot > Aria::init(); > ArArgumentParser argParser(&argc, argv); > argParser.loadDefaultArguments(); > ArRobot robot; > ArRobotConnector robotConnector(&argParser, &robot); > > //ArRobotParams Params; > > //show error if robot could not connect > if(!robotConnector.connectRobot()) > { > ArLog::log(ArLog::Terse, "Could not connect to the robot."); > if(argParser.checkHelpAndWarnUnparsed()) > { > // -help not given, just exit. > Aria::logOptions(); > Aria::exit(1); > } > } > > > string rst = robot.getRobotType(); > double len = robot.getRobotParams()->getRobotLength(); > //string test = robot.myRobotSubType; // Gives a memory error. > > printf("Name2: %s\n", robot.getName()); > printf("Type2: %s\n", robot.getRobotType()); > printf("SubType2: %s\n", rst.c_str()); //<-- NOTE added .c_str() > cout<<"SubType3:" << > robot.getRobotParams()->getSubClassName()<<"\n\n"< //printf("SubType4: %s\n", test); > std::cout << > "RobotLength: " << robot.getRobotLength() << std::endl << > "RobotWidth: " << robot.getRobotWidth() << std::endl << > "RobotRadius: " << robot.getRobotRadius() << std::endl ; > > //display information > puts("This is the REU2009 test file. At this point in time this\nprogram > does NOTHING!\n"); > > // Trigger argument parsing > if (!Aria::parseArgs() || !argParser.checkHelpAndWarnUnparsed()) > { > Aria::logOptions(); > Aria::exit(1); > } > > //add sonar > ArSonarDevice sonar; > robot.addRangeDevice(&sonar); > > //start running robot > robot.runAsync(true); > > // turn on the motors, turn off amigobot sounds > robot.enableMotors(); > robot.comInt(ArCommands::SOUNDTOG, 0); > > > /* INSERT CODE HERE */ > > //create actions > //ActionFrontLimiter limitFront("Front limiter", > StopDist,SlowDist,CriticalDist,maxVel); > //myJoyDrive joyDrive(maxVel,maxTurnVel); > //myKeyDrive KeyDrive(maxVel,maxTurnVel); > //Controller cont(StopDist,CriticalDist); > > //add actions to robot > //robot.addAction(&limitFront,80); > //robot.addAction(&joyDrive, 50); > //robot.addAction(&KeyDrive, 45); > //robot.addAction(&cont, 99); > > // wait for robot task loop to end before exiting the program > robot.waitForRunExit(); > Aria::exit(0); > > } > _______________________________________________ > 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. > From j.stopak at gmail.com Tue Jul 21 15:15:29 2009 From: j.stopak at gmail.com (Jack Stopak) Date: Tue, 21 Jul 2009 15:15:29 -0400 Subject: [Aria-users] Please help! Message-ID: <167aa7a10907211215h3b323d4dyf973e62390391aaf@mail.gmail.com> Hello Everyone! I'm working on a project that involves path planning in an unknown environment, and dead reckoning is my only means of localization. However I am having problems with error. I was just browsing through the MobileRobots website and saw that there was a NEW Inertial Correction system that could help correct errors involved with dead reckoning. Can this be incorporated on my already purchased Pioneer 3-AT? If so where can I obtain the software? Any answers would be greatly appreciated, Jack Stopak -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090721/47eee6fd/attachment.html From j.stopak at gmail.com Tue Jul 21 15:17:26 2009 From: j.stopak at gmail.com (Jack Stopak) Date: Tue, 21 Jul 2009 15:17:26 -0400 Subject: [Aria-users] Please Help! Message-ID: <167aa7a10907211217o42edb3feiee629aedff53b330@mail.gmail.com> Hello Everyone! I'm working on a project that involves path planning in an unknown environment, and dead reckoning is my only means of localization. However I am having problems with error. I was just browsing through the MobileRobots website and saw that there was a NEW Inertial Correction system that could help correct errors involved with dead reckoning. Can this be incorporated on my already purchased Pioneer 3-AT? If so where can I obtain the software? Any answers would be greatly appreciated, Jack Stopak -- Jack Stopak -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090721/3d41027e/attachment.html From reed at mobilerobots.com Wed Jul 22 16:33:15 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Wed, 22 Jul 2009 16:33:15 -0400 Subject: [Aria-users] broadcast communication among multiple robots In-Reply-To: <15384751.754771246327407114.JavaMail.coremail@bj163app126.163.com> References: <15384751.754771246327407114.JavaMail.coremail@bj163app126.163.com> Message-ID: <4A67778B.1050306@mobilerobots.com> Hello, ARIA does not provide any tools directly for broadcast per se; there are some classes in ARIA and ARNL that can be used to send robot positions either to specific other robots (peers), or to a separate managing or "central" server (see centralServerExample in ARNL examples), which a client can connect to as if it were connecting to a set of peer servers (this client can be in the same program as the robot server). See . Or you can use classes in ArNetworking or Aria (e.g. the simpler ArNetServer, or the basic ArSocket) to perform whatever kind of communications you want. Reed wangyuelil2 wrote: > Hello, > I have realized /multiple robots using mobilesim,thank you for your > help.But now i have another question.I want to realize broadcast > communication among multiple robots with time delay,What should I do?/ > /Could you give me some advise? I really appreciate it if there is > any similar source codes.Thank you for your help./ > > -- > ======================================================================== > Elise WANG > Harbin Engineering University > Address: Class 3 Master 07, College of Computer Science and > Technology,Harbin Engineering University,Harbin, Heilongjiang Province, > China > Public E-mail: wangyue at hrbeu.edu.cn > Private E-mail: wangyuelil2 at 163.com > Tel: +86-451-8254-5144 > Mobile:137-0484-8990 > ======================================================================== > > > ------------------------------------------------------------------------ > 200????,????,????? > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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. From reed at mobilerobots.com Wed Jul 22 16:36:22 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Wed, 22 Jul 2009 16:36:22 -0400 Subject: [Aria-users] Please help! In-Reply-To: <167aa7a10907211215h3b323d4dyf973e62390391aaf@mail.gmail.com> References: <167aa7a10907211215h3b323d4dyf973e62390391aaf@mail.gmail.com> Message-ID: <4A677846.90108@mobilerobots.com> Hi Jack, Jack Stopak wrote: > I'm working on a project that involves path planning in an unknown > environment, and dead reckoning is my only means of localization. > However I am having problems with error. I was just browsing through > the MobileRobots website and saw that there was a NEW Inertial > Correction system that could help correct errors involved with dead > reckoning. Can this be incorporated on my already purchased Pioneer > 3-AT? If so where can I obtain the software? Yes, you can add a Gyroscope or INS to the robot; the robot's firmware and Aria can automatically use it. (But it looks like you got in touch with support or sales already, right?) You can also tweak the calibration of the dead reckoning odometry a little bit, see the robot manual for details on that. Reed From wangshengjie2009 at live.cn Sat Jul 25 03:02:37 2009 From: wangshengjie2009 at live.cn (=?gb2312?B?zfXJ/b3c?=) Date: Sat, 25 Jul 2009 07:02:37 +0000 Subject: [Aria-users] omnidirectional camera Message-ID: Dear All, We've procured a Pioneer (P3-DX) along with the omnidirectional camera, the camera is produced by the RemoteReality company but we could not find useful information at the homepage of the company.We want to use it in calibrating, but we found that we know so little about the omnidiretional camera, so will anyone tell us something about the omnidiretional camera or the way to calibrate it? Thank you. _________________________________________________________________ ??????????????? http://www.microsoft.com/china/windows/windowslive/products/photos-share.aspx?tab=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090725/90e27cac/attachment.html From roboticsericcarter at gmail.com Mon Jul 27 08:34:58 2009 From: roboticsericcarter at gmail.com (Eric Carter) Date: Mon, 27 Jul 2009 15:34:58 +0300 Subject: [Aria-users] Aria- Java Wrapper Message-ID: <34ebd4740907270534l53a0caedv555867ff813c8a9@mail.gmail.com> Hello All, I have a question related to Aria-Java. Do you think that using Aria-Java to control robots would ruin the thread-safe property of Java programs ? I am thinking on including these wrapper libraries in a multi-agent architecture. Thanks in advance for any ideas Best Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090727/88473a37/attachment.html From ponbalu at canada.com Wed Jul 29 06:58:41 2009 From: ponbalu at canada.com (ponbalu at canada.com) Date: 29 Jul 2009 03:58:41 -0700 Subject: [Aria-users] How to Message-ID: <20090729105842.AF2C710E896D@lists.mobilerobots.com> An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090729/41d098d8/attachment.html From ponbalu at canada.com Wed Jul 29 20:28:59 2009 From: ponbalu at canada.com (ponbalu at canada.com) Date: 29 Jul 2009 17:28:59 -0700 Subject: [Aria-users] In linux how run examples Message-ID: <20090730002900.9F36110E896B@lists.mobilerobots.com> An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090729/8a55c858/attachment.html From semix2 at gmail.com Thu Jul 30 01:49:18 2009 From: semix2 at gmail.com (=?ks_c_5601-1987?B?sPu6sLv5?=) Date: Thu, 30 Jul 2009 14:49:18 +0900 Subject: [Aria-users] You can download Java Library for ArNetworking. Message-ID: <000401ca10d9$7cf1ced0$76d56c70$@com> Hi, there- I make a java library for ArNetworking. It?s pure java! You can download this library here, http://code.google.com/p/java-robot-api/ Sorry, there is no documentation. But you can see many examples in semix2.robot.example package. (If you have been using ArNetworking, It?s is very easy for using) Semix2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20090730/0142696b/attachment.html From reed at mobilerobots.com Fri Jul 31 10:49:33 2009 From: reed at mobilerobots.com (Reed Hedges) Date: Fri, 31 Jul 2009 10:49:33 -0400 Subject: [Aria-users] In linux how run examples In-Reply-To: <20090730002900.9F36110E896B@lists.mobilerobots.com> References: <20090730002900.9F36110E896B@lists.mobilerobots.com> Message-ID: <4A73047D.5000703@mobilerobots.com> Hello, What are the exact error messages? Aria's python directory (/usr/local/Aria/python) must be in your PYTHONPATH environment variable. Did you read Aria/pythonExamples/README.txt in addition to the other ARIA readmes? Similarly, when you run a Java program, Aria.jar must be in the Classpath. ponbalu at canada.com wrote: > Hi all, > I tried to get those examples(aria) run using python,java,c++ , > I couldn't get them up : > python show it cannot find... "Ariapy import", > similarly java showed some message ... > > I'm using linux(ubuntu), I read the read me files ,but I couldn't > understand how to make the python or g++ or the java to use the headers > or the object file to work ... > > Hope you know what i'm taking about, I'm novice PLEASE help me .... > > Thank you.. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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.