Go to Post As Shakespeare once said in Julius Caeser, "Cowards die many times before their deaths; the valiant never taste of death but once." - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 04-03-2012, 02:52
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
What have you found to be the right time and throttle

Hi,

I created a program quickly before bag and tag day that moves our robot for x seconds with x throttle but never had time to get it the EXACT distance/time for the proper distance from the bridge to the key. For teams that HAVE what is the amount of throttle/time you used to do this? I know it wont be perfect for our robot but it would save a lot of time if I could a pretty close estimate to what I need to have it set to.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2012, 03:05
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,112
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: What have you found to be the right time and throttle

If you want to drive a certain distance repeatably, you really need to have some sort of odometer. What kind of gearbox are you using in your drivetrain? Is there anywhere you can install an encoder to measure how far your robot is moving?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-03-2012, 03:12
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: What have you found to be the right time and throttle

No, just once in autonomous. I made a topic earlier here about it because I had no idea a safety config existed which is disabled..but there was only 1 team meeting left and our build team worked on bumpers and re positioning various parts of the robot the entire night so I had no time to actually test it.

I am not big on the building aspect but we are using 2 motors. The standard black ones from the KOP along with the standard sprockets.

I believe I have to make the robot travel roughly 88 inches. I have no known way I can possibly test this before our team's competition on Thursday-Saturday.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-03-2012, 03:46
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,112
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: What have you found to be the right time and throttle

What question are you answering with the first "No"?

If you don't know the details of your robot's drivtrain, see if you can talk to someone who does. You do need some way of measuring distance traveled in order to travel a specified distance with any confidence.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-03-2012, 04:25
TEAMROCK2000's Avatar
TEAMROCK2000 TEAMROCK2000 is offline
Registered User
FRC #2000
 
Join Date: Jan 2012
Location: Dorr
Posts: 22
TEAMROCK2000 is on a distinguished road
Re: What have you found to be the right time and throttle

we have our robot running at about 10 fps and we have the motors set at .7 and a time of 2.2 seconds works perfect everytime we did the same thing as u guys and we tried out autonomus our first match and it backed up and balanced on the bridge it was at 3.2 so we took of a second and its worked good ever since
Reply With Quote
  #6   Spotlight this post!  
Unread 04-03-2012, 08:24
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: What have you found to be the right time and throttle

If you can, take a look at the rangefinder from the KOP. Wire it to function as a digital device, and connect it to the Digital Sidecar. Make sure it's mounted higher than the fender, so you can tell how far from the wall you are. From there, you can set your robot to drive at x speed until the rangefinder reads y distance. (Y distance being the distance the edge of the fender is from the actual wall, plus an inch or so).
Reply With Quote
  #7   Spotlight this post!  
Unread 04-03-2012, 13:12
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: What have you found to be the right time and throttle

Quote:
Originally Posted by Alan Anderson View Post
What question are you answering with the first "No"?

If you don't know the details of your robot's drivtrain, see if you can talk to someone who does. You do need some way of measuring distance traveled in order to travel a specified distance with any confidence.
Wow, I cannot believe I answered that...it was a very late night for me.

I will be more clear, or at least try:

We are using the standard KOP frame and have a 4 wheel drive with all 4 wheels powered by 2 motors. We are using the standard KOP wheels for our 4 wheels. Oh yes, I think the no was a response to the last question.

Thanks for all the responses.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-03-2012, 14:02
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,112
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: What have you found to be the right time and throttle

Quote:
Originally Posted by Hebrew View Post
We are using the standard KOP frame and have a 4 wheel drive with all 4 wheels powered by 2 motors. We are using the standard KOP wheels for our 4 wheels.
That implies that you're also using the CIMple Box from the Kit of Parts. If this is true, then you have a ready-made solution for measuring robot travel. They come with USDigital E4P quadrature encoders that mount directly to the gearbox. Connect the wires as detailed in the LabVIEW Encoder example.
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 11:15.

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