![]() |
default code and the actual robot
ok did anyone have problem with the default code not working with the 'default wiring'? cuz ours seems to have a problem and we're trying to fix it
|
Re: default code and the actual robot
*bump...:(
|
Re: default code and the actual robot
hey BK
:mad: please do try to edit your messages before you post them. this applies to theory 6 forums as well :mad: |
Re: default code and the actual robot
im not good at grammar
|
Re: default code and the actual robot
what is wrong specifically? i know we had to reupload the default code like the default code reference guide suggested....mainly our prob was with the compressor and that fixed it...
|
Re: default code and the actual robot
my question was that when u just built the default code and loaded it onto the robot, does it work (robot's movement) properly for you guys?
|
Re: default code and the actual robot
Quote:
|
Re: default code and the actual robot
Thanx for the info but we are still having trouble with the code and our robot. I was wondering if u edited or changed the defauls code in any way before putting it on the bot? cause we were having a lot of trouble. another thing i was just wondering was r u guys using one joystick for ur bot or r u guys using 2???? and for my finial question i was wondering how u guys set up the motors for ur wheels( like in which pwm output pin u put them in?) all ur help is greatly appreciated. thanx
|
Re: default code and the actual robot
What EXACTLY is the problem?
|
Re: default code and the actual robot
if we load the default code onto the robot, the joystick is messed, x and y are switched, do u see that problem?
|
Re: default code and the actual robot
I've seen it (left right on the joystick swapped)... but that should be easy to fix in the code...
|
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? |
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.....
|
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. |
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....:D but we still need to control the speed, anyone got that?
|
| All times are GMT -5. The time now is 00:28. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi