filmov
tv
Python Programming Your NAO Robot Tutorial Video 2

Показать описание
Hi everyone and welcome to How to program your NAO Robot with Python Tutorial Video number 2. On this week's tutorial we are looking to how to get your robot to walk using Python. So if you want to learn how to program your robot to walk up to any mountain then please stay tuned.
Right! Jumping straight here guys, we are going to do the Walk Two Tutorial but with Python.
• Right click the main section box and go to "add new box"
• Create a name for the box
• Input main image
• Select the type of box
Brilliant! And that's it. And we have a Python Code Box here, so what we do is we open but before that what we want to do is stand up,we want our robot to stand up as it is sitting down at the moment, from the screen you can see it is standing up, drag a stand up icon in there and we'll just connect it all up the noodles, I am actually using the NAO key so the 3D robot in the robot view, and this because we need to put the robot on connecting so we can see what's going on quite clearly with the NAO key button, oversee when you are using this on the real robot never forget to trigger on the motors and connect everything up properly.
• Open the Code Box
• Go to “def onInput_onStart(self):”
• Write "motionProxy = ALProxy("ALMotion")"
Well done guys, you can now get your NAO Robot to walk by using
your Python programming skills.
Now have a play with this behaviour to see if you can get your NAO
to walk to several points, or maybe even walk around a maze?
Have a play guys and use your imagination.
Now if you liked this tutorial and want to see the next one in the
collection, then please hit the Subscribe button and keep update with
the latest videos that come out.
Please have a look below, where I have put links relating to this
videos , as well as other information about the NAO Robot.
If you have any questions or want to see any other related tutorials,
then please write me a message in the comments section, and I will
see what I can do.
Thanks Guys! And I will see you next time.
Right! Jumping straight here guys, we are going to do the Walk Two Tutorial but with Python.
• Right click the main section box and go to "add new box"
• Create a name for the box
• Input main image
• Select the type of box
Brilliant! And that's it. And we have a Python Code Box here, so what we do is we open but before that what we want to do is stand up,we want our robot to stand up as it is sitting down at the moment, from the screen you can see it is standing up, drag a stand up icon in there and we'll just connect it all up the noodles, I am actually using the NAO key so the 3D robot in the robot view, and this because we need to put the robot on connecting so we can see what's going on quite clearly with the NAO key button, oversee when you are using this on the real robot never forget to trigger on the motors and connect everything up properly.
• Open the Code Box
• Go to “def onInput_onStart(self):”
• Write "motionProxy = ALProxy("ALMotion")"
Well done guys, you can now get your NAO Robot to walk by using
your Python programming skills.
Now have a play with this behaviour to see if you can get your NAO
to walk to several points, or maybe even walk around a maze?
Have a play guys and use your imagination.
Now if you liked this tutorial and want to see the next one in the
collection, then please hit the Subscribe button and keep update with
the latest videos that come out.
Please have a look below, where I have put links relating to this
videos , as well as other information about the NAO Robot.
If you have any questions or want to see any other related tutorials,
then please write me a message in the comments section, and I will
see what I can do.
Thanks Guys! And I will see you next time.
Комментарии