Community Question

Does anyone know how to have a directional servo stop when a button is released on the phone app? i can do this when i press the arrow keys on the desktop but can't seem to figure a way to prevent the phone app from locking in a direction when letting go of the button. I have to press stop. Any ideas? Thanks.
DJ Sures
Commented January 2017
I created this Lesson which explains the concept of Movement Panels in greater detail: https://www.ez-robot.com/Tutorials/Lesson/77?courseId=6
robtbldr
Commented January 2017
I got the joystick working in the mobile app with the continuous rotation panel, but turning is a chore. On the desktop, turning with arrow keys works like a charm. Can I build buttons that behave the same way in the mobile app? As in move forward when pressed but stop when let go?
DJ Sures
Commented January 2017
If you wish for quicker turning, either disable the speed control on the joystick or use movement buttons, as in the tutorial i posted above. Here's a screenshot of the section i'm referring to for reference...

User-inserted image

There are blue question marks beside the options which explain what they do. For example, to disable speed control on the joystick.

Have fun!
robtbldr
Commented January 2017
I still have the problem of button not releasing right or left till I press stop. I have tried the joystick with no speed control but hitting it directly on left or right is difficult. If I could duplicate the keyboard arrow function it would be perfect!
DJ Sures
Commented January 2017
Again, there is no OnRelease on the mobile app.

You may also change the sensitivity of the joystick pad with speed control disabled if you wish to customize the behavior.

Have fun!
Question
Avatarrobtbldr
Asked on Sunday, January 15, 2017