Go to Post Who says girls can't be cute, fun AND SMART?!? - Marisa Russo [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 27-03-2008, 11:59
Magic Magic is offline
Registered User
no team
 
Join Date: Mar 2008
Location: israel
Posts: 4
Magic has a little shameless behaviour in the past
help with 6wd chassie..

Hello guys!

I'm 17 years old, and robotics is a big interest of mine.

Recently, I built a 6 wheels drivetrain chassie with a 1/8" center wheels drop.

the chassie looks like this one (the only defferance is that i'm using 2 motors in each side with one gearbox, two motors that goes to the same gearbox):


my problem is that i'm not a programmer, so i can't drive it. i wish someone can provide me a good code, which is Appropriate for 2 joystick drive so i can try it (one joystick for the right wheels and the other for the lefts).
please provide me the best code that you can, because i know nothing about programming and i can't amend the code.

in addition, i'll be very thankful if some one can provide me with a geartooth sensors code for this drivetrain (2 geartooth sensors, one for each gear).

thank you alot!
Reply With Quote
  #2   Spotlight this post!  
Unread 27-03-2008, 20:04
ComradeNikolai ComradeNikolai is offline
Registered User
AKA: Nicholas
FRC #2603 (Team Hornet)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Medina, Ohio
Posts: 203
ComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to beholdComradeNikolai is a splendid one to behold
Re: help with 6wd chassie..

Magic,

If you're using the RC from this year, you can simply go to IFI's website and download the default code (http://www.ifirobotics.com/rc.shtml, scroll all the way down to the bottom, it's the link called "2007 RC Default Code" or something) and this provides the functionality you were asking for by default. You have to plug the PWM cables into PWM 1 and 2, and have joysticks in port 1 and 2 on the operator interface.

To download the code onto the RC, you use the same link as above to get IFI loader. You then stick a serial cable into the program port on the RC and a serial port on your cable, turn on the robot, and hold down the program button until a little orange light (I believe by "program state") turns on, then you just have IFI loader download the "FRC_Default.hex" file.

What other functionality are you looking to add? If you're looking to reduce the sensitivity or compensate for one side being mechanically stronger than the other, we'd need more details to help.

If you have any further questions or specific requests, you can always PM me.
__________________
I cut myself shaving with Occam's razor.

Reply With Quote
  #3   Spotlight this post!  
Unread 27-03-2008, 20:18
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,452
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: help with 6wd chassie..

Looks very nice. Just one thing, you might want to watch the chain wrap on the output sprocket. As a general rule, 120 degrees of wrap is a good idea, where it looks like you have roughly 70 degrees in the picture. An easy fix for this would be to add an idler sprocket to bend the chain down and increase wrap, which could even double as an adjustable chain tensioner.

If you wish to learn how to program, I suggest you look into easyC Pro. It has an icon based interface that does much of the work for you, while still allowing for huge amounts of flexability.

What exactly does the orange arm on top do? It looks very cool.
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire
Reply With Quote
  #4   Spotlight this post!  
Unread 28-03-2008, 03:13
Magic Magic is offline
Registered User
no team
 
Join Date: Mar 2008
Location: israel
Posts: 4
Magic has a little shameless behaviour in the past
Re: help with 6wd chassie..

first of all, i want to thank you guys for you help!

secondly, this chassie is not mine. it just looks like my chassie with one single difference (two motors goes to each gearbox).

Quote:
Just one thing, you might want to watch the chain wrap on the output sprocket. As a general rule, 120 degrees of wrap is a good idea, where it looks like you have roughly 70 degrees in the picture. An easy fix for this would be to add an idler sprocket to bend the chain down and increase wrap, which could even double as an adjustable chain tensioner.
you mean that i need to add a sprocket on the chain that goes from the gear to the front wheels? (and just for knowlege, what are the Positives of increasing wrap? how can it affect (or improve) my driving?)

Last edited by Magic : 28-03-2008 at 04:11.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-03-2008, 09:00
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,452
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: help with 6wd chassie..

Exactly. We had a similar setup this year, and had an additional sprocket directly under the gearbox, so the chain went through kind of an S-bend, kind of like the whachamacalit on the back of a bicycle.

More chainwrap is a good idea because it prevents chain slippage. It may seem dead tight while stationary, but chains can do amazing (bad) things under power, and it could theoretically get ripped right off the sprocket. Having more teeth in contact with the chain can help this. Therefore, especially with smallish sprockets like those on the gearboxes, 120 degrees of wrap is generally a good idea (less is sometimes ok on an idler though)
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire
Reply With Quote
  #6   Spotlight this post!  
Unread 29-03-2008, 03:18
Magic Magic is offline
Registered User
no team
 
Join Date: Mar 2008
Location: israel
Posts: 4
Magic has a little shameless behaviour in the past
Re: help with 6wd chassie..

i have used the default code for 6wd chassie, but it's not going straight. It's not a Mechanical problem. after a check i discovered that CIM motors favor one diriction than the other and that's the reason my chassie isn't going straight.

My question is: how did your team overcome/solve this problem? by correcting it in programming, using a sensor (do encoders solve the problem completly?) or maybe in another way?

Thanks,
Magic
Reply With Quote
  #7   Spotlight this post!  
Unread 29-03-2008, 13:04
Matt H. Matt H. is offline
Long Distance Mentor
FRC #1726 (N.E.R.D.S.)
Team Role: Alumni
 
Join Date: May 2006
Rookie Year: 2007
Location: Sierra Vista, AZ
Posts: 238
Matt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond reputeMatt H. has a reputation beyond repute
Re: help with 6wd chassie..

Using encoders and a PID loop to equalize output on both sides will solve your problem however that is also somewhat programming intensive. Also the very nature of two joystick drive will make it very hard to drive your robot in a straight line.
Reply With Quote
  #8   Spotlight this post!  
Unread 29-03-2008, 14:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: help with 6wd chassie..

CIMs have a negligible bias. Have you made sure your Victors are calibrated?

We have encoders on the left and right side gearboxes. The difference between the encoder counts represents the amount the robot has turned. We keep track of the current direction and do PID control of heading to maintain straight travel when the driver is not calling for a turn.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: 1760 - 6WD with OMNI wheels Mark Pendergast Extra Discussion 1 20-03-2008 19:35
HELP!!! STUCK WITH SUB ROUTINES WITH THE IR!!! drewjones13 Programming 1 17-01-2008 20:52
4WD vs 6WD SleeveofWizard Technical Discussion 3 12-01-2007 12:03
6WD? Alex Cormier FIRST Tech Challenge 14 17-04-2006 22:10
4wd vs 6wd? Yov Technical Discussion 22 06-01-2005 00:09


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

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