Go to Post As part of this test phase, I would expect to see Aidan sleeping on the job for most of the upcoming season. :) - dlavery [more]
Home
Go Back   Chief Delphi > FIRST > Robot Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2011, 15:16
AndyTham's Avatar
AndyTham AndyTham is offline
Registered User
AKA: Andy
FRC #2625 (Arc Angels)
Team Role: Electrical
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Toronto
Posts: 8
AndyTham is an unknown quantity at this point
Re: Team 2980's Open Source FIRST BOT

The arm looks identical to ours here at team 2625 and we are sortof struggling with the code, would you be able to send it to us please? email: david@prowebdev.ca or daoud93@live.com
__________________
V- Dub 4 Life!
  #2   Spotlight this post!  
Unread 09-02-2011, 15:37
Dr Theta's Avatar
Dr Theta Dr Theta is offline
Lead Mentor
AKA: Derek Messer
FRC #2232 (Deus Ex Machina)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Anoka, Minnesota
Posts: 351
Dr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud ofDr Theta has much to be proud of
Re: Team 2980's Open Source FIRST BOT

It looks great! I finally got time to read through this thread and I am impressed, good job.

By the way the use of the term "babybot launcher" made me laugh my head off... I had some of the strangest images pop in my head.
__________________
  #3   Spotlight this post!  
Unread 10-02-2011, 23:57
eedoga's Avatar
eedoga eedoga is offline
Registered User
FRC #2980
 
Join Date: Jan 2011
Location: Oak Harbot
Posts: 217
eedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud of
Re: Team 2980's Open Source FIRST BOT

@ TEAM 2980 Programmers. This post includes EDOGA CODE. You probably shouldn't look at it because Im taking you through this process step by step...Also...I don't know if it will work. so...DON'T LOOK!

@ AndyTham

I'm sort of sorry. I think I already posted this, but...Our team suffered a setback a week ago today. A student on the team made some changes in the way in which things were set up without consulting other members of the team, and then didn't come to any meetings for almost a week. This created a sort of melt down of chain events in our electronics where we could not for the life of us figure out what was done, so instead of progressing our project was completely stalled until today. We are finally where we were a week ago. I put together some code that might work. Given that I am a mentor I am taking several students through programming our robot. They just finished getting the controls to work with the drive train, and will be adding the arm controls tomorrow.


Disclaimer - This is untested code!!!!! I am running on very little sleep given that our team meets 7 days a week and as lead mentor I am there all the time!!!!! Look this over before you use any part of it.

What I made can be downloaded here. It includes what I hope to be control for the arm.

the begin.vi that I came up with didn't fit in one screen capture.



Here is the teleop code I came up with.


I hope this helps. Also, I am guiding our programmers through this process. They aren't this far yet. If anyone sees anything that is wrong with this code please post what changes need to be made.

@ Dr. Theta

Thanks for the kind words. We just hope we are helping someone out there...especially the rookies!

Edoga

Last edited by eedoga : 11-02-2011 at 00:06. Reason: I had to tell team 2980 kids who are learning not to look at this.
  #4   Spotlight this post!  
Unread 12-02-2011, 00:28
eedoga's Avatar
eedoga eedoga is offline
Registered User
FRC #2980
 
Join Date: Jan 2011
Location: Oak Harbot
Posts: 217
eedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud of
Re: Team 2980's Open Source FIRST BOT

For anyone looking at using any part of our code. The button to victor controls are wrong. Just thought I would pass that on. The values the buttons trigger are not right so the arm goes forward, but does not stop. Easy solution is to swap out the victor for a spike relay. In actuality that makes more sense anyway because the button solution was really either on or off anyway.

The compressor code is working just fine as is the code for extending and retracting the arm. Driving even seams to be working properly. The robot wasn't on the ground so I am not totally sure.

Good luck to you all.

Edoga
  #5   Spotlight this post!  
Unread 15-02-2011, 07:35
jmanela's Avatar
jmanela jmanela is offline
+1 is BIGGER than -1
AKA: Joshua Manela
FRC #2586 (Fondy Fire)
Team Role: College Student
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Michigan
Posts: 314
jmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to behold
Re: Team 2980's Open Source FIRST BOT

Quote:
Originally Posted by eedoga View Post
@ TEAM 2980 Programmers. This post includes EDOGA CODE. You probably shouldn't look at it because Im taking you through this process step by step...Also...I don't know if it will work. so...DON'T LOOK!

the begin.vi that I came up with didn't fit in one screen capture.


Here is the teleop code I came up with.

I hope this helps. Also, I am guiding our programmers through this process. They aren't this far yet. If anyone sees anything that is wrong with this code please post what changes need to be made.



Edoga
I really don't see much of a problem in the logic itself, however, when I began to program I had all of my code in teleop. You might want to consider compressing some of that code into SubVi's so that it is easier to read. It was fine my first year when there wasn't so much coding, but the second year things got a little crazy and wires were EVERYWHERE so many wires... shudder.

But anyway, subvi's are a good way to compress your code and make it easier to read.
__________________
||2009|| Entrepeneurship Award, QF - Traverse City | Rookie All Star, QF - Detroit | Highest Rookie Seed, Rookie All Star, QF - Michigan State Championship | Finalist - MARC ||2010|| Engineering Inspiration, Website Award, SF- Kettering | Judges Award, Website Award, SF - Detroit | Website Award, Winner, Michigan State Champ //Thank you 469 and 1918!! | Finalist - MARC ||2011|| Engineering Inspiration, Website - Kettering | Entrepreneurship, Website, Finalist - Waterford | Website - MSC
  #6   Spotlight this post!  
Unread 15-02-2011, 21:24
Brandon_L Brandon_L is offline
Someone told me there was food here
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,199
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Team 2980's Open Source FIRST BOT

Were having a big problem...

We are using two window motors into a small sprocket to a bigger 60 tooth sprocket via chain, similar to what you guys are doing:
http://i187.photobucket.com/albums/x...g/DSCN1408.jpg
(no chain is on in this picture..)

The entire setup works, but the motors like to lock up and when they do we have to put full power on them for them to unlock. The result being the arm slamming into our frame or flying into the air. Motors also tend to heat up a bit when this happens, but nothing extreme. We have two bungee cords down the back as a counterweight.

What did you guys do to prevent it from locking? We don't have a clue

EDIT:
I saw someone mentioning that having a jaguar controlling the arm might be doing something. I don't know if this is true, but we are using two jaguars.
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 15-02-2011 at 21:35.
  #7   Spotlight this post!  
Unread 17-02-2011, 02:00
eedoga's Avatar
eedoga eedoga is offline
Registered User
FRC #2980
 
Join Date: Jan 2011
Location: Oak Harbot
Posts: 217
eedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud of
Re: Team 2980's Open Source FIRST BOT

we recently started running into a similar problem. for us it was an alignment issue. the large sprocket attached to the arm was pulling out of alignment. That was why we added the two large brackets on the side. there is still too much play so we are adding a longer shaft when it comes in on Friday in the hopes that that will solve the problem. check the heck out of your alignment. Also I think when under strain the window motors can sort of bind up internally. It might be that you are overcoming the seasing.

finally I have heared that using some Electronic speed controllers makes the window motors unhappy. we are using a spike relay for each of these motors.
  #8   Spotlight this post!  
Unread 18-02-2011, 13:46
anyheck anyheck is offline
Registered User
FRC #2242 (Cougars)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New Orleans
Posts: 26
anyheck is on a distinguished road
Re: Team 2980's Open Source FIRST BOT

Quote:
Originally Posted by Brandon_L View Post
Were having a big problem...


The entire setup works, but the motors like to lock up and when they do we have to put full power on them for them to unlock. The result being the arm slamming into our frame or flying into the air. Motors also tend to heat up a bit when this happens, but nothing extreme. We have two bungee cords down the back as a counterweight.

What did you guys do to prevent it from locking? We don't have a clue

EDIT:
I saw someone mentioning that having a jaguar controlling the arm might be doing something. I don't know if this is true, but we are using two jaguars.
We had a jaguar running our lift mechanism on a window motor and it was locking up as you've described, probably once every few up-down translations. Switched to a Victor and no further problems.

http://www.chiefdelphi.com/forums/sh...ad.php?t=83973
Closed Thread


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 06:20.

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