|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Mecanum drive cartesian problems
I am using the wpilib library and robotdrive. I believe that I have to reset the gyro and use getangle.
|
|
#17
|
|||||
|
|||||
|
Re: Mecanum drive cartesian problems
Quote:
|
|
#18
|
|||
|
|||
|
Re: Mecanum drive cartesian problems
Quote:
Is there a purpose to Polar/Cartesian switch? Isn't calling cartesian with gyro-angle==0 equivalent to to calling Polar? Perhaps it is meant to switch between field-centric and robot-centric? Not sure the CommandBase class will work in this year's lib so it may not just be load/go. Also, I think atan2 is on Math now, not MathUtils because we have proper java this year, so those are the obvious tweaks I see that will be necessary Last edited by cstelter : 06-02-2015 at 13:44. |
|
#19
|
|||
|
|||
|
Re: Mecanum drive cartesian problems
I am having trouble finding the java code mentioned by GeeTwo.
|
|
#20
|
|||
|
|||
|
Re: Mecanum drive cartesian problems
Does this work better for you?
https://github.com/frc3946/MecanumDr...libj/templates |
|
#21
|
|||
|
|||
|
Re: Mecanum drive cartesian problems
Thank you. That helps.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|