WallFollow Example

From RobotinoWiki
Jump to: navigation, search

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

  1. Navigate to RobotinoMRDS\Services\Robotino and open the project Robotino.csproj
  2. 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");
  3. Build the project

Step 2: Building the example project

  1. Navigate to RobotinoMRDS\Examples\WallFollow and open the WallFollow.csproj
  2. Build the WallFollow project
  3. Right click on the WallFollow project in the Solution Explorer and set it as a startup project
  4. Hit F5

Video

A video of this example in action can be viewed below.


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox