As we continue doing more than ever to ensure STEM and computer science opportunities are equitable and accessible, our team has really embraced coding lessons that students can do anywhere—even if they don't have a physical robot. Softbank’s highly intelligent humanoid robot, known as the NAO V6, has an extensive amount of educational value and helps create tons of opportunities for students in middle school, high school, college, and CTE programs to learn new programming skills. Of course, whatever your situation, it's unlikely that all students have a robot, but that doesn’t mean they can’t program. So, in this week's Eduporium Experiment, we'll explore how students can program the NAO Robot virtually with the simulation tool in the Choregraphe coding platform.



NAO’s unique coding interface, known as Choregraphe, has a feature that allows students to program a virtual NAO Robot. In many cases, programming a virtual model can help them practice coding when the physical robot is unavailable. It's also great for allowing students to test code before uploading it to run on the actual NAO Robot. Choregraphe is a great visual coding interface since students can access it from anywhere, including school buildings and at home.


NAO V6 device compatibility and getting-started tips.


Choregraphe is available for download on Macs, Windows, and Linux systems. You can choose your version by clicking the blue box under “Choregraphe” that says “Choregraphe Set Up.” Once you click that, the download will begin automatically. It’s important to note that this download typically requires about 30-40 minutes to complete depending on your PC. We're also excited to share that the brand-new NAO V6 AI Edition includes access to a virtual environment as well. Among many new and powerful features, it allows students to access a 3D simulation tool for programming the NAO Robot. Plus, they can still use Choregraphe and add new coding languages to the fold, including Python, C++, C#, and Java.


nao robot choregraphe program


Once you have Choregraphe up and running, you’ll see the main screen, which consists of the blank area for creating code in the middle, actions the NAO can execute on the left, and a view of the robot on the right. Students can use Choregraphe to create code and connect to a physical NAO Robot but, as we said, they can also just choose to program the virtual NAO. To connect to a virtual NAO, find the top menu, click the “Connections” button, and then “Connect to Virtual Robot.”


https://www.eduporium.com/blog/how-to-trade-in-your-old-nao-robot-for-the-new-one/


Navigating the Choregraphe software.


Once students select this, they'll see a virtual robot appear on the right of the main screen. The robot they initially see is one of Softbank’s other robots, Pepper. To change the view to the NAO Robot, go to Edit à Preferences à Virtual Robot à Robot Model and select NAO H25 (V6). When they save this selection, they'll see their NAO show up on the right-hand side of the screen. It will appear far away at first but, if students want to get a closer view, they can right click on the picture and select “Focus on Robot.”


choregraphe interface with programming options for the virtual nao robot


For those unfamiliar with NAO’s Choregraphe coding platform, it's basically a form of block coding or visual coding. On the left, you can see actions that you can program the NAO to perform. Students can drag and drop any of these actions into the main middle section. While more technical than beginner-level coding using a common block-based environment, it is, however, the same premise. But, once students are comfortable enough, they can move on to text coding within Choregraphe as well.


NAO Robot project ideas.


When programming, students can connect the robot's actions using a link at the top left of the “On Start” button. This tells the NAO that, when the code starts, it should perform the following actions. We created a simple linear program that, on start, got the NAO to execute four movements one after the other. We also added a speech animation, telling the NAO to say “Hello World” by editing the text in this action. This is possible by clicking the bottom left of the action block and typing the dialogue for it to speak.


parameters for coding the nao robot with choregraphe


We then programmed the NAO to sit down and stand up by dragging two movement actions into our code. The stand up and sit down actions are under the Posture tab, which is in the Movements section. Lastly, since the NAO can portray moods, we added a block for it perform its “Excited Move,” which consists of what essentially amounts to a happy dance.


Running code for the virtual NAO Robot.


To run these programs, click the play button at the top and the virtual NAO will perform the programmed actions. While the code runs, students can select different NAO Robot body parts to focus on and see how they move while it's running the program, including some specific parameters they can set. Also, students don't need to feel pressured to explore the more complex elements of Choregraphe right away. They can keep things as simple or advanced as they'd like and it's also free to download.


So, as students continue to look for new and exciting computer science resources, the virtual NAO Robot is a great addition to hands-on coding. If you're interested in the NAO Robot or the Choregraphe platform, please reach out to us with any questions. You can find all of our NAO products and trade-in options on our store. And, don’t forget to follow us on Twitter and Instagram for more updates on innovating with technology in the classroom.