How to run Qwerk-MRS example
Robot 2008/02/14 11:23This is modified installation guide.
Pre-install program
Microsoft Visual Studio 2008 (default program: 2005)
Microsoft Robotics Studio 1.5
Runtime and Tools update for MSRS(1.5)
- Install Java 1.5.0.14
- Install ICE
- Install Ant
- Set Environment variable
- Path=
- Path=
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\VAIOXP\Libraries\;C:\Program Files\Java\jdk1.5.0_14\bin;%ICE_HOME%\bin;%ANT_HOME%\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft SQL Server\90\Tools\binn\
- CLASSPATH
.;
- ICE_HOME
C:\Ice-3.1.1
- ANT_HOME
c:\ant
- JAVA_HOME
C:\Program Files\Java\jdk1.5.0_14
- MRS_HOME
C:\Microsoft Robotics Studio (1.5)
- TERK_HOME
C:\terk-source
- Copy file which related about junit
- Source: %TERK_HOME%\TeRKBuild\lib\junit\junit.jar
- Destination: %ANT_HOME%\lib
- Source: %TERK_HOME%\TeRKBuild\lib\junit\junit.jar
- Run ‘Start->Program->Microsoft Robotics Studio (1.5)->Command Prompt’
- ant clean
- ant dist.c#
- ant error 2(csc) occurs when ant does not find .NET compiler csc
- C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 - Add this position at Environment ‘Path’
- ant error 2(csc) occurs when ant does not find .NET compiler csc
- Copy files
- Source: %TERK_HOME%\\TeRKClient\dist\c#\components\*.dll
- Destination: %TERK_HOME%\TeRKClient\code\c#MicrosoftRoboticsStudio\TeRK\QwerkService
- Source: %TERK_HOME%\\TeRKClient\dist\c#\components\*.dll
- Copy folder
- Source: C:\terk-source\TeRKClient\code\c#\MicrosoftRoboticsStudio\TeRK
- Destination: %MRS_HOME%\samples\TeRK
- Source: C:\terk-source\TeRKClient\code\c#\MicrosoftRoboticsStudio\TeRK
- Open %MRS_HOME%\samples\RoboticsTutorials\Tutorial4\CSharp\RoboticsTutorial4.csproj, Build.
- Open %MRS_HOME%\samples\TeRK\QwerkService\QwerkService.sln
- Open QwerkService.cs, edit this variable
- QWERK_USER_ID ->******
- DEFAULT_CLIENT_USER_ID -> ******
- DEFAULT_CLIENT_PASSWORD -> ******
- Edit References
- Edit position of MRPLPeer.dll, TeRKClientComponents.dll, TeRKPeerCommon.dll
- Position of dll files: %MRS_HOME%\samples\TeRK\QwerkService
- Edit position of MRPLPeer.dll, TeRKClientComponents.dll, TeRKPeerCommon.dll
- Edit Project Properties
- Debug->start external program
- C:\Microsoft Robotics Studio (1.5)\bin\DssHost.exe
- C:\Microsoft Robotics Studio (1.5)\bin\DssHost.exe
- Debug working directory
- C:\Microsoft Robotics Studio (1.5)
- C:\Microsoft Robotics Studio (1.5)
- Build->Output->Output path
- C:\Microsoft Robotics Studio (1.5)\bin\services
- C:\Microsoft Robotics Studio (1.5)\bin\services
- Build Event
- "C:\Microsoft Robotics Studio (1.5)\bin\DssProxy.exe" /dll:"$(TargetPath)" /proxyprojectpath:"$(ProjectDir)Proxy " /keyfile:"$(AssemblyOriginatorKeyFile)" $(ProxyDelaySign) $(CompactFrameworkProxyGen) /binpath:". " @(ReferencePath->'/referencepath:"%(RootDir)%(Directory) "', ' ')
- check Runtime and Tools update for MSRS(1.5)
- "C:\Microsoft Robotics Studio (1.5)\bin\DssProxy.exe" /dll:"$(TargetPath)" /proxyprojectpath:"$(ProjectDir)Proxy " /keyfile:"$(AssemblyOriginatorKeyFile)" $(ProxyDelaySign) $(CompactFrameworkProxyGen) /binpath:". " @(ReferencePath->'/referencepath:"%(RootDir)%(Directory) "', ' ')
- Reference Path
- C:\Microsoft Robotics Studio (1.5)\bin
- C:\Microsoft Robotics Studio (1.5)\bin\services
- C:\Microsoft Robotics Studio (1.5)\bin
- Signing
- C:\Microsoft Robotics Studio (1.5)\samples\mrisamples.snk
- C:\Microsoft Robotics Studio (1.5)\samples\mrisamples.snk
- Debug->start external program
- Build
- Open QwerkService.cs, edit this variable
- Open C:\Microsoft Robotics Studio (1.5)\samples\TeRK\QwerkMotorService\QwerkMotorService.sln
- References
- C:\Microsoft Robotics Studio (1.5)\bin\QwerkService.Y2006.M08.dll
- C:\Microsoft Robotics Studio (1.5)\bin\RoboticsCommon.proxy.dll
- C:\Microsoft Robotics Studio (1.5)\bin\QwerkService.Y2006.M08.proxy.dll
- C:\Microsoft Robotics Studio (1.5)\bin\QwerkService.Y2006.M08.dll
- References
- Build
- Copy files
- Source:QwerkService\QwerkService.ice.properties
- Destination: MRS_HOME
- Source:QwerkService\QwerkService.ice.properties
- Turn on Qwerk Robot, connect with ip. And set relay mode.
- At Microsoft Robotics studio command prompt , type this.
- dsshost /port:50000 /manifest:"samples\TeRK\RoboticsTutorial4.Qwerk.manifest.xml"
- You can see the gui window. And click the arrow button & stop.
- dsshost /port:50000 /manifest:"samples\TeRK\RoboticsTutorial4.Qwerk.manifest.xml"
- Results
- If you see the QWERK_USER_ID in QwerkService.cs & QwerkService.ice.properties
- This program try to connect edu.cmu.ri.mrpl
- This program try to connect edu.cmu.ri.mrpl
- When you run MSRS1.5, you can manipulate QwerkService QwerkMotorService
- If you see the QWERK_USER_ID in QwerkService.cs & QwerkService.ice.properties
- Be cafeful
- Check the battery.
- Check the lan cable.
- Does Qwerk robot answer the Ping?
- Check relay connection info of TeRK robot.
- Check the battery.

이올린에 북마크하기
이올린에 추천하기