Program Arm Using One Motor But Two Buttons - Vex

4 visualizaciones (últimos 30 días)
Chandler Dykes
Chandler Dykes el 2 de Oct. de 2016
Respondida: Anusha Sridharan el 6 de Oct. de 2016
What we are trying to do is get the arm to move clockwise and counter clockwise using only one motor but, we want to use two different gamepad buttons. One to make it move clockwise and the other to make it move opposite. We tried to do this but it did not work. Any help. We are usong the VEX support package.
  1 comentario
John D'Errico
John D'Errico el 2 de Oct. de 2016
Editada: John D'Errico el 2 de Oct. de 2016
The crystal ball is soooo foggy today. I even tried some Windex - no luck. Then I tried my set of MATLAB tarot cards. They suggest that your code is probably incorrect, or possibly I misread them, and they said you will come into a serious sum of money soon. So hard to read. :)
If you want some serious help, then show what you did. Even better is to learn to debug your code, since it can be incredibly difficult for someone (at a distance) to debug a large piece of code written by a novice, when nobody but you can actually test it.

Iniciar sesión para comentar.

Respuestas (1)

Anusha Sridharan
Anusha Sridharan el 6 de Oct. de 2016
You can take a look at the demo for creating a Tank Robot using an ARM Cortex-based VEX Microcontroller given in the link below:
This could be different from your actual workflow but you could use this as a starting-point.

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Test Model Components en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by