Hacking Anki Vector SDK to enhance the Vector SDK API

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

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

  • @ladyturantulo
    @ladyturantulo 4 года назад +5

    I already have a nick name for him and I really want to add it to his wake word 😊 this is gonna be fun to learn

    • @ArturSpirin
      @ArturSpirin  4 года назад

      Exciting! Good luck!

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

      Can you rename to vector? And does this thing cost money because I heard about the Escape pod

  • @simppolice6634
    @simppolice6634 4 года назад +4

    This guy: They once called me a Madman

  • @cosmickoi4676
    @cosmickoi4676 5 лет назад +19

    Out of curiousity since you seem good with this kind of stuff, do you think it would be possible to change vectors Alexa voice to Vectors voice through programming? It’s always bugged me that it feels like the Alexa inside Vector feels like such an abrupt change from his personality

    • @lukakralj
      @lukakralj 4 года назад +2

      When you ask Alexa something the Alexa server will send back a voice recording so technically there's no simple way if changing it.

    • @boyinthebigcity
      @boyinthebigcity 4 года назад +1

      i think the only way you could keep continuity would be to change vector to sound like alexa's voice, but that might be a bit jarring if you've had vector for a while

  • @edeneliel5250
    @edeneliel5250 4 года назад +1

    Hey, Loved your video. Thank you very much
    I have a question though, did you find a way to get his microphone data? so I can make him get new commands, wake word and so on?

    • @ArturSpirin
      @ArturSpirin  4 года назад

      Its been a while since I checked, but at that time they did not update the API for the mic still. There has been a lot of development with Vector recently, from what I hear, but unfortunately I did not have a chance to play around with it for a while now.

  • @MrKegomatic
    @MrKegomatic 4 года назад +2

    Hi,
    I got my Vector a couple weeks ago and I really like him, now I have a plan and I would like your oppinion if this is possible or if there anything I forgot and it will not be able to work:
    1. I have a house System and use different Devices to run my programms via http request, such as my watch or my Raspberry Pi, what is always on and will run the Phyton.
    2. I would like to teach Vector to listen so that the Raspberry fullfill the Request to the house.
    3. Vector should allways do his stuff till my commands for the house are kicking in.
    4. Don't want to use Alexa because teh commands supposed to stay inside my own Network and should not be executet via the cloud. Only the speech translation can run over the internet.
    So please let me know if this is possible and if you may help to get the first command running, after that I am pretty sure I would be able to extend this.

  • @jefffro9832
    @jefffro9832 5 лет назад +2

    Nice tutorial, thanks!

  • @kreteniol
    @kreteniol 4 года назад +2

    Sure, what I was looking for!!! Btw, why did you not demonstrate the outcome. I will share, when I succed modifying myone.

    • @ArturSpirin
      @ArturSpirin  4 года назад +1

      Good question :) Next time. Curious to see what you do with yours!

    • @Mr.ThomasP
      @Mr.ThomasP 4 года назад

      yeah

  • @ihaveabutterybrain
    @ihaveabutterybrain 4 года назад +1

    Could i perhaps remove the subscription this way?

  • @jordandaly8142
    @jordandaly8142 4 года назад +1

    Hi, can you tell me of any tools I can use to monitor Vectors traffic? data storage? or security features?

  • @status_unknown0
    @status_unknown0 5 лет назад +3

    you da best

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

    By this method, can we still use full potential of vector robot without subscription?

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

    I wonder if any of these conditional statement misses out on an "if-else" a whole loads of commands are gonna become unresponsive. Pretty dangerous stuff.

  • @MrYong910
    @MrYong910 4 года назад +1

    Yesterday, "vector.configure" succeeded, so I looked at the tutorial and the Remote example.
    But today "vector.configure" >> failed
    ★Do I need "vector.configure" to start the SDK?

    Window 10: Anaconda3-5.1.0 / py3.6.4
    ★P.S; "Ubuntu 16.04 / ROS kinetic" SDK installation is not easy ^^

  • @RecommendedMix
    @RecommendedMix 4 года назад

    hi, its possible remove icon warning temperation from vector ?
    its keep show the icon when go charger

  • @alexeyyuriev7012
    @alexeyyuriev7012 4 года назад

    Hi, I got my Anki Vector couple of days ago, all is working but when Vector sits on his charging station he charge for like 2 minutes (green indicators are blinking) and then just stops. Idk how to fix it.

    • @MikeToob
      @MikeToob 4 года назад

      It's probably the charger that's the problem or wherever you plug the charger into.

  • @Lorix_music
    @Lorix_music 4 года назад

    "If something goes wrong and you mess up the Anki Vector SDK, you can always do pip uninstall anki_vector and then do pip install anki_vector again in order to reset the SDK to its production codebase." would you please explain how to do this return the robot to its original state? Thank you.

    • @ArturSpirin
      @ArturSpirin  4 года назад +2

      Hi, when you run your scripts, they are not stored on Vector, instead the instructions are transmitted to it over the wire. So the moment you kill your script, Vector will resume its original behavior. Now if you want to revert the changes you made to the Vector SDK (if any), you would open a terminal and run those two commands:
      1. pip uninstall anki_vector
      2. pip install anki_vector
      The first command will remove existing SDK, the second one will download it again but it will no longer have any of your changes.

  • @MagickFireWolf
    @MagickFireWolf 5 лет назад

    The line "requires_behavior_control: bool = True" isn't in the robot.py script in SDK 0.6.0.
    The line now reads "behavior_control_level: ControlPriorityLevel = ControlPriorityLevel.DEFAULT_PRIORITY".
    How does this change the information in this video? I'd like to give my Vector more functionality. Did this change being able to do that?

    • @soupychowder5780
      @soupychowder5780 5 лет назад

      Can use your help in some scripts writing in vector lmk if you can help

    • @MagickFireWolf
      @MagickFireWolf 5 лет назад

      @@soupychowder5780 I am a greenhorn at qpython3. I do teach myself things quickly though.

  • @christopherc92
    @christopherc92 4 года назад

    Hi, just checked this out but robot.py has a new system of selecting priority.
    behavior_control_level: ControlPriorityLevel = ControlPriorityLevel.DEFAULT_PRIORITY):
    Does this do a similar sort of thing ?

    • @ArturSpirin
      @ArturSpirin  4 года назад

      Yes looks like it does the same thing, although I did not have time to test it yet.

  • @IgorDavid
    @IgorDavid 5 лет назад +2

    hi man, can I see vectors hw info ? like internal temp, sensor feed , and angles of arms head?

    • @ArturSpirin
      @ArturSpirin  5 лет назад

      No sure if it has a temp sensor, you def can control his arms so if you inspect what calls are used to pass the values to change the lift of the arm then you can track down current values for the lift. Start here developer.anki.com/vector/docs/generated/anki_vector.behavior.html#anki_vector.behavior.BehaviorComponent.set_lift_height
      There are many sensor feeds. Check their api. I know the mic sensory feed was not working a month ago thats actually why I stopped working on my robot.

    • @IgorDavid
      @IgorDavid 5 лет назад

      @@ArturSpirin did try all from this video but it didn't work out ... I would love to get more from him but Im not great with programming . I did a cooler for him to lower temp of snapdragon have video too . something just telling me to muck around with vector .

    • @OrlandoPaco
      @OrlandoPaco 4 года назад

      @@ArturSpirin Put Vector in charger, Double tap the button on top (green spot), Raise and Lower his arms! If button on top doesn't cycle through the menus, Do the arms part after lowering and raising his head! The left wheel acts as scroller.

  • @massimodileo7169
    @massimodileo7169 4 года назад +1

    Hi Artur, will this hack work with the latest SDK version? I've started your tutorial but I've found that the connection.py looks different from the one in this video. Any update on this trick?

    • @ArturSpirin
      @ArturSpirin  4 года назад

      Hi, I haven't checked the new SDK yet but for immediate solution I can suggest to download the older version of the SDK from Pypi: pypi.org/project/anki-vector/0.5.1/ unless there is some functionality that you need from the new version.

    • @ikkezz
      @ikkezz 4 года назад +1

      @@ArturSpirin Your SDK hack is no longer needed with version 0.6+ as there was a `behavior_control_level` parameter added, which will let you choose the level of control dynamically in your script.

    • @ArturSpirin
      @ArturSpirin  4 года назад

      @@ikkezz Awesome! Thanks for letting us know.

  • @Californiagent
    @Californiagent 4 года назад +1

    Nice

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

    shall i get victor codes to make another vector

  • @181nkw
    @181nkw 4 года назад

    when i was trying to do the sdk thingi got this.....the name of the certificate vector v7a9 does not match the name provided vector j7g2.....after i input the serial number......could someone hlp please

    • @daliabakhurji4280
      @daliabakhurji4280 4 года назад

      I installed sdk and codes run perfectly then I got the same message when i tried to update the sdk after i have reset my vector

  • @35idris
    @35idris 2 года назад

    how can i change the language pack? I want Turkish. I have to do this for my child.. :)

  • @OrlandoPaco
    @OrlandoPaco 4 года назад

    Were can I get the "robot.py", "connection.py" files?

    • @OrlandoPaco
      @OrlandoPaco 4 года назад

      @@katherinekasper6032Get back to me if you find then. Off topic: Your super cute!

  • @phamucphat21
    @phamucphat21 4 года назад

    How can i save sdk to vector anki ?

    • @ArturSpirin
      @ArturSpirin  4 года назад +1

      You don't. Its against the design that devs implemented and its for a good reason (so you don't render your robot useless if you push bad code to it.).

  • @xperia38a
    @xperia38a 4 года назад

    soy el comentario en español que buscabas

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

    please tell me its possible to masively increase moving speed so he can yeet himself off the table 😂😂 i want this too much in my life hahah