Go to Post What's this about a robot that they speak of? Are we supposed to build one???? - ryan_f [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 19-03-2014, 13:53
ashb1025 ashb1025 is offline
Registered User
FTC #6095
 
Join Date: Feb 2014
Location: New Castle, IN
Posts: 11
ashb1025 is an unknown quantity at this point
Autonomous Ideas/Help

Hi, I was thinking about making a program that makes our robot follow people or make it follow a laser pointer but I have no idea where to start and could use some help.
  #2   Spotlight this post!  
Unread 19-03-2014, 14:32
KPSch KPSch is offline
Registered User
AKA: Ken Schenke
FRC #1987 (Broncobots)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Lee's Summit, MO USA
Posts: 41
KPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to all
Re: Autonomous Ideas/Help

Quote:
Originally Posted by ashb1025 View Post
Hi, I was thinking about making a program that makes our robot follow people or make it follow a laser pointer but I have no idea where to start and could use some help.
A 120 pound robot that follows people is a bad idea for safety reasons. You might be able to track a laser pointer with vision tracking. An ultrasonic range sensor could be used to measure distance to the surface reflecting the beam.
  #3   Spotlight this post!  
Unread 19-03-2014, 14:33
KPSch KPSch is offline
Registered User
AKA: Ken Schenke
FRC #1987 (Broncobots)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Lee's Summit, MO USA
Posts: 41
KPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to allKPSch is a name known to all
Re: Autonomous Ideas/Help

Quote:
Originally Posted by KPSch View Post
A 120 pound robot that follows people is a bad idea for safety reasons. You might be able to track a laser pointer with vision tracking. An ultrasonic range sensor could be used to measure distance to the surface reflecting the beam.
I just noticed you were FTC, not FRC. As long as the person was the closest object to the robot, an ultrasonic sensor could be used to follow that person.
  #4   Spotlight this post!  
Unread 19-03-2014, 15:49
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Autonomous Ideas/Help

Quote:
Originally Posted by ashb1025 View Post
Hi, I was thinking about making a program that makes our robot follow people or make it follow a laser pointer but I have no idea where to start and could use some help.
In our outreach LEGO Mindstorms camps we have an activity where we use a LEGO Mindstorms Ultrasonic Sensor and we program the robot to follow a person. The general algorithm is this:

(1) If we see something within visual range, but it's farther away than our minimum following distance, move forward.
(2) If we don't see something, turn the robot left and right (the ultrasonic sensor is mounted in a fixed orientation on the robot) an increasing amount until we see an object.

What will happen is someone will walk in front of the robot, and the robot will follow the person. If the person turns, the robot will "lose contact" with the person, and will begin scanning for the person. Once it finds the person again, it will continue to follow the person until the person is out of the range of the sensor, and then it will re-acquire the person. Unfortunately the Ultrasonic Sensors don't do any phase shifting of the signal so it can determine ownership of the reflected signal, so using 2 ultrasonic sensors doesn't give you 3D vision (and thus the ability to detect if the person is veering left or right) - using 2 ultrasonic sensors just confuses your sensors.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #5   Spotlight this post!  
Unread 20-03-2014, 13:23
ashb1025 ashb1025 is offline
Registered User
FTC #6095
 
Join Date: Feb 2014
Location: New Castle, IN
Posts: 11
ashb1025 is an unknown quantity at this point
Re: Autonomous Ideas/Help

How would I set up the code? Like I don't know what values or functions or anything for it? I am at a mostly complete loss trying to do this.
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 02:38.

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