Go to Post A dedicated team is a happy team. - sgreco [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 09-01-2017, 17:58
Cybercats2872 Cybercats2872 is offline
Registered User
FRC #2872
 
Join Date: Jan 2017
Location: Roslyn Heights, NY
Posts: 10
Cybercats2872 is an unknown quantity at this point
Sensors?!

Hi All,

I'm a junior from New York, team 2872 and want to know about sensors. This is my fourth year competing in FRC but we've never used and light sensors before. My teams goal this year is to be fast, small, and be gear oriented. My question is that what sensors should we use to help with aiming for the gear lift, and how to implement them. I'm our team's driver and only have experience with doing everything manually and I know that trying to finesse putting the gear on without any camera or sensor help would be a pain. I'm a noob in this area so any help is appreciated. Thanks so much and happy building!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2017, 18:42
helmhurst1153's Avatar
helmhurst1153 helmhurst1153 is offline
Registered User
FRC #1153 (Robo-Rebels)
Team Role: Student
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Walpole
Posts: 1
helmhurst1153 is an unknown quantity at this point
Re: Sensors?!

There are vision targets on the lift peg. The specifications for the targets can be found in section 3.13 of the game manual.

Quote:
There are also vision targets on both sides of each LIFT peg. The peg targets are 2 in. (~5 cm) wide by 5
in. (~13 cm) tall rectangles located 10¾ in. (~27 cm) from the carpet and spaced 10¼ in. (~26 cm) apart
(outside dimensions).
You could also potentially use a light sensor to sense the black baseline in front of the airship.

I can't help that much, as this isn't really my thing.

But basically, there are uses for sensors.

I hope this helps at all.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2017, 18:51
Beaker's Avatar
Beaker Beaker is offline
624 Programming Alum
AKA: Justin K.
no team (No Team)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 61
Beaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to behold
Re: Sensors?!

You might find that using a camera and a LED light ring is beneficial in this situation.

What you can do is detect the vision targets on a peg, find the center of the target, and calculate how much you need to turn based on the image. With that information it shouldn't be too difficult to program a drivetrain mode that auto-locks onto the peg using a PID.

There is plenty of example code floating around on this subject from last year (I would take a look at the recent code postings). Also, FIRST provides a lot of example code for LabVIEW teams, so if you are one of those, you should take advantage of that.*

*That might be the same for other languages, but my team used LabVIEW, so I wouldn't know for sure.
__________________
Team 624 (Student) 2013-2016
BBQ FIRST Creator
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2017, 20:09
page2067's Avatar
page2067 page2067 is offline
Registered User
AKA: rick page
FRC #2067 (Apple Pi)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Guilford CT
Posts: 111
page2067 has a spectacular aura aboutpage2067 has a spectacular aura aboutpage2067 has a spectacular aura about
Re: Sensors?!

Even if you are not up to vision (though programs like GRIP make it much more accessible) a camera feed back to the driver station would seem very valuable this year with all the stuff in the way. Start there - and work on getting vision tracking going after getting the feed established with the LED rings. (FirstChoice has them)
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2017, 08:09
John.McInerney John.McInerney is offline
Registered User
FRC #2039
 
Join Date: Nov 2008
Location: Rockford Robotics
Posts: 3
John.McInerney is an unknown quantity at this point
Re: Sensors?!

Regarding:
"...the vision targets on a peg... ... FIRST provides a lot of example code for LabVIEW teams"
has anyone found the Labview example code for the lift peg targets?
Reply With Quote
  #6   Spotlight this post!  
Unread 22-01-2017, 12:51
Tungrus Tungrus is online now
Registered User
no team
 
Join Date: Mar 2013
Location: Somewhere
Posts: 375
Tungrus is a jewel in the roughTungrus is a jewel in the roughTungrus is a jewel in the roughTungrus is a jewel in the rough
Re: Sensors?!

If you can do vision processing it's great, for others please think about effectively using pilot. How can he see spring is aligned? Will a flash light help by illuminating the spring? Can he help you align the robot? There is a green or blue tape on the carpet, that goes right to spring, but the contrast is not significant for light sensor. More over the carpet and tape color can keep changing due to dust and wear. Can pilot use this tape to help in aligning?
Reply With Quote
  #7   Spotlight this post!  
Unread 22-01-2017, 13:39
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,723
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Sensors?!

Sensor #1 for us is going to be the streaming camera located a few inches below peg level (so it doesn't get impaled). We will probably also have a rear streaming camera (though we only stream one at a time) for gear intakes, and a front camera to detect the vision guides for autonomous. There are also teams which use cameras to automatically find game pieces and goals. Edit: for streaming drive video, do low resolution, relatively high frame rate feed. For targeting taking place on the robot, use a bit higher resolution even if it means slower frames, and (assuming you're talking about a light ring and retroreflective tape) short exposure times. For teleop, some teams have used their drive camera, and marked the "best" location of the retroreflective tape on their laptops, either digitally through the drive station code, or by putting strips of painter's tape on the screen.

Short-range rangefinders (on a budget, I recommend infrared for ranges up to about a foot, ultrasonic at longer ranges) may be good this year, to let you know if you've got a bunch of balls between you and the wall with which you're trying to retrieve or score game pieces. Inexpensive rangefinders are available in both analog (voltage is a function of range) and digital (yes, something's there!) versions.

Encoders on wheels will improve the repeatability of autonomous driving for any drive train; many consider them essential for more advanced drive trains.

Another sensor type to consider for gear management are some IR or light-based interrupts to let us know when we've got the peg through the gear, and whether the gear is inside or clear of the robot, etc.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 22-01-2017 at 13:44.
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 06:46.

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