loader

Getting Started with the NAO Robot and Vittascience

This resource is designed to help you get started with the NAO robot. In just a few minutes, learn how to master the NAO robot using the Vittascience interface: how to connect to it, send a program, and much more.

To connect the NAO robot to the Vittascience interface, you need to use a Companion Application, which acts as a bridge between the web interface and the robot. Ensure that the NAO robot and your computer are connected to the same local network (Wi-Fi or Ethernet). For further details, please refer to this documentation.

To download the application:
  1. Click on the dropdown menu in the Vittascience interface.
  2. Select the link corresponding to your operating system:
    • .dmg for macOS
    • .exe for Windows
    • .deb for Linux


Note: The application and source code is also available here.download companion app Once the application is downloaded:
  1. Open the application.
  2. Select the card corresponding to the NAO robot.

Companion app

The application must remain open while using the Vittascience interface. However, you can minimize its window.
When the NAO robot card is selected:
  1. Return to the Vittascience interface.
  2. Click the "Send to NAO" button.
  3. A pop-up will appear, asking you to enter your robot's IP address (you can obtain this by pressing the button on NAO's chest). 
  4. Click "Connect".

Note: The password and username of NAO should be the default ones ("nao" and "nao").

If everything is configured correctly, the pop-up will close automatically, confirming the connection is successful.

⚠️ Warning
When you connect the robot to Vittascience, NAO automatically exits solitary mode. During the connection process, NAO enters standby mode, and its motors are released at the end. This means that after execution, the robot will not hold its position.
If you want NAO to return to solitary mode afterwards, you can press the chest button twice.


connect to NAO

The Vittascience interface allows you to simulate your programs before sending them to the NAO robot. This feature is perfect for testing and fine-tuning your blocks without directly using the robot.
To create and simulate a program:
  1. Select blocks from the Blockly toolbox on the left side of the interface.
  2. Drag and drop the blocks into the workspace, placing them inside the "on start" block that is already present.

Every time a new block is added to the workspace, the simulation will automatically start in the background.To view the simulation:
Click the Play button located in the top-right corner of the navigation bar.Run the Simulator

Here is a simple example of a program to control the NAO robot's LEDs using the Vittascience interface:

Once you are satisfied with your program and have already connected to the robot:
  1. Click the "Send to NAO" button.
  2. If the robot is in a resting position, it will automatically stand up before starting to execute the program.
  3. While the program is running, you can monitor its progress in the console.
  4. Once the program has finished executing, a message will appear indicating that the execution is complete.

Upload code to NAO V6

Användarlicens