|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Control a motor without the use of the joystick
How can you control a motor without using a joystick. I need to know for one of my class exercises. What code would I need to use to figure out this problem.
|
|
#2
|
||||
|
||||
|
Re: Control a motor without the use of the joystick
Look at the examples...the 'Motor Control Example' uses a simple slider control on the screen.
|
|
#3
|
||||
|
||||
|
Re: Control a motor without the use of the joystick
Quote:
What I am asking for is more information on what you need to do with the motor. What do you expect it to do, what inputs can you provide if the joystick is not an option. That is the type of thing we need to know to help you. |
|
#4
|
|||
|
|||
|
Re: Control a motor without the use of the joystick
I want to be able to control the motors through the inputs on the computer, not the joystick. I want to be able to go onto the driver station and use the inputs and controls on the screen to make the robot move forward and backwards.
|
|
#5
|
||||
|
||||
|
Re: Control a motor without the use of the joystick
Oh, you mean you want to use the computer's GUI to control the robot?
I think your best option would be to use the Driver Station's simulation of the PSoC I/O. While it would be nice to build an application to send whatever info you want to the robot, this is not allowed within the rules of FRC. |
|
#6
|
||||
|
||||
|
Re: Control a motor without the use of the joystick
Quote:
I still think you would be better off using a simple example and control it from your computer using the slider by simply selecting the RUN icon. Be sure and use the example project and make sure the IP address for the project is the same as the cRio is formatted for. You can then control the robot from the motor control.vi's Front Panel by using the slider. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joystick Read VI and Passing Variables to the Control | Stealth | NI LabVIEW | 3 | 24-01-2010 12:59 |
| Is it possible to use CAN, a camera, and the wireless without the 2Can adapter? | Steven Sigley | CAN | 4 | 22-01-2010 16:50 |
| Camera servo control off of the Joystick axes | m3rc1l3ss | NI LabVIEW | 5 | 13-03-2009 20:00 |
| Can any one help us with programing the encoder to control the motor by ticks? | Must Be Drama | NI LabVIEW | 4 | 09-02-2009 20:54 |
| Why use the RC to control Pan/Tilt | Joe Hershberger | Programming | 15 | 30-01-2007 23:41 |