|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#19
|
|||||
|
|||||
|
Re: Control Problems
It sounds like your y-axis is correct (forward is forward, back is back), but your x-axis, which controls the turn, needs to be reversed.
Prior to the mixing equation you can use p1_x = 254 - p1_x to reverse the direction of your turn. e.g., Code:
p1_x = 254 - p1_x; pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127); pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127); Last edited by Mark McLeod : 15-02-2006 at 15:40. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Concept of PID explained | ConKbot of Doom | Technical Discussion | 11 | 27-01-2008 00:11 |
| Electronic Speed Control Problems | DustinB_3 | Electrical | 9 | 09-11-2005 23:42 |
| Pre-manufactured control box for FIRST | Ben.V.293 | Technical Discussion | 19 | 22-08-2005 12:53 |
| 2005 RadioShack Innovation In Control Award--What Won? | Billfred | Control System | 8 | 12-06-2005 01:51 |
| Robot Rodeo - fixing control problems | Gary Dillard | Off-Season Events | 7 | 26-10-2004 00:46 |