|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Autonomous failing
Quote:
I'll report back with data tomorrow if the problem persists. |
|
#2
|
||||
|
||||
|
Re: Autonomous failing
For the joystick problem, my advice is to not mess with the joystick values. Negating them is pretty much a hack. What's going on is in begin.vi with the open4motors command, you put in some "invert motors" in there, which would need to be changed. What I do for these is put the robot on it's side so you can see each wheel (blocks will work okay, if you have to). Then push the joystick all the way forward (make sure you remove all the invert commands in teleop). If any (or all) of the motors are going the incorrect way, correct them. Make sure all three basic commands work (forward/backward should have all wheels going the same way; strafing should have each side's wheels going either towards or away each other, and the two side should be opposite; and rotating should have one side go forward and the other side go backward.)
If only one or two of those commands work and the other ones make the robot go wonky, make sure there aren't ANY inverts for your joysticks (except for the y one in the drive function) and if there aren't you can invert stuff. |
|
#3
|
|||
|
|||
|
Re: Autonomous failing
I forgot to mention it occurred randomly. On our initial run everything was fine, then everything started screwing up after a normal deploy without any drive-related changes. With our current inversion settings (which are correct) and with the negated and swapped joysticks autonomous works correctly (the Jag LEDs indicate forward motion from the correct controllers).
Last edited by dotbran : 05-02-2011 at 14:05. Reason: It can, in fact, be an inversion issue. |
|
#4
|
|||
|
|||
|
Re: Autonomous failing
Added conditional inversion. It seems to be working, but then again I don't have the base to test with.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|