NAOsim is a simulator of NAO where you can test your behaviors and algorithms in a virtual world. You can modify the environment by inserting and modifying objects of various shapes.
NAOsim embeds NAOqi and therefore can be connected to Choregraphe and Monitor, it is a safe place to test Choregraphe’s behaviors before playing them on NAO in a real environment. In NAOsim, you can also modify the path of NAOqi in order to add your own C++ modules.
NAOsim supports the major part of NAO’s sensors and actuators ( Components & Sensors ) :
NAOsim installer is available on Mac os X, Windows Xp and Windows 7. Linux is not supported yet.
This Getting Started guide explains you how to use NAOsim and Choregraphe together to simulate a behavior in a virtual environment.
Launch NAOsim.
Create your environment:
Click the Start button to turn on the simulation (it will launch NAOqi).
Launch Choregraphe.
Connect Choregraphe with NAOsim:
You can now control the NAO with the 3dView in Choregraphe and check what NAO is seeing in the Choregraphe Video Monitor.
Add the Objects panel: click View > Objects.
Add an object in your virtual environment:
Edit an object:
Open the Hierarchy View and the Properties panels.
Select the object in the Hierarchy View.
In the toolbar, click the Move, Rotate or Scale icon.
In the virtual environment, move the cursor on the X, Y or Z axis to edit the object.
You can also modify the Position, the physics parameters and the Material of the object.
Delete an object:
Make sure you clicked on the Start button in NAOsim to turn on your virtual robot.
Select the one with the port 9559.
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’.