Connection widget

Whenever you go to the menu Connection > Connect to or click on the Connect to button of the toolbar, you will see the following widget:

../../_images/chore_connect_to.png

On the left, you can see a list of robots.

The first column enables you to add a robot to favorites. Next time you will open this widget, the robot will then appear first in the list. To add/remove a robot to favorites, click on the star.

../../_images/connection_star_blue.png The robot is a favorite robot.
../../_images/connection_star_grey.png The robot is not a favorite robot.

The second column displays the state of the robot:

State Description
../../_images/chore_robot_off.png

A robot without NAOqi running. The robot is in a state in which it should be impossible to establish a connection. NAOqi has either crashed or been shutdown. If you have tweaked the robot, you may also see it in this state.

Note

You can force the connection to this robot by enabling the option Use fixed port and then click on Connect to. It will try to solve the connection using this port (9559 by default).

../../_images/chore_robot_on.png

or your custom buddy icon.

A robot with NAOqi running.

Right-click on this robot. This action will open a contextual menu with the following options:

  • View web page: Displays the webpage of the robot, where you can configure it (Wifi, name, NAOqi, ...). For further details about the webpage, see the section: NAO web page.
  • Test LEDs: Starts a little animation on the eyes of the robot. This enables you to confirm that this robot is yours.
  • Send clipboard: Sends the selection of boxes and links you copied in the clipboard to another Choregraphe which is connected to this robot. You are then warned in the other Choregraphe that you received a clipboard. You can either refuse it, copy it to your own clipboard, or directly paste it on your current diagram.
../../_images/chore_computer.png

A simulated robot: This means that NAOqi is running on a computer, not on a real robot.

You can connect to this kind of robot. But you cannot view its webpage, test its LEDs nor send clipboard with this kind of robot.

The robot’s name is in the third column. And its port is in the fourth column.

To connect to a robot, you can either double-click on a robot in the list, or select it in the list and confirm by clicking on Connect to.

If you cannot manage to connect to your robot using the list on the right, you can connect directly to its IP address and its port. To do so, check off both of the checkboxes on the right. Then fill the first field in with its port (9559 by default). And fill the second field in with its IP address (that you can get by pressing once on the torso button of your robot).

How to connect

From the main window of Choregraphe, click on Connection > Connect to or on the following button in the toolbar:

../../_images/connect-to_button.png

A new window is displayed. You should see the name of your robot in the list. If it is not the case, check that it is connected to the network.

Note

If NAO is not connected to your network, refer to the Quick Start Guide (see connect-nao) to execute the procedure.

A robot can have 3 different states, represented by 3 different icons.

Icon Description
../../_images/beginning_nao_vert.png

or your custom buddy icon

A NAO with NAOqi active; right-click on it to flash its face LEDs and access its configuration webpage.
../../_images/beginning_nao_rouge.png A NAO with NAOqi inactive; it is impossible to establish a connection. You can force the connection by using the Use fixed port checkbox. It will try to resolve the connection using this port (9559 by default).
../../_images/beginning_nao_bleu.png

A simulated robot (NAOqi running on a computer); it means that you can access most of the same functionalities as an actual robot, except the LEDs, and most of the sound features.

Note

The connection to Choregraphe’s local NAOqi is automatically done when you execute Choregraphe. This local NAOqi does not appear in the robot list, as the connection is not a network connection. However, a reconnection to this NAOqi can be done through the “Connection” item of the Menu Bar (“Connect to a local NAOqi”).

Check that your NAO icon is green, then click on Connect to.