|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: default code and the actual robot
we are trying to fix this part:
pwm13 = pwm14 = Limit_Mix(2000+ p1_y + p1_x - 127); pwm15 = pwm16 = Limit_Mix(2000+ p1_y - p1_x + 127); ok here's the thing... pwm 13 and 14 should be on one side and 15 and 16 on the other, but we got 13 and 15, and 14 and 16. so what can be fixed in the code? |
|
#2
|
||||
|
||||
|
Re: default code and the actual robot
nah never had a problem with the default code (make sure you are reading the default code reference guide if you are planning on hacking up the default code) either you are plugging in 13, 15, 14, and 16 wrong or the aliases for them are screwed up, check in "ifi_aliases.h" and check everything is ok in there......other than that im all out of ideas at the moment.....
|
|
#3
|
|||
|
|||
|
Hardware problem?
Quote:
Maybe somebody's already said this, but have you checked the connections from each PWM output to the Victor 884's? Then check the connections from the Victor's to the motors. If you "fix" the code without fixing the hardware connections, your robot might work for now. But when somebody realizes that the connections are incorrect and fixes those, your robot will stop working and it'll be hard to debug. Check software, hardware, then repeat. Last edited by SilverStar : 24-01-2004 at 10:55. |
|
#4
|
||||
|
||||
|
Re: Hardware problem?
bup forget it...we got it fixed....IT WAS THE WIRING! we are using two controllers to get the robot going...thx for the advices....
but we still need to control the speed, anyone got that? |
|
#5
|
|||
|
|||
|
Re: Hardware problem?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help On Coding 2K1 Controller | GregTheGreat | Programming | 9 | 05-12-2003 18:35 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |
| New software?? | mjt902 | Programming | 2 | 08-01-2003 10:40 |
| PBASIC 2.5 answer from Parallax | JasonS | Programming | 6 | 07-01-2003 19:21 |
| Team 237 unleashes a "Beast" | Elgin Clock | Robot Showcase | 5 | 27-03-2002 21:09 |