NAOsim supports the major part of NAO’s sensors and actuators:
Step | Action |
---|---|
Make sure you have logged on as Administrator or as a user with Administrator privileges. | |
Retrieve the following file: NAOsim-x.x-WIN32.exe You can find it on the DVD in Software > Software Suite > NAOsim
or download the latest release from the Aldebaran Robotics’ User or Developer site.
|
|
Double-click the file to start the installation. | |
Follow the Wizard steps. |
Step | Action |
---|---|
Make sure you have logged on as Administrator or as a user with Administrator privileges. | |
Make sure you have installed Python 2.7.
You can find the installer here: http://python.org/download/ |
|
Retrieve the following file: NAOsim-x.x-OSX.zip You can find it on the DVD in Software > Software Suite > NAOsim
or download the latest release from the Aldebaran Robotics’ User or Developer site.
|
|
Open the file. | |
Double-click the file to start the installation. |
By default, NAOsim is installed with a trial evaluation license. Do not wait its expiration to activate your license.
To activate the license:
Step | Action |
---|---|
Launch NAOsim and choose Help > Activation. | |
Enter the product serial number. You can find it inside the DVD. |
|
Click OK button. |
To activate the license on a computer having no access to Internet:
Step | Action |
---|---|
Launch NAOsim Activator executable located on NAOsim installation directory. ![]() |
|
Copy the Host ID. | |
Execute the instructions displayed using another, connected to Internet, computer. | |
Come back to NAOsim Activator to finish the activation process. |
To reactivate your license:
Step | Action |
---|---|
Request your new NAOsim license key to Aldebaran Robotics support. To do so, use the contact form: http://www.aldebaran-robotics.com/en/Support/support-contact.html and provide your Client Code and the serial number of your robot. |
|
Once you have received the new license key, proceeds in the same way as for a first installation. |
Step | Action |
---|---|
Launch NAOsim. | |
Create your environment.
|
|
Optionally, customize your environment. For further details see Handling objects in NAOsim. |
|
Add a robot.
|
|
Optionally, choose an external NAOqi. For further details see Using a customized NAOqi. |
|
Choose Run > Start or
click the ![]() |
Step | Action |
---|---|
Launch Choregraphe. | |
Choose Connection > Connect to or click the ![]() |
|
Select your simulated robot (the name should include the name of your computer). Its icon should be: ![]() In Choregraphe, you can now:
![]() |
Step | Action |
---|---|
Make sure you have launched a simulated robot and have connected Choregraphe to it. For further details see Launching a simulated robot and Connecting Choregraphe to the simulated robot. |
|
In Choregraphe, create a behavior. | |
Click the Play button. | |
Check the result in NAOsim. | |
Adapt your behavior and play it again. |
![]() |
![]() |
Step | Action |
---|---|
Choose View > Objects to add the Objects panel. | |
Add an object in your virtual environment:
|
|
Edit an object:
![]()
![]()
![]() |
|
Delete an object:
|
By default, NAOsim uses an embedded copy of NAOqi to simulate the robot. C++ developers can also connect NAOsim to their customized NAOqi in order to test their own modules.
For further details, see C++ SDK.
To use your own NAOqi:
Step | Action |
---|---|
Choose File > Preferences > NAO and browse to select the path of your NAOqi. | |
Check the presence of the files bin/naoqi-bin and bin/nao_simulation_hal. | |
Uncomment the dcm_hal line in naoqi-sdk/etc/naoqi/autoload.ini. |
After entering the activation key, in the case of the following error “Bad return data from web server” or “1103 error”
If NAOsim crashes systematically, make sure the installation path of NAOsim contains only ASCII characters.
Make sure you clicked on the Start button in NAOsim to turn on your virtual robot.
Select the one with the port 9559.
If the robot doesn’t move in NAOsim when you launch standard boxes of Choregraphe.
Example of the issue:
You probably zoomed in or out too much (the issue can occur also if you zoomed outside NAOsim due to a bug).
The window focus is now on the item selected and the issue is fixed.
When connecting Choregraphe and NAOsim, there can be the warning: NAOqi’s version seems to differ from the Choregraphe you are using.