|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#11
|
||||
|
||||
|
i want to change speed
But how can I change the rate at which the motor accelerates. For example, I need to move the joystick almost all the way forward to make the motor run at its max. speed. What if I want the motor to get to its max speed only half-way on the joystick.
I tried writing a loop for it like so: FOR pi_y=127 TO 254 p1_y=P1_y*2 I was hoping to make the motor go accelerate at double rate than before, but when I run it, the motor started running at full speed aytomatically, I couldn't control it from the joystick anymore. So, what modifications or additions should I make to my program to control the acceleration of the motor |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| switch speed control | wayne 05 | Programming | 6 | 01-10-2003 09:35 |
| Need a FIRST Robotics control system | kershawrobotics | General Forum | 3 | 07-07-2003 09:49 |
| Power, speed, and torque... AGH | Gui Cavalcanti | Technical Discussion | 5 | 10-11-2002 19:02 |
| more control options | smokescreen | Technical Discussion | 17 | 05-03-2002 15:41 |
| Prgm4 2 joystics control 1 speed cntrl??? | punarhero | Programming | 7 | 21-02-2002 09:57 |