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.
There is no on release for buttons on the mobile app.
By "directional servo", you may mean "continuous rotation"? If so, use a joystick pad or servo pad control. Otherwise, a start and stop button may be used.
Thanks, can the joystick be used to drive the continuous rotation servos in 2 different directions to turn?
You bet - and controls the speed.
The center (90 degrees) is the center of a continuous rotation's STOP position. The further you move away from 90 degrees in either direction controls the speed of the continuous rotation servo in that direction.
100 < - Turning left faster
91 < - Turning left slower
90 <- Stopped
89 <- Turning right slower
80 < - Turning right faster
Set the servo pad so the center of the max and min value is 90
Adjust the POT on the continuous rotation servo to ensure it indeed stops at the 90 degree position
Also, if you are using the continuous rotation servo for wheels to steer the robot, it would make most sense to use a Continuous Rotation Movement Panel. This way you can use the software's advanced movement features. More information can be found in the learn section or by pressing ? (question mark) on each control to read the specific manual page. Here's direct link to the continuous rotation Movement Panel: http://www.ez-robot.com/Tutorials/Help.aspx?id=12
Here is a direct link on how to adjust a continuous rotation to STOP at 90 degree pwm: http://www.ez-robot.com/Tutorials/UserTutorials/190/1
Lastly, here is how a servo works: http://www.ez-robot.com/Tutorials/Lesson/48?courseId=6
Is there a continuous rotation panel on the mobile app?
Continuous Rotation Movement Panel is a Movement Panel, and is not displayed in the App. Mobile Apps are interfaces, not controls. A continuous rotation Movement Panel is a control. The app will therefore use either the Movement Joystick or ez-script commands "Forward(), Left(), etc)" to control the Movement Panel.
A Movement Panel is how your robot moves. You can have one Movement Panel per project. If your robot uses 2 continuous rotation servos with wheels, then add a continuous rotation Movement Panel, as linked to in my previous response.
Once you have a Movement Panel, then you can begin using EZ-Script commands for movement and other controls for movement, such as camera tracking, etc.
The learn section has more information than i can write in a response
To expand on what i'm writing...
If you have a Movement Panel added to your project, then Movements are not universally controlled by any control. This means that if you have a Movement Panel (of any kind), then any other control that wants to MOVE the robot can do so because they know how. This happens magically in EZ-Builder.
So, if you have a Continuous Rotation Movement Panel added to the project, then you can use EZ-Script commands such as Forward() or Stop() or Left(). You can also have any other control that controls movement.
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?
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...
There are blue question marks beside the options which explain what they do. For example, to disable speed control on the joystick.