How to run Joystick with Raspberry Pi | Raspberry Pi Ultimate Robot

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 29

  • @oguzalpsaglam6088
    @oguzalpsaglam6088 4 роки тому +1

    Magnificent! I was using Robot Operation System Joy Node, but I'll be considering this tutorial as well. Thank you Mr.Murtaza.

  • @soupeggs7173
    @soupeggs7173 8 місяців тому

    very nice video bro

  • @adityasagar9293
    @adityasagar9293 2 роки тому +1

    is it important to include joystick module in the project?

  • @kostaskontonasios46
    @kostaskontonasios46 3 роки тому +1

    Hello!I recently subscribed to your channel and i really like the work you have done and the projects you have published! Is it possible to make a video with instructions of how to make our rasberry run the python scripts when it is fixed to the robot?how do we make it run the scripts?sorry in advance for my question but i am really new to programming and robotics and i dont know a lot.

  • @Pzq1234
    @Pzq1234 3 роки тому +1

    Is there updated version for ps5 pad?

  • @bbknexbuilder2874
    @bbknexbuilder2874 Рік тому

    What are the commands to install the drivers, mainly the long one?

  • @ramanateja2193
    @ramanateja2193 3 роки тому

    @Murtaza's Workshop - Robotics and AI Will this work for any joystick module ??

  • @WARHERO388
    @WARHERO388 3 роки тому

    its working but for some reason I can only move up and to the left , when I move the joystick down and to the right neither of them works and I reversed the controls like you did at the end and then I could only move down and right like only half the joystick works.. any ideas to whats causing this?

  • @codeencoded1741
    @codeencoded1741 3 роки тому

    Can we use this with all type of remote

  • @kholidal-wahid.m3003
    @kholidal-wahid.m3003 19 днів тому

    it's work for dualsense controller?

  • @selagee7550
    @selagee7550 4 роки тому +1

    this channel doesn't get enough attention

  • @ukaszzkrakowa2829
    @ukaszzkrakowa2829 10 місяців тому

    Is it possible in C ?

  • @minoritypioneer7564
    @minoritypioneer7564 4 роки тому

    I love the project. Could you do one with dji tello drone with full set up and walk through with open cv.

    • @murtazasworkshop
      @murtazasworkshop  4 роки тому

      Thanx. I did do a tutorial with dji tello and opencv . you can check it out here
      ua-cam.com/video/vDOkUHNdmKs/v-deo.html

  • @programmingdigest7582
    @programmingdigest7582 4 роки тому

    Great works sir😍

  • @itsmeintorrespain2714
    @itsmeintorrespain2714 4 роки тому

    Hi, I hope that you can help me. When I run the JoyStick module with the PS4 controller connected I get the following error:
    Traceback (most recent call last):
    File "/home/pi/mu_code/JoyStickModule.py", line 46, in
    main()
    File "/home/pi/mu_code/JoyStickModule.py", line 40, in main
    print(getJS('share')) # To get a single value
    File "/home/pi/mu_code/JoyStickModule.py", line 19, in getJS
    axiss[event.axis] = round(event.value,2)
    IndexError: list assignment index out of range
    If I run the module without the controller connected it completes successfully.
    Any ideas about the problem?
    Fantastic tutorials by the way!

    • @OmarHesham145
      @OmarHesham145 3 роки тому

      same error here, any idea how to fix?

    • @itsmeintorrespain2714
      @itsmeintorrespain2714 3 роки тому

      @@OmarHesham145 I did fix it but I cannot remember how! I'll re-investigate the error and get back to you ASAP.

    • @chorouksalmam7452
      @chorouksalmam7452 3 роки тому

      @@itsmeintorrespain2714 Your Robot is he moving Backward ?

    • @itsmeintorrespain2714
      @itsmeintorrespain2714 3 роки тому

      @@OmarHesham145 I hand-typed his code straight off the video and got that error. Eventually, in desperation, I then copied and pasted his code from his website and it worked! My code and his code are identical on the face of it but obviously there was some sort of typo in my typing that I have actually never identified.

    • @itsmeintorrespain2714
      @itsmeintorrespain2714 3 роки тому

      @@chorouksalmam7452 Yes, forward, backward, left turn and right turn, no issues whatsoever.

  • @johnstreety6682
    @johnstreety6682 4 роки тому

    When I run your code all I get is zeros. Do you have any idea why this might be happening?

  • @jimmykan7873
    @jimmykan7873 4 роки тому

    Can this be used with Sony PS3 controller?

    • @murtazasworkshop
      @murtazasworkshop  4 роки тому

      I doubt it will

    • @jimmykan7873
      @jimmykan7873 4 роки тому

      @@murtazasworkshop Hi, I got my PS4 joystick paired and the test program run without errors but only give one column of 0, and buttons are not responding.

    • @fady8205
      @fady8205 3 роки тому

      @@jimmykan7873 did you find any solution for this

  • @Cvile69
    @Cvile69 2 роки тому

    thank you