|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Programming full "holonomic" for mecanums
Correct me if I'm wrong, but shouldn't this already be fully implemented in an encapsulated method (likely Holonomic Drive)? This is the case with LabView, and has been since about midway through the 2010 season.
All you should have to do is feed in the x, y, and z-axis of your joystick as parameters to the Holonomic Drive method. I haven't personally seen the Java WPI so I can't say for sure. Check? |
|
#2
|
|||
|
|||
|
Re: Programming full "holonomic" for mecanums
Quote:
I can argue that making the function yourself is 10x better. First, you learn how it works; its not a black box to you. Second, you have FULL control over the code. Now this year, our code is getting ramped up; it has actual structure Last year I just did spaghetti code, because of my laziness. You really can't have structure with a black box in the middle of it.There is no challenge when using the driver class; its like putting together a kitbot. Sure it works and its easy, but where is the accomplishment in that? |
|
#3
|
|||
|
|||
|
Re: Programming full "holonomic" for mecanums
It's funny that you say that, because I and a collaborating programmer spent the better part of a week writing a custom VI for Holonomic Drive last year, only to be given the "black box" - which was almost the exact same code - in the LabView update a week later.
I will admit that an understanding of the underlying code and concept was very beneficial. However, for novice programmers or those just looking to get a drive system working at the moment, there's really no need to reinvent the wheel, so to speak. |
|
#4
|
|||
|
|||
|
Re: Programming full "holonomic" for mecanums
Quote:
|
|
#5
|
||||
|
||||
|
Re: Programming full "holonomic" for mecanums
Quote:
What I posted had commenting that explained what was being done and why. The RobotDrive::HolonomicDrive is not well documented in the C++ help file and library reference file. If you are familiar with it, would you please visit this thread and share what you know? *well, not "fully". it doesn't appear to support the gyro like the LabVIEW version does. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|