How to program NAO robot using Python in Windows STEP by STEP (2021)

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

Комментарии • 47

  • @yoxanangeles8629
    @yoxanangeles8629 3 года назад +3

    this is the video I needed, thanks a lot! Can't wait for the next video

  • @Benyosefov
    @Benyosefov 3 года назад

    Mac version??????

  • @zaranto7023
    @zaranto7023 Год назад

    Bro, love you. Through the bonus information in the comments i made it work. Thak You!

  • @darshpatel727
    @darshpatel727 Год назад

    Hey,
    I was trying to get this SDK in my python 3.11 but it was not working so I switched to python 2.7 and followed your instructions but still it is not working. Please do help ...!

  • @moatazgharbi6930
    @moatazgharbi6930 2 года назад

    I have a probleme when i do an order with chroreghraphe the robot say my cloud systeme in wrong, please how can i fix it.

    • @fugit185
      @fugit185 2 года назад

      can you post your error message here?

  • @kzsy
    @kzsy Год назад

    Hello, please would you mind guiding me on how you programmed your robot and what SDK did you use. I followed the Official documentation on the website and installed the Python SDK but my computer doesnt connect to the robot via Its IP Address.

    • @charleskoduru
      @charleskoduru  Год назад

      turn on the robot connect via ethernet then click the main button it should say its IP and then you just enter the ip into the web browser.

  • @engineering_life9550
    @engineering_life9550 3 года назад +2

    Hello,
    Thanks for this video !
    I followed your video but I still have the error "ImportError: No module named naoqi". Do you know what I can do ? I have windows10, do you think it could be the reason ?
    Thanks for your reply :)

    • @charleskoduru
      @charleskoduru  3 года назад +1

      Hey bro, sure I would love to help. Before I do can you look at the previous comment below by mildfirewear. They had a similar issue, which I helped them out with. Lmk if your still facing any problems I’ll see what I can do.

    • @charleskoduru
      @charleskoduru  3 года назад +1

      Recheck your environment variables

  • @soukainagouraguine5736
    @soukainagouraguine5736 3 года назад

    thank you for the video my question is about How I can also install TensorFlow in the same version of python 2.7, because my project need to use naoqi and tensorflow at the same time

    • @akka1719
      @akka1719 3 года назад +1

      hello
      did you find the way?

    • @soukainagouraguine5736
      @soukainagouraguine5736 3 года назад

      @@akka1719 yes you can install a specifiq version of tensorflow

    • @akka1719
      @akka1719 3 года назад

      @@soukainagouraguine5736 Thanks alot
      can you send me the link of the version please

  • @kzsy
    @kzsy Год назад

    Hey! my team's at the last step on the Pepper setup but we keep getting this error anytime we try connecting to Pepper with the AlProxy module (ALProxy(name,ip address, port)). Do you have any tips for solving this bug? Thank you!

    • @charleskoduru
      @charleskoduru  Год назад

      Can you retrieve the IP from Pepper? I recommend attempting to establish a connection using the standard IP protocol. You can do this by entering the IP address in your web browser and connecting through Ethernet while ensuring that you are on the same Wi-Fi network. Once you successfully log in, access your WLAN network, and that should enable wireless functionality for operating under the AIProxy.

  • @midfirewear5764
    @midfirewear5764 3 года назад +1

    Hi your tuto is super nice but when i try to import naoqi in cmd i got an error thats says : "ImportError: DLL load failed: %1 is not a valid Win32 application" could you please help me ??

    • @charleskoduru
      @charleskoduru  3 года назад +1

      Hi,
      Don’t worry I got the same error as well. This means that there is a problem with the environment variables during the downloading procedure. The way I solved it was by uninstalling all applications for Python and NAO libs or any other libs related to NAO bot including naoqi. Then once removed I installed them again. In the beginning of the video I show some steps that should help. Since the NAO libs are kinda out of date you gotta have a little waiting time to ensure a successful installation. If you have a 64 bits it’s should not be a problem with the 32 bit install. Unfortunately that’s the only thing NAO libs have that is downloadable. I hope this helps. Let me know if your still stuck.

    • @midfirewear5764
      @midfirewear5764 3 года назад

      @@charleskoduru well i already deleted all the pythons i had, do i have to delete chorégraph ? Is it possibly related to open cv ? Anyways thanks for trying to help !

    • @charleskoduru
      @charleskoduru  3 года назад +2

      @@midfirewear5764 Hey, no need to delate Choregraph. Did you check your environment variables, because that is really where is issue occurs. So you removed python and when you installed it, did you do it by using "pip install" in the cmd? By installing applications through the cmd it directly connects the files to locations in the computer. Once you download python check the Envir Vari to see if it is like mine. Then download Naoqi files and follow from 7:57 very very slowly and carefully. This will manually ensure that you have the files in the right spot. Next, you need to share the location of the files with the computer by doing step 10:55. Make sure the spelling matches up on your side. Then close out of all the terminals and open a new terminal and try python > import naoqi. We are getting this error "ImportError: DLL load failed: %1 is not a valid Win32 application" because the downloaded naoqi files are not properly stored in the right location. Please be aware that duplicated files can also cause an issue so it is really really important that you delete any previous naoqi files before redoing something. A helpful tip I learned that gets me through situations like this is " You ought to be a fool if you are doing the same thing, but expecting a different result". This really helped me fixed a lot of stuff especially when troubleshooting. Please try and give this a shot. If still nothing I will try to do a live thing and we can solve your issue like that.

    • @verule3928
      @verule3928 3 года назад

      I am facing the same issue, were you able to fix it?

    • @midfirewear5764
      @midfirewear5764 3 года назад

      @@verule3928 sadly i do not manage to solve it, i litterally uninstalled everything, reinstalled, made the path things and PYTHONPATH things multiple times but i still struggle with the same issue :/

  • @minilee8
    @minilee8 3 года назад +1

    Thanks, your video helped me a ton! I had an issue with the import naopi but I fixed it by uninstalling python2.7 and installing the x64 version of python2.7.

    • @JayDayani
      @JayDayani Год назад

      not helpful cheatinng on us

  • @weamt8562
    @weamt8562 11 месяцев назад

    Helplful I want if u make another video ✨✨thank u

  • @verena6358
    @verena6358 3 года назад

    Hey, thanks for the tutorial in the first place :)
    I still get a problem i don't understand when i try import naoqi:
    the file naoqi.py gets called seemingly with no problems, then in line 9 it callsc"import qi" so the file __init__.py in the subfolder qi gest called which also seems to work fine but this file calls "import Application as _Application" in line 89 and thats where the error occures and I get the same ImportError as midfirewear DLL load failed %1 is not a valid Win32-Application. (Full Error Message see below)
    I guess the the path variables are fine sice naoqi.py is found, but i have no idea where it is looking for this "Applicaiton" it wants to import (i didn't alter the downloaded SDK in any way, I just unzipped, renamed and copied to the right folder)
    Maybe you have an idea what i could try to solve this :) Thanks in advance
    Full Error message:
    Traceback (most recent call last):
    File "", line 1, in
    import naoqi
    File "C:\Python27\Lib\site-packages\pynaoqi\lib
    aoqi.py", line 9, in
    import qi
    File "C:\Python27\Lib\site-packages\pynaoqi\lib\qi\__init__.py", line 89, in
    from _qi import Application as _Application
    ImportError: DLL load failed: %1 ist keine zulässige Win32-Anwendung.

    • @charleskoduru
      @charleskoduru  3 года назад

      Hey there, please look into the comment by " midfirewear". They had a similar problem and I gave some solutions to help solve it. Please double-check you added your environment variables correctly. Let me know if it works.

  • @naifalharbi3121
    @naifalharbi3121 3 года назад

    can we use python3 on Nao?

    • @charleskoduru
      @charleskoduru  3 года назад

      If you are using the 2.1 V Nao then I would stick to using py 2.0, but if you have the latest version of Nao 6 then would I think py 3 is compatible.

    • @fugit185
      @fugit185 2 года назад

      @@charleskoduru I don't think so, Aldebaran has no python3 SDK for Nao

  • @SASSY-s9f
    @SASSY-s9f 10 дней назад

    Part 2?

  • @tiranharsha7925
    @tiranharsha7925 3 года назад

    Very helpful, thank you so much

  • @theunawaretom
    @theunawaretom Год назад

    Thank you very Much you are my man

    • @theunawaretom
      @theunawaretom Год назад

      I also shared your video with Giorgia, a friend

  • @fugit185
    @fugit185 2 года назад

    I have to move python27 and python27 before %USERPROFILE%\AppData\Local\Microsoft\WindowsApps in "Path" environment in order to get python 2.7 work in command prompt

  • @itsbean3238
    @itsbean3238 2 года назад

    well, i think we need a community

    • @Batselot
      @Batselot 2 года назад

      Hell yeah we do since right now the developer websites are now but we are stuck with the robots we could help each other!

    • @charleskoduru
      @charleskoduru  Год назад

      let me see what I can do@@Batselot