WallFollow Example
From RobotinoWiki
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 it to RobotinoMRDS\Examples\WallFollow and open the WallFollow.csproj
- Build the WallFollow project
- Right click 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}}