Go to Post [the last period is] a free for all, both goals are turned on, and any robot can go anywhere on the field and score in any goal (although I would recommend scoring in the correct goal, not your opponents :D ) - Ryan Foley [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   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
  #2   Spotlight this post!  
Unread 17-01-2011, 16:52
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Re: Holonomic Code Problems

From the picture, it looks like the wheels are mounted wrong...the top view should look like an "X" and not an "O".
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2011, 16:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic Code Problems

Quote:
Originally Posted by Jogo View Post
From the picture, it looks like the wheels are mounted wrong...the top view should look like an "X" and not an "O".
Yup. You need to swap the left&right or front&rear wheels


Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2011, 17:06
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:
Originally Posted by Ether View Post
Yup. You need to swap the left&right or front&rear wheels

When I looked up documentation on it, it said it can either look like a X or a diamond. But the problem is not the orientation of the wheels ( I will deal with that when it comes ). The problem is that it keeps on running even with the joystick not being moved.
__________________


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
  #5   Spotlight this post!  
Unread 17-01-2011, 17:14
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Holonomic Code Problems

have you tried running the code without the joysticks plugged in?
__________________
~Team 1529 Cybercards~
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2011, 17:28
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Holonomic Code Problems

If you run the code by pressing the run arrow rather than through a build/deploy, you can also click on the wires to probe what the values coming out of the joysticks are in real time. I'd recommend that as a debug measure.
__________________


Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2011, 18:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic Code Problems

Quote:
Originally Posted by mattiej View Post
When I looked up documentation on it, it said it can either look like a X or a diamond.
Yes it can look like either an X or a diamond: it should look like an X when viewed from above, and a diamond when viewed from below.

Yours looks like a diamond when viewed from above.

Would you please post a link to the above-mentioned documentation. I would like to read it and maybe contact the author.

Thanks.



Last edited by Ether : 17-01-2011 at 18:51.
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2011, 22:32
chs938 chs938 is offline
Registered User
FRC #0938
 
Join Date: Jan 2006
Location: Richmond
Posts: 2
chs938 is an unknown quantity at this point
Re: Holonomic Code Problems

Check your USB hub and joysticks. We had a condition where you would enable the robot and it would start creeping on it's own. It was a new condition that occurred without new code or changes to the drive chassis. Ultimately we swapped out the hub and were back up and running.
Reply With Quote
Reply


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 08:07.

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