Go to Post How about instead of using the flag we just all wrap out robots in color saran wrap. there! problem sovled! - John Gutmann [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-05-2016, 14:24
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Autonomous Robotic Mapping

Does anyone know of any way to create an accurate mapping system for a small area outdoor autonomous robot? I was thinking GPS but they can be off by 3 meters. Then I was thinking some sort of triangulation localization technique but I figured Id put it out there to see if anyone has any ideas.

Thanks,
mreda
Reply With Quote
  #2   Spotlight this post!  
Unread 13-05-2016, 15:00
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 147
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
Re: Autonomous Robotic Mapping

Perhaps this might be of interest to you https://github.com/JacisNonsense/Pathfinder
__________________
2791 (2012-2017)
Reply With Quote
  #3   Spotlight this post!  
Unread 13-05-2016, 15:04
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by jtrv View Post
Perhaps this might be of interest to you https://github.com/JacisNonsense/Pathfinder
This can be added to a robot? I didnt see anywhere where I could purchase one. But it does look promising.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-05-2016, 16:24
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
Does anyone know of any way to create an accurate mapping system for a small area outdoor autonomous robot? I was thinking GPS but they can be off by 3 meters. Then I was thinking some sort of triangulation localization technique but I figured Id put it out there to see if anyone has any ideas.
Are you asking about mapping (exploring an area and cataloging features and their positions) or are you talking about localization (finding the position of something within a known area)?

Some variables to consider:
- You said that 3m is too much error, but what sort of resolution are you looking for?
- How large of an area are you dealing with? 10s of meters, 100s of meters, 1000s of meters?
- Is it a fixed workspace (i.e. you can set up beacons) or are you moving into an unknown territory?
- What's the line-of-sight visibility like? Is it a fairly open space, or are there frequently objects which can occlude the robot's sensors? If there are occluders, are they large and metallic (i.e. would block radio frequencies)?
- How much money do you want to spend?


If it's an unknown space, you're going to need something like SLAM. There are many prebuilt libraries available for this (check out some of the ones that are available through ROS for example).

If you have a workspace that you control, here's a few solutions for several settings of the above parameters:
- Use a single camera and use the position and apparent size of a target(s) to determine 3d pose. This is how most FIRST vision systems work, and how the Oculus Rift tracking camera works. For a fairly out-of-the-box solution, take a look at some of the fiducial tracking libraries, such as AprilTags.
- Use several different cameras and track a target(s) and triangulate the pose. This is how motion capture cameras work.
- Use a Microsoft Kinect or other RGBD camera
- One of the magnetic position sensing systems from Sixense
- Use one of the UWB (Ultra-wideband radio-frequency) localization systems. I have one of the kits from Decawave sitting on my desk waiting for when I have enough time to play with it more.
- Use a differential GPS system.
- Place a whole bunch of RFID tags with unique IDs around the space and use an RFID reader to scan the nearest tag to determine your position.
- Mount several string pots to your robot and connect the ends to various points around the space and trilaterate your position. As long as your workspace is very open, you have an instant, high accuracy estimate of your robot's position with very little processing required.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 14-05-2016 at 00:35.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-05-2016, 22:12
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
This can be added to a robot? I didnt see anywhere where I could purchase one. But it does look promising.
It's a piece of code that runs on the robot so the robot can 'plan' its movements. Using encoders on the wheels and a gyroscope, you can plot a path using Pathfinder and the code will manipulate the motor outputs in an attempt to follow that path. With a bit of clever code, you could even use something like the NavX (or even still an encoder / gyro combination) to derive your position relative to the origin your robot started at.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #6   Spotlight this post!  
Unread 13-05-2016, 23:50
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by RyanCahoon View Post
Are you asking about mapping (exploring an area and cataloging features and their positions) or are you talking about localization (finding the position of something within a known area)?

Some variables to consider:
- You said that 3m is too much error, but what sort of resolution are you looking for?
- How large of an area are you dealing with? 10s of meters, 100s of meters, 1000s of meters?
- Is it a fixed workspace (i.e. you can set up beacons) or are you moving into an unknown territory?
- What's the line-of-sight visibility like? Is it a fairly open space, or are there frequently objects which can occlude the robot's sensors? If there are occluders, are they large and metallic (i.e. would block radio frequencies)?
- How much money do you want to spend?


If it's an unknown space, you're going to need something like SLAM. There are many prebuilt libraries available for this (check out some of the ones that are available through ROS for example).

If you have a workspace that you control, here's a few solutions for several settings of the above parameters:
- Use a single camera and use the position and apparent size of a target(s) to determine 3d pose. This is how most FIRST vision systems work, and how the Oculus Rift tracking camera works. For a fairly out-of-the-box solution, take a look at some of the fiducial tracking libraries, such as AprilTags.
- Use several different cameras and track a target(s) and triangulate the pose. This is how motion capture cameras work.
- Use a Microsoft Kinect or other RGBD camera
- One of the magnetic position sensing systems from Sixense
- Use one of the UWB (Ultra-wideband radio-frequency) localization systems. I have one of the kits from Decawave sitting on desk waiting for when I have enough time to play with it more.
- Use a differential GPS system.
- Place a whole bunch of RFID tags with unique IDs around the space and use an RFID reader to scan the nearest tag to determine your position.
- Mount several string pots to your robot and connect the ends to various points around the space and trilaterate your position. As long as your workspace is very open, you have an instant, high accuracy estimate of your robot's position with very little processing required.
Thank you these look pretty good. To answer your questions, it will be a known area with little to no variation. I was thinking something with beacons sort of like the UWB setup you were talking about. I wasnt sure how cheap/readily available such a system is.

Thanks
Reply With Quote
  #7   Spotlight this post!  
Unread 14-05-2016, 00:30
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
the UWB setup you were talking about. I wasnt sure how cheap/readily available such a system is.
There are definitely more expensive (and correspondingly better performing) systems out there, but the reason why I got the Decawave system was because it's available on Digikey for under $1000. The TREK1000 kit appears to do localization as one of its featured example use cases. (They only had the EVK1000 when I bought mine, so I have to get a couple of them to do full positioning.) The limited testing I've done so far suggests that they perform well within the advertised 10cm accuracy.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #8   Spotlight this post!  
Unread 15-05-2016, 23:05
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by RyanCahoon View Post
There are definitely more expensive (and correspondingly better performing) systems out there, but the reason why I got the Decawave system was because it's available on Digikey for under $1000. The TREK1000 kit appears to do localization as one of its featured example use cases. (They only had the EVK1000 when I bought mine, so I have to get a couple of them to do full positioning.) The limited testing I've done so far suggests that they perform well within the advertised 10cm accuracy.
So if I wanted to record a course and play it back through any means, the only accurate way would be through extremely expensive localization sensors. I saw something out there about a gps + landmark system for working in a predetermined area. Would you happen to know anything about that?
Reply With Quote
  #9   Spotlight this post!  
Unread 16-05-2016, 00:49
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
So if I wanted to record a course and play it back through any means, the only accurate way would be through extremely expensive localization sensors. I saw something out there about a gps + landmark system for working in a predetermined area. Would you happen to know anything about that?
You may be thinking about differential GPS. For that to work, you need to be in an environment with little multipath. That means outside with a good view of the sky. Good GPS receivers are even more expensive than what was listed already. (You'll want to look into DRTK, which probably means a $6k+ receiver, and you'll need one for the bot and one for the base station.) You should be able to make cheaper receivers work, but that'll require you to solve the GPS solution yourself from the raw pseudoranges, and spend a lot of work getting the accuracy up.

Another method I've heard used is to point a camera at the ceiling and use identifiable features on the ceiling to localize. QR codes on the ceiling would make that even easier.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-05-2016, 18:15
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by AustinSchuh View Post
You may be thinking about differential GPS. For that to work, you need to be in an environment with little multipath. That means outside with a good view of the sky. Good GPS receivers are even more expensive than what was listed already. (You'll want to look into DRTK, which probably means a $6k+ receiver, and you'll need one for the bot and one for the base station.) You should be able to make cheaper receivers work, but that'll require you to solve the GPS solution yourself from the raw pseudoranges, and spend a lot of work getting the accuracy up.

Another method I've heard used is to point a camera at the ceiling and use identifiable features on the ceiling to localize. QR codes on the ceiling would make that even easier.
This is for outside. Is there a similar method for outdoor use? I know how it would/should work, but actually making this work is what is throwing me through a loop.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-05-2016, 18:43
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
This is for outside. Is there a similar method for outdoor use? I know how it would/should work, but actually making this work is what is throwing me through a loop.
DRTK works only outdoors. If you have $ to throw at the problem, contact Novatel and they can tell you all the parts to buy.
Reply With Quote
  #12   Spotlight this post!  
Unread 16-05-2016, 18:50
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by AustinSchuh View Post
DRTK works only outdoors. If you have $ to throw at the problem, contact Novatel and they can tell you all the parts to buy.
And there is the problem I don't have that much money to throw. My budget for this part of the project is rather small. If there is an outdoor version of the ceiling camera idea that might work.
Reply With Quote
  #13   Spotlight this post!  
Unread 16-05-2016, 19:29
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: Autonomous Robotic Mapping

Quote:
Originally Posted by mreda View Post
If there is an outdoor version of the ceiling camera idea that might work.
Does your outdoor location have a ceiling?

I think your best bet might be to place visible beacons in known locations around the area, with a 360 degree camera view tracking the direction to each beacon in order to do inverse triangulation.
Reply With Quote
  #14   Spotlight this post!  
Unread 17-05-2016, 15:43
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 515
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Autonomous Robotic Mapping

http://www.seattlerobotics.org/encod...ing_a_pid.html
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
  #15   Spotlight this post!  
Unread 17-05-2016, 23:07
mreda mreda is offline
Registered User
no team
 
Join Date: May 2016
Location: NJ
Posts: 24
mreda is an unknown quantity at this point
Re: Autonomous Robotic Mapping

Quote:
Originally Posted by Alan Anderson View Post
Does your outdoor location have a ceiling?

I think your best bet might be to place visible beacons in known locations around the area, with a 360 degree camera view tracking the direction to each beacon in order to do inverse triangulation.
thats more along the lines of what i was thinking. Is there a system out there that has this already?
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 23:43.

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