Go to Post Without fail, judges always come by when the spokespeople are in the bathroom, so others should be able to cover until they're back. - Jacob Bendicksen [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 17-01-2011, 16:18
mattiej's Avatar
mattiej mattiej is offline
Programmer Guy
FRC #3413 (Mad Cows)
Team Role: Programmer
 
Join Date: Dec 2010
Rookie Year: 2009
Location: Coppell Texas
Posts: 54
mattiej is an unknown quantity at this point
Re: Holonomic Code Problems

[quote=1075guy;1002078]You haven't told us anything about the setup on your robot. [quote]

Sorry about that. Forgot to. Here is a picture of my setup:



Quote:
Originally Posted by Grim Tuesday View Post
Just to clarify, by holomic, do you mean omniwheels, or mecanum?
Mecanum

Quote:
Originally Posted by Mark McLeod View Post
It can be due to a mis-calibrated joystick.
You can check your joystick on the PC by going to Control Panel -> Game Controllers to see what it thinks the joystick is doing.

It could be due to mis-calibrated speed controllers (less likely). You can test this by temporarily changing your code to use "0" constants to feed your Holonomic Drive function. (This will also tell you if it's your joystick input.)

If your wheels are still turning with constant zero's in place, then it's probably a wiring issue.
This will be the next thing I will try to check. It's possible, but I tried adjusting the joysticks. Just as a question, what should I change if that is the problem?

Quote:
Originally Posted by 3p1c w1n View Post
That code is for use with a joystick that can rotate. The axis3, using a standard joystick, would be for the throttle control on the joystick. if you are using a non-rotating joystick and the throttle is not exactly centered, then the wheels would move.
Quote:
Originally Posted by 3p1c w1n View Post
you could also assign the rotation to a 2nd joystick like we're using in our code as of now, since we're using standard joysticks.



Uploaded with ImageShack.us
Sorry I wasn't excatly clear. I meant to say that I had changed it from that pic, and hooked it up like 3p1c w1n has. I put the second joystick's x axis to control the rotation.
__________________


Man pretending to be interested: "So how does this robot of yours work?"
Me tired of man pretending to be interested: "Magic. And Purple Yetis."
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi