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.
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?
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 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.
@@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.
Magnificent! I was using Robot Operation System Joy Node, but I'll be considering this tutorial as well. Thank you Mr.Murtaza.
very nice video bro
is it important to include joystick module in the project?
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.
Is there updated version for ps5 pad?
What are the commands to install the drivers, mainly the long one?
@Murtaza's Workshop - Robotics and AI Will this work for any joystick module ??
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?
Can we use this with all type of remote
it's work for dualsense controller?
this channel doesn't get enough attention
Is it possible in C ?
I love the project. Could you do one with dji tello drone with full set up and walk through with open cv.
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
Great works sir😍
Thanks a lot
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!
same error here, any idea how to fix?
@@OmarHesham145 I did fix it but I cannot remember how! I'll re-investigate the error and get back to you ASAP.
@@itsmeintorrespain2714 Your Robot is he moving Backward ?
@@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.
@@chorouksalmam7452 Yes, forward, backward, left turn and right turn, no issues whatsoever.
When I run your code all I get is zeros. Do you have any idea why this might be happening?
Uncomment line 38 & 39
Can this be used with Sony PS3 controller?
I doubt it will
@@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.
@@jimmykan7873 did you find any solution for this
thank you