|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: ftc mecanum code
Do you have any teleop code from your mechanum code from previous years
|
|
#2
|
|||
|
|||
|
Re: ftc mecanum code
Here are the screen shots of our code.
There are 3 pictures. The way it works by adding and subtracting the values of the joysticks depending of the wheel. The middle attempts to normalize the value of the joysticks because if you don't it will end up driving really fast all the time. **I have not included our code from last year directly because we had a really weird problem with our code that we couldn't figure out. When ever the joystick value got higher than aprox. 100 the motor outputs were reversed. I rewrote this code several times and could never get it to work. |
|
#3
|
||||
|
||||
|
thanks so much for the screenshots these will come in handy for programming our robot. i really appreciate it. now my team will be able to do mechanum. we have been debating on whether or not to use mechanum it all depended on if we had code or not.i could talk to one of our coders to fix your code problem.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|