From awantha at ieee.org Tue Jul 5 13:46:32 2011 From: awantha at ieee.org (Awantha Jayasiri) Date: Tue, 5 Jul 2011 10:46:32 -0700 (PDT) Subject: [Aria-users] Connecting to the robot laser through ArTcpConnection Message-ID: <1309887992.91820.YahooMailRC@web120105.mail.ne1.yahoo.com> Hi friends, I am doing a multi robot research and I need to access the laser data of each robot. I can see that ArSimpleConnecter has a setup laser command that I can setup the laser. I am wondering how I can access the laser while using the ArTcpConnection since I am running them using a host computer and in a wireless network. Any help is greatly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110705/a911e7e0/attachment.html From awantha at ieee.org Tue Jul 5 15:05:44 2011 From: awantha at ieee.org (Awantha Jayasiri) Date: Tue, 5 Jul 2011 12:05:44 -0700 (PDT) Subject: [Aria-users] Connecting to the robot laser through ArTcpConnection Message-ID: <1309892744.27757.YahooMailRC@web120102.mail.ne1.yahoo.com> Hi friends, I am doing a multi robot research and I need to access the laser data of each robot. I can see that ArSimpleConnecter has a setup laser command that I can setup the laser. I am wondering how I can access the laser while using the ArTcpConnection since I am running them using a host computer and in a wireless network. Any help is greatly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110705/914f1a62/attachment-0001.html From awantha at ieee.org Thu Jul 7 12:50:37 2011 From: awantha at ieee.org (Awantha Jayasiri) Date: Thu, 7 Jul 2011 09:50:37 -0700 (PDT) Subject: [Aria-users] Connecting to the remort robots using ArSimpleConnector Message-ID: <1310057437.61485.YahooMailRC@web120109.mail.ne1.yahoo.com> Hi, I am doing a multi robot research using a host computer and I need to access the lasers of the robots. I tried ArSimpleConnector.parseArgs to parse the arguments. Two robots for the simulator are set with 8101 and 8102 ports and with "-rp1" and "-rp2". But it always generate error massages when I include in the parseArgs function. Could anybody tell me how do do that correctly and connect to the remote robots using arsimpleconnecter and use the lasers. Any help is highly appreciated. Thanks Awantha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110707/39a04b18/attachment.html From amit.r.chaudhari at gmail.com Thu Jul 7 17:04:02 2011 From: amit.r.chaudhari at gmail.com (Amit Chaudhari) Date: Thu, 7 Jul 2011 17:04:02 -0400 Subject: [Aria-users] Wireless communication help Message-ID: Hi, I am still not able to connect to the amigo robots using the wireless connection. I have tried all the options in the manual can anyone please give steps to do in connecting the amigo robot with my laptop using an wireless network. Thank You, Regards, Amit Chaudhari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110707/f6dec13e/attachment.html From Reed.Hedges at Adept.com Fri Jul 8 18:53:33 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Fri, 8 Jul 2011 15:53:33 -0700 Subject: [Aria-users] Connecting to the remort robots using ArSimpleConnector In-Reply-To: <1310057437.61485.YahooMailRC@web120109.mail.ne1.yahoo.com> References: <1310057437.61485.YahooMailRC@web120109.mail.ne1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED733C92@SRV-APP-6.adept.local> Hi Awantha, -rp is for serial ports. Use -rrtp for robot TCP ports. Let me know if that doesn't work Best, Reed -- Reed Hedges Research Support and Software Adept Technology Inc. - Mobile Robots reed.hedges at adept.com http://www.mobilerobots.com - http://www.adept.com For documentation and support, visit http://robots.mobilerobots.com ________________________________________ From: aria-users-bounces at lists.mobilerobots.com [aria-users-bounces at lists.mobilerobots.com] On Behalf Of Awantha Jayasiri [awantha at ieee.org] Sent: Thursday, July 07, 2011 12:50 PM To: ariausers Subject: [Aria-users] Connecting to the remort robots using ArSimpleConnector Hi, I am doing a multi robot research using a host computer and I need to access the lasers of the robots. I tried ArSimpleConnector.parseArgs to parse the arguments. Two robots for the simulator are set with 8101 and 8102 ports and with "-rp1" and "-rp2". But it always generate error massages when I include in the parseArgs function. Could anybody tell me how do do that correctly and connect to the remote robots using arsimpleconnecter and use the lasers. Any help is highly appreciated. Thanks Awantha -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3777 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110708/ef4bd2ae/attachment.bin From awantha at ieee.org Tue Jul 12 12:23:49 2011 From: awantha at ieee.org (Awantha Jayasiri) Date: Tue, 12 Jul 2011 09:23:49 -0700 (PDT) Subject: [Aria-users] Using laser module in wireless connection Message-ID: <1310487829.69548.YahooMailNeo@web120113.mail.ne1.yahoo.com> Hi all, I am doing multi robot control project and controlling several robots through ArTcpConnection using a host computer and a wireless network (robot onboard computer running? "ipthru").? This helps me to run the simulation in the host computer then run the same program using real robots with little modifications to "host names" and it works fine with sonar devices. However, I still could not figure out how can I connect to the Sick lasers and do the same, which means run the simulation with robots having sick lasers and do it in real-time as I can do with sonar devices. I guess this is because ArSick needs an extra connection to be made.? My questions are: 1. Can ArTcpConnection? connect both robot and laser such as ArSimpleConnection does ? 2. If so, how can I connect to both robot and laser using ArTcpConnection so that I can control both (same as when using ArSimpleConnector)? 3. Can the ArSimpleConnector work as a TCP connection? 4. If so, How can I configure the ArSimpleConnector so that I can connect the remote robots in a wireless network and also make use the laser modules using a command such as "ArSimpleConnector.setuplaser"? (each time when I try it generates an error.) Any help is highly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110712/2454ea7b/attachment.html From Reed.Hedges at Adept.com Tue Jul 12 14:52:07 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Tue, 12 Jul 2011 11:52:07 -0700 Subject: [Aria-users] Using laser module in wireless connection In-Reply-To: <1310487829.69548.YahooMailNeo@web120113.mail.ne1.yahoo.com> References: <1310487829.69548.YahooMailNeo@web120113.mail.ne1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED656FE3@SRV-APP-6.adept.local> You can use another instance of ipthru for the laser. The newer ArLaserConnector class can be configured easily for TCP connections, just use "tcp" as the connection type, and the IP address instead of a serial port device name. However you are going to encounter latency and other issues with the network. If this doesn't affect your system then it may be fine, if not you can run the programs on the onboard computer. If you are using Linux, note that you can build a statically linked version of a program using the Makefiles in examples, tests, etc. directories by adding a "Static" prefix to the target name. This makes it easier to transfer the binary to the onboard computer and run it there. For example, 'make demoStatic'. It will 'strip' the binary after building it. Reed From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Awantha Jayasiri Sent: Tuesday, July 12, 2011 12:24 PM To: ariausers Subject: [Aria-users] Using laser module in wireless connection Hi all, I am doing multi robot control project and controlling several robots through ArTcpConnection using a host computer and a wireless network (robot onboard computer running "ipthru"). This helps me to run the simulation in the host computer then run the same program using real robots with little modifications to "host names" and it works fine with sonar devices. However, I still could not figure out how can I connect to the Sick lasers and do the same, which means run the simulation with robots having sick lasers and do it in real-time as I can do with sonar devices. I guess this is because ArSick needs an extra connection to be made. My questions are: 1. Can ArTcpConnection connect both robot and laser such as ArSimpleConnection does ? 2. If so, how can I connect to both robot and laser using ArTcpConnection so that I can control both (same as when using ArSimpleConnector)? 3. Can the ArSimpleConnector work as a TCP connection? 4. If so, How can I configure the ArSimpleConnector so that I can connect the remote robots in a wireless network and also make use the laser modules using a command such as "ArSimpleConnector.setuplaser" (each time when I try it generates an error.) Any help is highly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 11399 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110712/010f498a/attachment-0001.bin From Reed.Hedges at Adept.com Wed Jul 13 10:27:55 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Wed, 13 Jul 2011 07:27:55 -0700 Subject: [Aria-users] Using laser module in wireless connection In-Reply-To: <1310507043.62431.YahooMailNeo@web120107.mail.ne1.yahoo.com> References: <1310487829.69548.YahooMailNeo@web120113.mail.ne1.yahoo.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02ED656FE3@SRV-APP-6.adept.local> <1310507043.62431.YahooMailNeo@web120107.mail.ne1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED65712A@SRV-APP-6.adept.local> Are you using ArSimpleConnector or ArLaserConnector? ArSimpleConnector and ArSick are really only meant to work with a serial port connection. In order to support more lasers, ARIA now has new ArLaserConnector and ArLaser/ArLms200 classes. ArLaserConnector can work better with TCP connections (mainly because some newer SICK lasers use a TCP connection anyway). With ArLaserConnector, you just need to specify ?tcp? connection type via command line argument (-laserPortType tcp) or in the robot?s parameter file (make a .p in the params directory where is the name of your robot as set in firmware by copying the appropriate existing .p file; change LaserPortType to tcp) From: Awantha Jayasiri [mailto:awantha at ieee.org] Sent: Tuesday, July 12, 2011 5:44 PM To: Reed Hedges Subject: Re: [Aria-users] Using laser module in wireless connection Hi Reed, I tried to use another ArTcpConnection to connect to the laser on robot 1 and implement it on simulation. Following error occurred and program stopped. "Failed to connect to laser. could not open port" I need to run this first on simulation then do it on physical robot with the host computer like I did with sonar devices. Still could not figure out how to do it. Thanks Awantha ________________________________ From: Reed Hedges To: Awantha Jayasiri ; ariausers Sent: Tuesday, July 12, 2011 4:22:07 PM Subject: RE: [Aria-users] Using laser module in wireless connection You can use another instance of ipthru for the laser. The newer ArLaserConnector class can be configured easily for TCP connections, just use ?tcp? as the connection type, and the IP address instead of a serial port device name. However you are going to encounter latency and other issues with the network. If this doesn?t affect your system then it may be fine, if not you can run the programs on the onboard computer. If you are using Linux, note that you can build a statically linked version of a program using the Makefiles in examples, tests, etc. directories by adding a ?Static? prefix to the target name. This makes it easier to transfer the binary to the onboard computer and run it there. For example, ?make demoStatic?. It will ?strip? the binary after building it. Reed From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Awantha Jayasiri Sent: Tuesday, July 12, 2011 12:24 PM To: ariausers Subject: [Aria-users] Using laser module in wireless connection Hi all, I am doing multi robot control project and controlling several robots through ArTcpConnection using a host computer and a wireless network (robot onboard computer running "ipthru"). This helps me to run the simulation in the host computer then run the same program using real robots with little modifications to "host names" and it works fine with sonar devices. However, I still could not figure out how can I connect to the Sick lasers and do the same, which means run the simulation with robots having sick lasers and do it in real-time as I can do with sonar devices. I guess this is because ArSick needs an extra connection to be made. My questions are: 1. Can ArTcpConnection connect both robot and laser such as ArSimpleConnection does ? 2. If so, how can I connect to both robot and laser using ArTcpConnection so that I can control both (same as when using ArSimpleConnector)? 3. Can the ArSimpleConnector work as a TCP connection? 4. If so, How can I configure the ArSimpleConnector so that I can connect the remote robots in a wireless network and also make use the laser modules using a command such as "ArSimpleConnector.setuplaser" (each time when I try it generates an error.) Any help is highly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 19431 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110713/76e83f97/attachment-0001.bin From Reed.Hedges at Adept.com Mon Jul 18 09:32:57 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Mon, 18 Jul 2011 06:32:57 -0700 Subject: [Aria-users] Using laser module in wireless connection In-Reply-To: <1310938780.52572.YahooMailNeo@web120111.mail.ne1.yahoo.com> References: <1310487829.69548.YahooMailNeo@web120113.mail.ne1.yahoo.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02ED656FE3@SRV-APP-6.adept.local> <1310507043.62431.YahooMailNeo@web120107.mail.ne1.yahoo.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02ED65712A@SRV-APP-6.adept.local> <1310589169.13724.YahooMailNeo@web120112.mail.ne1.yahoo.com> <38B0EB303E4E804F8A93B5CFA8FFF15F02ED657219@SRV-APP-6.adept.local> <1310938780.52572.YahooMailNeo@web120111.mail.ne1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED80807D@SRV-APP-6.adept.local> I forgot you were connecting to two robots. In that case, you should in fact use two connectors or sets of connectors. In the case of the simulator, the same connection is used for simulated laser data as the robot data. But when connecting to real robots, the laser is a separate connection. If you are using ArLaserConnector directly, I think you can specify the separate TCP ports for the laser. (And you give the hostname instead of a serial port). I don?t think you can do that with ArSimpleConnector ? it is either still trying to use a serial port or it is assuming a simulator like connection. Something like this may work using ArLaserConnector and ArRobotConnector instead of ArSimpleConnector, I think, but I haven?t tried it: Robot 1, 10.0.0.20: Ipthru /dev/ttyS0 (COM1) <-> TCP 8101 (for Robot) Ipthru /dev/ttyS2 (COM3) <-> TCP 8102 (for Laser) Robot 2, 10.0.0.21 Iphtru /dev/ttyS0 (COM1) <-> TCP 8101 (for Robot) Ipthru /dev/ttyS2 (COM3) <-> TCP 8102 (for Laser) Remote program: ArRobotConnector for robot 1: -rh 10.0.0.20 ?rrtp 8101 ArLaserConnector for robot 1: -laserPortType tcp ?remoteLaserTcpPort 8102 ?laserPort 10.0.0.20 ArRobotConnector for robot 2: -rh 10.0.0.21 ?rrtp 8101 ArLaserConnector for robot 2 : -laserPortType tcp ?remoteLaserTcpPort 8102 ?laserPort 10.0.0.21 This can get a bit complicated to manage, one reason we prefer to keep the control software on the onboard computer. From: Awantha Jayasiri [mailto:awantha at ieee.org] Sent: Sunday, July 17, 2011 5:40 PM To: Reed Hedges Subject: Re: [Aria-users] Using laser module in wireless connection Hi Reed, I used two arsimpleconnector objects and was able to log into the simulator and access the two robots and the lasers fine with the following setting. parser1.addDefaultArgument("-rrtp 8101", -1); parser2.addDefaultArgument("-rrtp 8102", -1); ArSimpleConnector connector1(&parser1); ArSimpleConnector connector2(&parser2); Then, I tried to login to the remote robots (and the lasers) using following setting: parser1.addDefaultArgument("-rh 10.0.0.20", -1); parser2.addDefaultArgument("-rh 10.0.0.21", -1); The robot connections were made perfectly. But when I implement "sick1.blockingConnect()" it generates an error and program exists. Following is the error generated: Connected to remote host 10.0.0.20 through tcp. Syncing 0 Syncing 1 Syncing 2 Connected to robot. Name: P3-AT Type: Pioneer Subtype: p3at-sh Loaded robot parameters from p3at-sh.p ArLaserConnector: Remote host is used for robot, so remote host is being used for the laser too laser: Failed to connect to laser, could not open port. Could not connect to SICK1 laser... exiting Disconnecting from robot. Exiting robot run because of lost connection. ArRobot::remLaser: Removing laser laser (num 1) (and removing as range device) I tried setting the RenoteRobotTcpType and laserport arguments but didn't work out. I should be grateful if you could give me any help on setting the remote robot lasers correctly. Thanks Awantha ________________________________ From: Reed Hedges To: Awantha Jayasiri Sent: Wednesday, July 13, 2011 6:25:05 PM Subject: RE: [Aria-users] Using laser module in wireless connection You should only use one connector, for the robot. You may then be able to provide ArSick (or ArLMS200) directly with an ArTcpConnection object via setDeviceConnection(). You will have to use ArTCPConnection?s API to connect to the remote TCP socket, then ask the ArSick object to connect. From: Awantha Jayasiri [mailto:awantha at ieee.org] Sent: Wednesday, July 13, 2011 4:33 PM To: Reed Hedges Subject: Re: [Aria-users] Using laser module in wireless connection Hi Reed, Thanks for the information. Actually, I am trying a workaround with ArSimpleConnector and ArArgumentParser. Following are the two argument specifications I am using to parse to the two ArSimpleConnectors : ArArgumentParser parser1(&argc, argv); ArArgumentParser parser2(&argc, argv); parser1.addDefaultArgument ("-rh1,localhost,-rrtp1,8101", -1); parser2.addDefaultArgument ("-rh2,localhost,-rrtp2,8102", -1); Could you please tell me the above specification is valid/ correct or not? Then I make the connections to two ArSimpleConnectors : ArSimpleConnector connector1(&parser1); ArSimpleConnector connector2(&parser2); if (connector1.parseArgs() != 1) { printf("Could not pass the argments number 1\n"); connector1.logOptions(); exit(1); } // add the laser to the robot robot1.addRangeDevice(&sick1); robot1.addRangeDevice(&sonar1); // try to connect, if we fail exit if (!connector1.connectRobot(&robot1)) { printf("Could not connect to robot... exiting\n"); Aria::shutdown(); return 1; } robot1.runAsync(true); robot1.enableMotors(); Then set up the laser1. connector1.setupLaser(&sick1); //sick1.setDeviceConnection(&rob1laser1); //printf("I am here\n"); sick1.runAsync(); if (!sick1.blockingConnect()) { printf("Could not connect to SICK1 laser... exiting\n"); robot1.disconnect(); Aria::shutdown(); return 1; } printf("Connected robot 1 ok \n"); ArUtil::sleep(500); Same type of code is written to connect to robot 2 and laser 2. However, still this making connection problems. Thanks and regards Awantha ________________________________ From: Reed Hedges To: Awantha Jayasiri Cc: ariausers Sent: Wednesday, July 13, 2011 11:57:55 AM Subject: RE: [Aria-users] Using laser module in wireless connection Are you using ArSimpleConnector or ArLaserConnector? ArSimpleConnector and ArSick are really only meant to work with a serial port connection. In order to support more lasers, ARIA now has new ArLaserConnector and ArLaser/ArLms200 classes. ArLaserConnector can work better with TCP connections (mainly because some newer SICK lasers use a TCP connection anyway). With ArLaserConnector, you just need to specify ?tcp? connection type via command line argument (-laserPortType tcp) or in the robot?s parameter file (make a .p in the params directory where is the name of your robot as set in firmware by copying the appropriate existing .p file; change LaserPortType to tcp) From: Awantha Jayasiri [mailto:awantha at ieee.org] Sent: Tuesday, July 12, 2011 5:44 PM To: Reed Hedges Subject: Re: [Aria-users] Using laser module in wireless connection Hi Reed, I tried to use another ArTcpConnection to connect to the laser on robot 1 and implement it on simulation. Following error occurred and program stopped. "Failed to connect to laser. could not open port" I need to run this first on simulation then do it on physical robot with the host computer like I did with sonar devices. Still could not figure out how to do it. Thanks Awantha ________________________________ From: Reed Hedges To: Awantha Jayasiri ; ariausers Sent: Tuesday, July 12, 2011 4:22:07 PM Subject: RE: [Aria-users] Using laser module in wireless connection You can use another instance of ipthru for the laser. The newer ArLaserConnector class can be configured easily for TCP connections, just use ?tcp? as the connection type, and the IP address instead of a serial port device name. However you are going to encounter latency and other issues with the network. If this doesn?t affect your system then it may be fine, if not you can run the programs on the onboard computer. If you are using Linux, note that you can build a statically linked version of a program using the Makefiles in examples, tests, etc. directories by adding a ?Static? prefix to the target name. This makes it easier to transfer the binary to the onboard computer and run it there. For example, ?make demoStatic?. It will ?strip? the binary after building it. Reed From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Awantha Jayasiri Sent: Tuesday, July 12, 2011 12:24 PM To: ariausers Subject: [Aria-users] Using laser module in wireless connection Hi all, I am doing multi robot control project and controlling several robots through ArTcpConnection using a host computer and a wireless network (robot onboard computer running "ipthru"). This helps me to run the simulation in the host computer then run the same program using real robots with little modifications to "host names" and it works fine with sonar devices. However, I still could not figure out how can I connect to the Sick lasers and do the same, which means run the simulation with robots having sick lasers and do it in real-time as I can do with sonar devices. I guess this is because ArSick needs an extra connection to be made. My questions are: 1. Can ArTcpConnection connect both robot and laser such as ArSimpleConnection does ? 2. If so, how can I connect to both robot and laser using ArTcpConnection so that I can control both (same as when using ArSimpleConnector)? 3. Can the ArSimpleConnector work as a TCP connection? 4. If so, How can I configure the ArSimpleConnector so that I can connect the remote robots in a wireless network and also make use the laser modules using a command such as "ArSimpleConnector.setuplaser" (each time when I try it generates an error.) Any help is highly appreciated. Thank you very much Regards Awantha Jayasiri -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 47491 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110718/9df08ace/attachment-0001.bin From zarrro45 at yahoo.com Mon Jul 18 11:19:16 2011 From: zarrro45 at yahoo.com (Zach Sherin) Date: Mon, 18 Jul 2011 08:19:16 -0700 (PDT) Subject: [Aria-users] Compiling new code for Aria not working in VS2010 Message-ID: <1311002356.17304.YahooMailClassic@web111101.mail.gq1.yahoo.com> Hey all, ????????????? I have been trying to get a new program running for ARIA, but when I try to compile my code, it gives me the "VideoGrabber.cpp(5): fatal error C1083: Cannot open include file: 'Aria.h': No such file or directory" error that I have seen on this mailing list before. However, even when I change my "Properties->Resources->General-> Additional Include Files" to include: C:\Program Files\MobileRobots\Aria\include; C:\Program Files\MobileRobots\Aria\ArNetworking\include ? It still gives me this error. And if I change the #include lines to the actual path: #include C:\Program Files\MobileRobots\Aria\include\Aria.h ? it completely wrecks the program and gives me 100?errors along these lines: c:\program files\mobilerobots\aria\include\ArLMS1XX.h(131): warning C4272: 'ArLMS1XX::runThread' : is marked __declspec(dllimport); must specify native calling convention when importing a function. ? Does anyone know what causes this? As a little bit of extra information, I am working in a Windows Form Application in C++, trying to make a program that will collect and display images from the onboard camera. Thank you, ?????????????????? Zach -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110718/6f422f3f/attachment.html From zhossain.kuet at yahoo.com Mon Jul 18 22:39:20 2011 From: zhossain.kuet at yahoo.com (Hossain, Md.Z) Date: Mon, 18 Jul 2011 19:39:20 -0700 (PDT) Subject: [Aria-users] Compiling new code for Aria not working in VS2010 In-Reply-To: <1311002356.17304.YahooMailClassic@web111101.mail.gq1.yahoo.com> References: <1311002356.17304.YahooMailClassic@web111101.mail.gq1.yahoo.com> Message-ID: <1311043160.8642.YahooMailNeo@web46411.mail.sp1.yahoo.com> Hi Sherin, I managed to integrate? aria library on VS08. Don't know about VS10. I followed the steps as below.......it might help you....... 1. Open a C++ project for win32 console application 2. go to project properties ??? ??? i) under debugging set command arguments(for debug and release) ??? ??? ii) C/C++->General->Additional Include Directories then put "C:\Program Files\MobileRobots\Aria\include" for bebug and release ??? ??? iii) Linker->General->Additional Library Directories set "C:\Program Files\MobileRobots\Aria\lib" for debug and release ??? ??? iv) Linker->Input->Additional Dependencies put? "AriaDebugVC9.lib winmm.lib advapi32.lib" for debug and "AriaVC9.lib winmm.lib advapi32.lib" for release ?3. configuration manager -> select release under configuration(may you have to do this. i mean not always. don't know why) ?4. Copy .dll files from Aria's bin directory or add path "C:\Program Files\MobileRobots\Aria\bin\" to system PATH environment variable(for later option- go to start menu then properties of computer -> advanced system settings -> Environment variables -> system variables -> add value C:\Program Files\MobileRobots\Aria\bin\ for path variable) enjoy ur project... hossain ________________________________ From: Zach Sherin To: aria-users at lists.mobilerobots.com Sent: Tuesday, July 19, 2011 3:19 AM Subject: [Aria-users] Compiling new code for Aria not working in VS2010 Hey all, ????????????? I have been trying to get a new program running for ARIA, but when I try to compile my code, it gives me the "VideoGrabber.cpp(5): fatal error C1083: Cannot open include file: 'Aria.h': No such file or directory" error that I have seen on this mailing list before. However, even when I change my "Properties->Resources->General-> Additional Include Files" to include: C:\Program Files\MobileRobots\Aria\include; C:\Program Files\MobileRobots\Aria\ArNetworking\include ? It still gives me this error. And if I change the #include lines to the actual path: #include C:\Program Files\MobileRobots\Aria\include\Aria.h ? it completely wrecks the program and gives me 100?errors along these lines:c:\program files\mobilerobots\aria\include\ArLMS1XX.h(131): warning C4272: 'ArLMS1XX::runThread' : is marked __declspec(dllimport); must specify native calling convention when importing a function. ? Does anyone know what causes this? As a little bit of extra information, I am working in a Windows Form Application in C++, trying to make a program that will collect and display images from the onboard camera. Thank you, ?????????????????? Zach _______________________________________________ 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/20110718/75a532ba/attachment.html From zarrro45 at yahoo.com Tue Jul 19 12:22:48 2011 From: zarrro45 at yahoo.com (Zach Sherin) Date: Tue, 19 Jul 2011 09:22:48 -0700 (PDT) Subject: [Aria-users] Compiling new code for Aria not working in VS2010 In-Reply-To: <1311043160.8642.YahooMailNeo@web46411.mail.sp1.yahoo.com> Message-ID: <1311092568.85319.YahooMailClassic@web111102.mail.gq1.yahoo.com> Hi Hossain, ????????????????????? I had to switch to VS08, must be some compatability issues. Ah well. Thanks for your help, it worked out in the end. Thanks, ??????????????? Zach ? --- On Mon, 7/18/11, Hossain, Md.Z wrote: From: Hossain, Md.Z Subject: Re: [Aria-users] Compiling new code for Aria not working in VS2010 To: "Help, discussion and announcements for MobileRobots' Advanced Robot Interface for Applications (ARIA) " Date: Monday, July 18, 2011, 10:39 PM Hi Sherin, I managed to integrate? aria library on VS08. Don't know about VS10. I followed the steps as below.......it might help you....... 1. Open a C++ project for win32 console application 2. go to project properties ??? ??? i) under debugging set command arguments(for debug and release) ??? ??? ii) C/C++->General->Additional Include Directories then put "C:\Program Files\MobileRobots\Aria\include" for bebug and release ??? ??? iii) Linker->General->Additional Library Directories set "C:\Program Files\MobileRobots\Aria\lib" for debug and release ??? ??? iv) Linker->Input->Additional Dependencies put? "AriaDebugVC9.lib winmm.lib advapi32.lib" for debug and "AriaVC9.lib winmm.lib advapi32.lib" for release ?3. configuration manager -> select release under configuration(may you have to do this. i mean not always. don't know why) ?4. Copy .dll files from Aria's bin directory or add path "C:\Program Files\MobileRobots\Aria\bin\" to system PATH environment variable(for later option- go to start menu then properties of computer -> advanced system settings -> Environment variables -> system variables -> add value C:\Program Files\MobileRobots\Aria\bin\ for path variable) enjoy ur project... hossain From: Zach Sherin To: aria-users at lists.mobilerobots.com Sent: Tuesday, July 19, 2011 3:19 AM Subject: [Aria-users] Compiling new code for Aria not working in VS2010 Hey all, ????????????? I have been trying to get a new program running for ARIA, but when I try to compile my code, it gives me the "VideoGrabber.cpp(5): fatal error C1083: Cannot open include file: 'Aria.h': No such file or directory" error that I have seen on this mailing list before. However, even when I change my "Properties->Resources->General-> Additional Include Files" to include: C:\Program Files\MobileRobots\Aria\include; C:\Program Files\MobileRobots\Aria\ArNetworking\include ? It still gives me this error. And if I change the #include lines to the actual path: #include C:\Program Files\MobileRobots\Aria\include\Aria.h ? it completely wrecks the program and gives me 100?errors along these lines: c:\program files\mobilerobots\aria\include\ArLMS1XX.h(131): warning C4272: 'ArLMS1XX::runThread' : is marked __declspec(dllimport); must specify native calling convention when importing a function. ? Does anyone know what causes this? As a little bit of extra information, I am working in a Windows Form Application in C++, trying to make a program that will collect and display images from the onboard camera. Thank you, ?????????????????? Zach _______________________________________________ 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/ -----Inline Attachment Follows----- _______________________________________________ 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/20110719/e19b55b2/attachment-0001.html From zarrro45 at yahoo.com Thu Jul 21 14:38:52 2011 From: zarrro45 at yahoo.com (Zach Sherin) Date: Thu, 21 Jul 2011 11:38:52 -0700 (PDT) Subject: [Aria-users] Call Path Planning from remote command in arnlServer? Message-ID: <1311273532.64293.YahooMailClassic@web111113.mail.gq1.yahoo.com> Hey all, ????????????? Since you all?were so good about fixing my first problem (seriously, that was fast), I figured I may as well shoot another question your way. I'm trying to write a program which will feed coordinates to arnlServer's path planning, and then head to that point. My problem is that I do not know how to pass the ArPathPlanningTask (pathTask in arnlServer) to the command so that it can use it. Do I have to create a new action, or something? Or is there a way to pass the object to my command function so that it will work out? Any ideas? Thanks guys, ????????????????????????? Zach -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110721/48874eff/attachment.html From Reed.Hedges at Adept.com Tue Jul 26 15:43:09 2011 From: Reed.Hedges at Adept.com (Reed Hedges) Date: Tue, 26 Jul 2011 12:43:09 -0700 Subject: [Aria-users] Call Path Planning from remote command in arnlServer? In-Reply-To: <1311273532.64293.YahooMailClassic@web111113.mail.gq1.yahoo.com> References: <1311273532.64293.YahooMailClassic@web111113.mail.gq1.yahoo.com> Message-ID: <38B0EB303E4E804F8A93B5CFA8FFF15F02ED808D3C@SRV-APP-6.adept.local> Hi Zach, Can you describe what you mean more by 'the command'? or the command function? You can use a pointer or reference to the ArPathPlanningTask object (pathTask) as usual in C++. Call the pathPlanToPose() or pathPlanToGoal methods on it to start it planning to a new position. From: aria-users-bounces at lists.mobilerobots.com [mailto:aria-users-bounces at lists.mobilerobots.com] On Behalf Of Zach Sherin Sent: Thursday, July 21, 2011 2:39 PM To: ariausers Subject: [Aria-users] Call Path Planning from remote command in arnlServer? Hey all, Since you all were so good about fixing my first problem (seriously, that was fast), I figured I may as well shoot another question your way. I'm trying to write a program which will feed coordinates to arnlServer's path planning, and then head to that point. My problem is that I do not know how to pass the ArPathPlanningTask (pathTask in arnlServer) to the command so that it can use it. Do I have to create a new action, or something? Or is there a way to pass the object to my command function so that it will work out? Any ideas? Thanks guys, Zach -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 8447 bytes Desc: not available Url : http://lists.mobilerobots.com/pipermail/aria-users/attachments/20110726/68ca21dd/attachment.bin