fernandozuher / naoqi_webots

Plugin to use NAOqi SDK in the robot NAO of the Webots simulator.
10 stars 0 forks source link
choreographe naoqi robot-nao webots

Logo naoqi_webots

naoqi_webots

This repository is a refactored version of the controller named naoqisim: https://github.com/cyberbotics/naoqisim

It aims to solve bugs and outdated pieces of code of the deprecated naoqi-c++-sdk used in it.

The differences between that and this are showed in the folder what_was_refactored.

It works as a middleware allowing that Choregraphe and any code using "naoqi SDK SoftBank Robotics" to be used with the simulated robot NAO in Webots.

Features

  1. Program robot NAO using a standard SDK developed by its current developer SoftBank Robotics.
  2. Use the robot in a well known robotic simulator, Webots.

    Save time and your robot of falling by researching in a simulator.

Versioning

beta-0.2, 422,7 MB (zip packed, included naoqi-c++-sdk)

Getting started

Dependences

Last execution done in:

...but it is supposed to work in newer versions too.

Build

  1. Download this current repository: https://github.com/fernandozuher/naoqi_webots/archive/master.zip

  2. Unpack it in a preferred working directory.

  3. Compile the naoqi_webots controller: type "make" in the "naoqi_webots/controllers/naoqi_webots" folder.

    make screen

What the controller does inside itself:

  1. Initializes naoqi process located in the folder "old_aldebaran_cplusplus_sdk".
  2. Initializes Webots simulation.
  3. Creates an abstract robot NAO that is connected to naoqi and Webots.

How to use

  1. Start Webots. Open the "naoqi_webots/worlds/naoqi_webots.wbt" world file.

    Opened Webots

    Initialized naoqi_webots

  2. Start Choregraphe. Choose "Connection" > "Connect to" or click the "Connect to" button. (Yes, OK that)

    naov5

    Click the "Wake Up" button (sun-like icon on the top right corner of the Choregraphe window) to make sure the stiffness is on.

    naov5

  3. Play with the change of the NAO postures in "Pose library" (top right side) or any box that doesn't execute movement with the legs of NAO (current bug coming from the "old Aldebaran C++ SDK").

Links

Authors

Thank you for visiting and good coding!