Urban Search and Rescue Simulation

Human-robot interaction research conducted by the GROK Lab

Communications up

  • May
  • 2

Communications tested with WSS v.3. For review, grab that WSS server from:

http://robotics.jacobs-university.de/VirtualRobots/WSS.html

Procedure for running applications:

1. Start DB App

2. Start Base App using:

grok0 79.38,48.45,1.81 0,0,0 192.168.0.64 192.168.0.64 192.168.0.64 192.168.0.64 192.168.0.64 3306 32778 3000 50000 5003

Replace 192.168.0.64 with your IP address which you can grab via Start->run->cmd->ipconfig

3. Start Drone App using:

grok1  81.00,48.45,1.81 0,0,0 192.168.0.64 192.168.0.64 192.168.0.64 192.168.0.64 192.168.0.64 3306 32778 3000 50000 5003

Again, replace your IP address.

I noticed by running the following loop:

 for(int o=0;o<100;o++)
 {
     System.arraycopy(("This is a test!"+o).getBytes(),0,messagepacket.message,0,("This is a test!"+o).length());
     messagepacket.messageLength = (short) ("This is a test!"+o).length();
     getWcsInterface().WCSSendPacket(messagepacket, (byte)0);
 }
I received all of the packets...but this is the average difference in received times:
117.4242424 ms
This means, a message sent at time t=0,is received at time t=117.4242424ms.
This also means that it takes us 11.625 seconds to transmit 100 packets (this is on my computer
 running all the servers) so this might not be a true number.


No commentsGeneral		

MapApp Finished

  • April
  • 17

MapApp is finished. What I need now is an engineer of some kind. I think the perfect engineer would be a person who studies how to make processes more efficient…..yeah…..I don’t know what that engineer is called but I know he/she exists.

I just need to know what buttons would aid the user in registering the data points. Right now I have 2 sets (1 for coarse and 1 for precise rotation/translation).

If you guys figure out what kind of engineer would know how to streamline a process, let me know.

Z

No commentsGeneral

MapApp

  • April
  • 16

Updated the mapping app:

Out of 800 scans, here, I only used  8 to actually make a decent map. I just have to reduce the number of mouse clicks/key presses now (not to mention implement the ‘save’ :)

registration of some scans using mapping app

No commentsMapping

Email Correspondence with WSS maker

  • April
  • 11

Request:

Hi Max,

I was wondering if you can tell us what exactly is the port the WSS 0.2 distance plug-in is trying to connect to. I don’t think you are trying to connect to the old WCS server (port 5874) and I don’t think you are connecting to port 3000 (usarsim port). am I missing a package? I don’t see anything in the usarsim manual regarding port 7435.

I would appreciate any help.

Thanks!

Zaid

Reply:

Hello Zaid,

you are right, it is a new interface only available in CVS. I am sorry that I didn’t mention it before.

You should use TortoiseCVS or a similar client to check out the code from the usarsim cvs repository:
http://sourceforge.net/cvs/?group_id=145394

There is actually a tiny change you still have to do by hand (Yasho, please commit this as soon as possible, like *now*!). In the file

USARBot/Classes/USARComServerIn

terface.uc

at the end of line 26, replace the last “}” with ” “. On line 27, change ” {Location” to “Location”. Alternatively, you can apply the attached patch. You’ll have to recompile with make.bat afterwards.

I’m sorry for the confusion and the cvs mixup. It will be fixed soon.

Best,
Max

Index: USARBot/Classes/USARComServerInterface.uc
===================================================================
RCS file: /cvsroot/usarsim/usarsim/USARBot/Classes/USARComServerInterface.uc,v
retrieving revision 1.1
diff -u -r1.1 USARComServerInterface.uc
— USARBot/Classes/USARComServerInterface.uc 5 Apr 2008 04:04:43 -0000 1.1
+++ USARBot/Classes/USARComServerInterface.uc 9 Apr 2008 14:22:56 -0000
@@ -23,8 +23,9 @@

for ( ictr = 0 ; ictr < len ; ictr++ )
{
- outstring = outstring $ ” {Name “$ UsarGame.Vehicles[ictr].Controller.PlayerReplicationInfo.PlayerName $”}”;
- outstring = outstring $” {Location “$Converter.Str_LengthVectorFromUU(UsarGame.Vehicles[ictr].Location)$”}”;
+ outstring = outstring $ ” {Name “$ UsarGame.Vehicles[ictr].Controller.PlayerReplicationInfo.PlayerName$” “;
+ outstring = outstring $”Location “$Converter.Str_LengthVectorFromUU(UsarGame.Vehicles[ictr].Location)$” “;
+ outstring = outstring $”BatteryEmpty “$USARRemoteBot(UsarGame.Vehicles[ictr].Controller).emptyBattery$”}”;
}
return outstring;
}

No commentsGeneral
© 2007 Urban Search and Rescue Simulation. Blog theme by blogstheme.com, debt consolidation.