Se puede simular al mismo tiempo teclas del teclado con switchs perdona
@oneoffartist25 күн бұрын
not sure why, but this python code is NOT staying open, no matter what i do. ive added it to my PATH, edited it and added "input()" and other variations of the input function, including "atexit" functions... i literally had a thumbstick running on this code a few weeks ago. im not sure whats happening but im actually about to give up.
@AnnelDaniel12 күн бұрын
same man it works for sometime and then just closes by its own
@bencluroe4183Ай бұрын
Great vids mate, I’m looking for an xsr 700, that’s what brought me to your channel and you’ve proved it can literally do everything on 2 wheels. Do you still have it? I’m hunting for one now but I only have 4k so struggling a little. I can’t believe how underrated they are. 185kg 70hp and with the right upgrades can trail. Amazing
@ballamotoАй бұрын
Hey! Thanks for watching. I definitely still have it, don't think I'll ever part with it now! 😂 Head over to the "Yamaha XSR700 Enthusiasts" or "Yamaha XSR700 Owners" Facebook groups and you'll find loads of helpful people and info. And maybe even some bikes for sale!
@bencluroe4183Ай бұрын
@@ballamoto great tip thanks, any plans to return to socials? The contents great mate.
@ballamoto26 күн бұрын
@bencluroe4183 I do, but I've been saying that for a while now! A few too many things going on for now, but I'd like to get back behind the camera sometime.
@fetBАй бұрын
4:48 dude, why do you show the guy for ever and then b-roll the bike for a fraction of a second, and on top make the transition painfully slow
@ballamotoАй бұрын
Because I didn't take enough b-roll footage and I'm not a professional. Sorry!
@fetBАй бұрын
@@ballamoto enough for what though. Like who set the rules. You could just slow the footage down or use lasting still images. I mean you can cut out the presenter entirely because he's irrelevant. Everyone wants to see the bike, if anything
@fetBАй бұрын
@@ballamoto ps: aside from slowing the footage down, maybe you didnt record in enough frames, you could also play the footage backwards
@ballamotoАй бұрын
@@fetB all good points, wish I had a camera that shot 120fps at the time so I could've stretched it out a bit. Shots I took were too short and not slow enough (even after slowing them). Lesson learnt. Also wish I had a gimbal as a lot of my shots were too shaky, and at 1080p there's only so much stabilisation I can do in post without ruining the quality). Excuses aside, I was there to have fun mainly and tried documenting it as I went. Agree it needs improvment!
@fetBАй бұрын
@@ballamoto gotcha. The footage does look nice otherwise, i mean its very crisp high res and in focus etc. Its just gone too quick
@kentchristianmartinez3352Ай бұрын
Hey! You forgot your phone.
@josemanueldiaz92042 ай бұрын
Hola, he comprado el protector para la zona de tubos de escape, mi modelo es el mismo que el del video y la pieza ha sido comprada a través del mismo fabricante pero me dicen en la casa oficial de yamaha que está pieza no es para mi modelo (yamaha xsr700 año de fabricación 2019) por favor podríais indicarme o remitirme instrucciones de montaje. Escribo desde Madrid, disculpen que escriba en español. Gracias y un saludo
@leeinwis2 ай бұрын
The tail tidy isn't way under , aka retarded, so that's good. You'll get a hefty fine and be undoing it otherwise.
@Voyagerss772 ай бұрын
Hey Mate, Great video and awesome bike but I really liked your clothes as well, could I please know What jacket and pair of jeans you have on this video, really nice looking both, much appreciate it
@wunsz2 ай бұрын
And that's the video I was looking for! Perfect! Thanks for the upload
@Dip-to-121192 ай бұрын
I want the code😢😢
@rocketcityastro2 ай бұрын
good job you turned an analog joystick into a digital D-pad
@pq3667Ай бұрын
Xd
@icomefromcanadia27833 ай бұрын
Bike looks great! For the TripMachine wraps and tool roll do you have "tobacco tan" or "tobacco brown"? I think tan and maybe it's just aged a bit darker but it's hard to tell. I'm considering both wraps and roll and the colour you've got looks perfect. Thanks!
@Griffon773 ай бұрын
Does anyone know if there is a version for console player that use kbm
@BloxyMind3 ай бұрын
i keep getting the error Traceback (most recent call last): File "C:\Users\BloxyMind\downloads\Joystickctrl.py", line 4, in <module> arduino = serial.Serial('COM3', 115200, timeout=.1) #serial input from arduino. change COM port to wherever your arduino is connected ^^^^^^^^^^^^^ AttributeError: module 'serial' has no attribute 'Serial' can someone plz help me
@beckham2637Ай бұрын
I get it too, I cannot find anything about this
@cptntwang3 ай бұрын
Good music
@AdrianRConant3 ай бұрын
Would the riding mode 1 of the XRS900 be good to start riding as a beginner? I'm considering to buy the XSR700, but I really love the style of 900. I'm struggling to make a decision. Please help.
@MM-qv5lf3 ай бұрын
Excellent quality review, with great footage, sound, everything, great job. 👍👍 Awesome bike too.
@TeddyMonacelli4 ай бұрын
I really appreciate how thorough this is. I will have to give this a try. Did you ever upload any different 3d printed enclosures?
@hoangnguyenvan10654 ай бұрын
nice XSR 700, nice guy, I so sad when XSR 700 not sell in Vietnam
@xth3x5 ай бұрын
The python code wasn't running while I had arduino open, so if you have a permission error , run the python code with arduino closed.
@omerhalitipekci22565 ай бұрын
wow, i recently made a keyboard with leonardo and joystick shield. im using it to play 8 bit games but this is awesome!
@xth3x5 ай бұрын
The python code is not working , I have the bin stored in the user APPDATA folder , does it need to be in the system files for this to work, I previously created a auto mouse clicker with no administrative issues. All help welcomed C:\Users\haydo\AppData\Local\Programs\Python\Python312\python.exe C:\Users\haydo\Desktop\Joystick\JoystickP3.py Traceback (most recent call last): File "C:\Users\haydo\Desktop\Joystick\JoystickP3.py", line 4, in <module> arduino = serial.Serial('COM4', 115200, timeout=.1) #serial input from arduino. change COM port to wherever your arduino is connected ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialwin32.py", line 33, in __init__ super(Serial, self).__init__(*args, **kwargs) File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialutil.py", line 244, in __init__ self.open() File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialwin32.py", line 64, in open raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError())) serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5) Process finished with exit code 1
@beckham2637Ай бұрын
Try closing the Arduino IDE. I heard some permission stuff does that.
@RenzoKlasik5 ай бұрын
Wow... Another XSR 700 owner... I really love this bike... New subs here from Philippines... RS brother....
@SydneyHustle5 ай бұрын
Hi can I use this wireless charger with my Ebike Quad Lock Out Front Mount the usb port on the Ebike supports usb 2.1 Amps?
@pavloscore5 ай бұрын
Do you need to remove the whole thing to change oil/oil filter or just the front bracket?
@ballamoto5 ай бұрын
I remove the bash plate, it's only 4 bolts and slides away from the bars
@pavloscore5 ай бұрын
@@ballamoto Dammit now I have to buy this 😅
@ballamoto5 ай бұрын
@@pavloscore 🤣 I recommend! It's a great setup 👍
@aztech12985 ай бұрын
Dear everyone in the comment section who has not found a fix for the joystick button. I have also not found an "easy fix" like changing a value from low to high but I have tinkered with the code for the Arduino so that the button works, here it is below: const int JoyStick_pin = 8; //plug Joystick 'Button' into pin 8 const int X_pin = A0; //plug joystick X direction into pin A0 const int Y_pin = A1; //plug joystick Y direction into pin A1 int xc; int yc; int JSButton; #include <ezButton.h> ezButton button(JoyStick_pin); void setup() { // for (int i = 0; i < 2; i++) { // pinMode(JoyStick_pin, INPUT); button.setDebounceTime(50); Serial.begin(115200); } void loop() { button.loop(); int x = analogRead(X_pin) - 517; //read x direction value and -517 to bring back to around 0 int y = analogRead(Y_pin) - 512; //read y direction value and -512 to bring back to around 0 if (x <-10) { //joystick has off set of +/-8 so this negates that xc = 0; //turn analogue value into integer. 0, 1 or 2 depending on state } else if (x >10) { xc = 2; } else { xc = 1; } if (y <-10) { yc = 0; } else if (y >10) { yc = 2; } else { yc = 1; } int buttonstates = 0; buttonstates = button.getState(); //int buttonStates = 0; //set starting value of Joystick button //buttonStates |= ((digitalRead(JoyStick_pin) == LOW) ? 1 : 0) << 0; Serial.print("S"); //start printing the data, format is Sxc,yc,buttonStates > S1,1,0 Serial.print(xc); Serial.print(","); Serial.print(yc); Serial.print(","); Serial.println((buttonstates)); delay(40); } to make this work you will need to install the "ezbutton" library for the Arduino by going to tools > library manager then searching for it and installing it like that. this should make the button 0 when presses and 1 when not pressed in the serial monitor. after you must go to the python code and change the: if z = 1. to: if z = 0 and it should work. other than that thanks for the tutorial BallaMoto my brother likes his new gadget (:
@santinocecconi25175 ай бұрын
Thanks Bro, You were the only one with a solution to that problem.
@laspermf84086 ай бұрын
When I want to open the program, it opens for a moment and then closes automatically
@Dex1kFN6 ай бұрын
do you have any idea of how to make it so its not like the keyboard arrow buttons but as an actual controller thumb stick?
@ImethFernando7 ай бұрын
Hi this is really great, but I think there is something wrong because the serial monitor says the value of the button press is set to 1 and it will just stay that way even if I press the button. Please say if I did something wrong with the code. Thanks
@cianok20067 ай бұрын
One of the best XSRs. Great video
@bossHogOG7 ай бұрын
The music adds nothing but a distraction.
@Goofyahhguy1247 ай бұрын
hey for some reason it works just not the Jsbutton
@superpolygaming75858 ай бұрын
Hello there, I have a small question about the actual button press unit of the code. Ive fiddled a bit with it, such as setting it to check if the input was LOW instead of HIGH, but my serial monitor permanently has the value of the button press set to 1. even when I press the joystick, nothing happens. If anyone has any solution for this, please leave a reply. Thanks :)
@tmpace96 ай бұрын
I add to switch the digital pin on my board for it to work.
@Peepapailong8 ай бұрын
fcเลยครับ
@baddanerachid89098 ай бұрын
thank you so much for that it suprisingly worked bruh
@user-cl9ke4df2w8 ай бұрын
metro exodus is peak
@chandanianjalika67988 ай бұрын
can you please tell how to do it with a funduino board.I was trying to to it nearly 2 years but it didn't at a single time..
@mhsucio68308 ай бұрын
Can you pleasee PLEASE provide me your code? I just need the joystick to work on my PC and thats it.
@Hey-Malo9 ай бұрын
God! TY
@themarvelousone89519 ай бұрын
in my country we only have xsr155 and xsr900. but i want xsr700 the most. still waitng for it.. the best xsr i've ever seen.
@MrGROSSI159 ай бұрын
what jacket do you use?
@RealEstateSafelyNavigated10 ай бұрын
Those scorpion rally tires are perfect! And I’m digging that green tank armadillo seat combo too! Nice work!
@Bluestixx10 ай бұрын
That green is one of Yamaha's best colors around. I have an XVS950 C-Spec in the same color and now I don't think I could stand to have a bike in any other color lmao
@bob2_10 ай бұрын
I was looking for this, thanks.
@jonnybennett390410 ай бұрын
Great video Matt 👍🏻
@midnight803110 ай бұрын
Does anyone understand why the JSButton wont stop being pressed?
@Goofyahhguy1247 ай бұрын
idk i have the same problem
@Hopeless_and_Forlorn11 ай бұрын
Thank you for the information. As a Yank, I must say that the British method of adding accessories has not changed since it was established by your pre-WWII aircraft designers: There Is More Room on the Outside of the Machine Than on the Inside of the Machine. I pick up my new XSR-700 from the dealer three days from now.
@user-sw2lv3zp6o11 ай бұрын
Neat tank bag. What is it, please?
@ballamoto11 ай бұрын
Thanks! It's the Yamaha sports heritage bag and bracket.
@user-sw2lv3zp6o11 ай бұрын
Thanks.@@ballamoto
@user-sw2lv3zp6o11 ай бұрын
Excellent review. Does the 900 pull from low down the rev range as well as the 700? Nick J
@ballamoto11 ай бұрын
It does indeed! One thing I was really impressed with actually, much like the 700. Which just makes it so easy to ride on any roads at any speed in pretty much any gear! 😂
@user-sw2lv3zp6o11 ай бұрын
Thanks for replying. That low-down shove is so important. I have an SCR950. A bit heavy but so much more impressive than the specs suggest. Nick J@@ballamoto
Пікірлер
Se puede simular al mismo tiempo teclas del teclado con switchs perdona
not sure why, but this python code is NOT staying open, no matter what i do. ive added it to my PATH, edited it and added "input()" and other variations of the input function, including "atexit" functions... i literally had a thumbstick running on this code a few weeks ago. im not sure whats happening but im actually about to give up.
same man it works for sometime and then just closes by its own
Great vids mate, I’m looking for an xsr 700, that’s what brought me to your channel and you’ve proved it can literally do everything on 2 wheels. Do you still have it? I’m hunting for one now but I only have 4k so struggling a little. I can’t believe how underrated they are. 185kg 70hp and with the right upgrades can trail. Amazing
Hey! Thanks for watching. I definitely still have it, don't think I'll ever part with it now! 😂 Head over to the "Yamaha XSR700 Enthusiasts" or "Yamaha XSR700 Owners" Facebook groups and you'll find loads of helpful people and info. And maybe even some bikes for sale!
@@ballamoto great tip thanks, any plans to return to socials? The contents great mate.
@bencluroe4183 I do, but I've been saying that for a while now! A few too many things going on for now, but I'd like to get back behind the camera sometime.
4:48 dude, why do you show the guy for ever and then b-roll the bike for a fraction of a second, and on top make the transition painfully slow
Because I didn't take enough b-roll footage and I'm not a professional. Sorry!
@@ballamoto enough for what though. Like who set the rules. You could just slow the footage down or use lasting still images. I mean you can cut out the presenter entirely because he's irrelevant. Everyone wants to see the bike, if anything
@@ballamoto ps: aside from slowing the footage down, maybe you didnt record in enough frames, you could also play the footage backwards
@@fetB all good points, wish I had a camera that shot 120fps at the time so I could've stretched it out a bit. Shots I took were too short and not slow enough (even after slowing them). Lesson learnt. Also wish I had a gimbal as a lot of my shots were too shaky, and at 1080p there's only so much stabilisation I can do in post without ruining the quality). Excuses aside, I was there to have fun mainly and tried documenting it as I went. Agree it needs improvment!
@@ballamoto gotcha. The footage does look nice otherwise, i mean its very crisp high res and in focus etc. Its just gone too quick
Hey! You forgot your phone.
Hola, he comprado el protector para la zona de tubos de escape, mi modelo es el mismo que el del video y la pieza ha sido comprada a través del mismo fabricante pero me dicen en la casa oficial de yamaha que está pieza no es para mi modelo (yamaha xsr700 año de fabricación 2019) por favor podríais indicarme o remitirme instrucciones de montaje. Escribo desde Madrid, disculpen que escriba en español. Gracias y un saludo
The tail tidy isn't way under , aka retarded, so that's good. You'll get a hefty fine and be undoing it otherwise.
Hey Mate, Great video and awesome bike but I really liked your clothes as well, could I please know What jacket and pair of jeans you have on this video, really nice looking both, much appreciate it
And that's the video I was looking for! Perfect! Thanks for the upload
I want the code😢😢
good job you turned an analog joystick into a digital D-pad
Xd
Bike looks great! For the TripMachine wraps and tool roll do you have "tobacco tan" or "tobacco brown"? I think tan and maybe it's just aged a bit darker but it's hard to tell. I'm considering both wraps and roll and the colour you've got looks perfect. Thanks!
Does anyone know if there is a version for console player that use kbm
i keep getting the error Traceback (most recent call last): File "C:\Users\BloxyMind\downloads\Joystickctrl.py", line 4, in <module> arduino = serial.Serial('COM3', 115200, timeout=.1) #serial input from arduino. change COM port to wherever your arduino is connected ^^^^^^^^^^^^^ AttributeError: module 'serial' has no attribute 'Serial' can someone plz help me
I get it too, I cannot find anything about this
Good music
Would the riding mode 1 of the XRS900 be good to start riding as a beginner? I'm considering to buy the XSR700, but I really love the style of 900. I'm struggling to make a decision. Please help.
Excellent quality review, with great footage, sound, everything, great job. 👍👍 Awesome bike too.
I really appreciate how thorough this is. I will have to give this a try. Did you ever upload any different 3d printed enclosures?
nice XSR 700, nice guy, I so sad when XSR 700 not sell in Vietnam
The python code wasn't running while I had arduino open, so if you have a permission error , run the python code with arduino closed.
wow, i recently made a keyboard with leonardo and joystick shield. im using it to play 8 bit games but this is awesome!
The python code is not working , I have the bin stored in the user APPDATA folder , does it need to be in the system files for this to work, I previously created a auto mouse clicker with no administrative issues. All help welcomed C:\Users\haydo\AppData\Local\Programs\Python\Python312\python.exe C:\Users\haydo\Desktop\Joystick\JoystickP3.py Traceback (most recent call last): File "C:\Users\haydo\Desktop\Joystick\JoystickP3.py", line 4, in <module> arduino = serial.Serial('COM4', 115200, timeout=.1) #serial input from arduino. change COM port to wherever your arduino is connected ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialwin32.py", line 33, in __init__ super(Serial, self).__init__(*args, **kwargs) File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialutil.py", line 244, in __init__ self.open() File "C:\Users\haydo\AppData\Local\Programs\Python\Python312\Lib\site-packages\serial\serialwin32.py", line 64, in open raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError())) serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5) Process finished with exit code 1
Try closing the Arduino IDE. I heard some permission stuff does that.
Wow... Another XSR 700 owner... I really love this bike... New subs here from Philippines... RS brother....
Hi can I use this wireless charger with my Ebike Quad Lock Out Front Mount the usb port on the Ebike supports usb 2.1 Amps?
Do you need to remove the whole thing to change oil/oil filter or just the front bracket?
I remove the bash plate, it's only 4 bolts and slides away from the bars
@@ballamoto Dammit now I have to buy this 😅
@@pavloscore 🤣 I recommend! It's a great setup 👍
Dear everyone in the comment section who has not found a fix for the joystick button. I have also not found an "easy fix" like changing a value from low to high but I have tinkered with the code for the Arduino so that the button works, here it is below: const int JoyStick_pin = 8; //plug Joystick 'Button' into pin 8 const int X_pin = A0; //plug joystick X direction into pin A0 const int Y_pin = A1; //plug joystick Y direction into pin A1 int xc; int yc; int JSButton; #include <ezButton.h> ezButton button(JoyStick_pin); void setup() { // for (int i = 0; i < 2; i++) { // pinMode(JoyStick_pin, INPUT); button.setDebounceTime(50); Serial.begin(115200); } void loop() { button.loop(); int x = analogRead(X_pin) - 517; //read x direction value and -517 to bring back to around 0 int y = analogRead(Y_pin) - 512; //read y direction value and -512 to bring back to around 0 if (x <-10) { //joystick has off set of +/-8 so this negates that xc = 0; //turn analogue value into integer. 0, 1 or 2 depending on state } else if (x >10) { xc = 2; } else { xc = 1; } if (y <-10) { yc = 0; } else if (y >10) { yc = 2; } else { yc = 1; } int buttonstates = 0; buttonstates = button.getState(); //int buttonStates = 0; //set starting value of Joystick button //buttonStates |= ((digitalRead(JoyStick_pin) == LOW) ? 1 : 0) << 0; Serial.print("S"); //start printing the data, format is Sxc,yc,buttonStates > S1,1,0 Serial.print(xc); Serial.print(","); Serial.print(yc); Serial.print(","); Serial.println((buttonstates)); delay(40); } to make this work you will need to install the "ezbutton" library for the Arduino by going to tools > library manager then searching for it and installing it like that. this should make the button 0 when presses and 1 when not pressed in the serial monitor. after you must go to the python code and change the: if z = 1. to: if z = 0 and it should work. other than that thanks for the tutorial BallaMoto my brother likes his new gadget (:
Thanks Bro, You were the only one with a solution to that problem.
When I want to open the program, it opens for a moment and then closes automatically
do you have any idea of how to make it so its not like the keyboard arrow buttons but as an actual controller thumb stick?
Hi this is really great, but I think there is something wrong because the serial monitor says the value of the button press is set to 1 and it will just stay that way even if I press the button. Please say if I did something wrong with the code. Thanks
One of the best XSRs. Great video
The music adds nothing but a distraction.
hey for some reason it works just not the Jsbutton
Hello there, I have a small question about the actual button press unit of the code. Ive fiddled a bit with it, such as setting it to check if the input was LOW instead of HIGH, but my serial monitor permanently has the value of the button press set to 1. even when I press the joystick, nothing happens. If anyone has any solution for this, please leave a reply. Thanks :)
I add to switch the digital pin on my board for it to work.
fcเลยครับ
thank you so much for that it suprisingly worked bruh
metro exodus is peak
can you please tell how to do it with a funduino board.I was trying to to it nearly 2 years but it didn't at a single time..
Can you pleasee PLEASE provide me your code? I just need the joystick to work on my PC and thats it.
God! TY
in my country we only have xsr155 and xsr900. but i want xsr700 the most. still waitng for it.. the best xsr i've ever seen.
what jacket do you use?
Those scorpion rally tires are perfect! And I’m digging that green tank armadillo seat combo too! Nice work!
That green is one of Yamaha's best colors around. I have an XVS950 C-Spec in the same color and now I don't think I could stand to have a bike in any other color lmao
I was looking for this, thanks.
Great video Matt 👍🏻
Does anyone understand why the JSButton wont stop being pressed?
idk i have the same problem
Thank you for the information. As a Yank, I must say that the British method of adding accessories has not changed since it was established by your pre-WWII aircraft designers: There Is More Room on the Outside of the Machine Than on the Inside of the Machine. I pick up my new XSR-700 from the dealer three days from now.
Neat tank bag. What is it, please?
Thanks! It's the Yamaha sports heritage bag and bracket.
Thanks.@@ballamoto
Excellent review. Does the 900 pull from low down the rev range as well as the 700? Nick J
It does indeed! One thing I was really impressed with actually, much like the 700. Which just makes it so easy to ride on any roads at any speed in pretty much any gear! 😂
Thanks for replying. That low-down shove is so important. I have an SCR950. A bit heavy but so much more impressive than the specs suggest. Nick J@@ballamoto
This is a seriously professional review
Thanks a lot!