Robot App Store

image description

NAO Remote Control From Android- Source CodeRobot-App Page

App Price:
$14.99
Relevant Robots:
  • Aldebaran Robotics - NAO V3.3
  • Aldebaran Robotics - NAO V4 (NextGen)
Developer:
NAOBoy
Release Date:
7/13/2012
App Version:
1.0
App Size:
14.3Mb
Requirements:
See all requirements...
Click to download this app.        
Payment methods:
  • visa
  • mastercard
  • paypal
App Categories:

Robot App™ Description

This robot-app contains code that uses an Android based device as a steering wheel to control NAO.
This code is a basic sample that shows how to control NAO using an Android device.
It can be extended easily to support other functionalities.

This code package contains the following items:
1. NAOServer- C# code (.Net 4.0) that opens a TCP client server connection. Based on the commands sent from Android device (over tcp), it uses HTTP to send NAO the correct command using NAO API for execution. Current implimented commands are: "say text", "sit down" and "stand up" (commands are sent to NAO according to its position including the right angle and motor), "walk" (forward/ backward/ turn to the left/ right) and "stop walking."
2. NAO Android remote control- JAVA code that uses Android device's accelerometer sensor as a user-input for the direction for NAO's walk. The command for the selected direction is sent to NAOServer over TCP.
This Android code sample demonstrates the usage of Android SDK for splash screen, sensors info, check the support for wifi and sensors on your device, how to use UI components, alert messages, TCP communication, communication between Android-activities, user text input, touch screen...

Installation Instructions

Delivered as:

Java code and
C#.NET code.

Build and execute;

 

Robot App Requirements

Software

Eclipse with Android plugin version 10 or higher according to the following: instructions;
Visual Studio 2010 or higher;
.Net 4.0 Framework
Hardware:

A Windows-based machine;
An Android device version 2.3.3 and up, WITH an accelerometer and magnetic field sensors.
Other requirements:

WiFi network that connects your computer (NAO Server) the robot and your Android device.

Usage Instructions

The robot-app has 2 major components:
1. The NAO Remote Control Android app (Java code);
2. The NAO Server desktop app (C# code);


How to use it:
1. Make sure NAO robot, NAO Server app and the Android device are all connected to the same network;
(you can have them connected to different networks if you have set a proper routing rules on your router);
2. Turn on NAO, and get his IP address. (Single press on the chest button);
3. Start NAO Server app.
Type NAO's ip into "NAO ip" text box;
Type the ip of the desktop that runs NAO Server app into "Self ip" text box;
Press the "Start Listening" button;
4. You can see that the status on the NAO Server is changed from "Disconnected" to "Waiting for connection".
If something went wrong, please recheck the values of your ips / available port;
5. Back to NAO Remote Control, the Android app- Press the "Connect" button;
6. Type the ip that was inserted into "Self ip" on the NAO Server app, and the port that appears next to it (default 8000);
7. Press "Connect to the server" button.
If something went wrong and the play button is still disabled, please recheck the values of ip and port;
8. Press the Play button.

Now you can start controlling your NAO:
1. Make sure NAO is in sitting position, then press on "Stand Up"– NAO will stand, and then a new button will appear, the "Press and Tilt" button;
2. To steer the robot, hold your Android device as a wheel and tilt the android right / left back/ forward, while the "Press and Tilt" button is pressed.
NAO robot will follow the same direction;
3. To stop walking, simply stop pressing the "Press and Tilt" button;
4. To sit down – just press the "Sit Down" button;

Steer carefully!
NAO's life is in your hands!

Are you a robot-apps developer?

Joining the developer program is easy and FREE!