Difference between revisions of "WallFollow Example"
From RobotinoWiki
Indorewala (talk | contribs) (→Running the example) |
Indorewala (talk | contribs) (→Step 2: Building the example project) |
||
Line 16: | Line 16: | ||
===Step 2: Building the example project=== | ===Step 2: Building the example project=== | ||
− | # Navigate | + | # Navigate to ''RobotinoMRDS\Examples\WallFollow'' and open the ''WallFollow.csproj'' |
# Build the ''WallFollow'' project | # Build the ''WallFollow'' project | ||
− | # Right click the ''WallFollow'' project in the Solution Explorer and set it as a startup project | + | # Right click on the ''WallFollow'' project in the Solution Explorer and set it as a startup project |
# Hit F5 | # Hit F5 | ||
Latest revision as of 15:36, 21 March 2012
Contents
WallFollow Example
In this example, Robotino follows a wall based on the input from its distance sensors. The example is located in the RobotinoMRDS/Examples/WallFollow folder.
Running the example
Prerequisites
You must have the following installed on your system to run this example:
- Microsoft Visual Studio 2010 (or Microsoft Visual C# 2010 Express)
Procedure
Step 1: Setting the correct IP address for Robotino
- Navigate to RobotinoMRDS\Services\Robotino and open the project Robotino.csproj
- Open Robotino.cs and go to line number 82 (approximately) and replace the following line with the IP address of your Robotino
_robotino.Connect("192.168.5.5");
- Build the project
Step 2: Building the example project
- Navigate to RobotinoMRDS\Examples\WallFollow and open the WallFollow.csproj
- Build the WallFollow project
- Right click on the WallFollow project in the Solution Explorer and set it as a startup project
- Hit F5
Video
A video of this example in action can be viewed below. {{#ev:youtube|KVD_eiG4x8Q}}