element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Location Tracking
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 17 replies
  • Answers 9 answers
  • Subscribers 394 subscribers
  • Views 2838 views
  • Users 0 members are here
Related

Location Tracking

rgiguere
rgiguere over 6 years ago

Ok so we have all seen autonomous lawnmowers. I am currently building my own which is relatively easy to do the problem is location tracking.  I do not want to use a bunch of burried wire to create a path for it to follow and just setting up a perimeter makes it wander around aimlessly. GPS is not accurate enough to get propper location RF signals seem to be extremely complicated and relatively expensive so my question is is there any other way to track the location of a rover acuratley enough to be within 1 foot or less?

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 6 years ago +4 suggested
    Hi Robert, Without local things to sense (like buried wires etc) I think it's not easy to do it repeatably with reliability, and that's of prime importance for your use-case I guess. If you have the ability…
  • Gough Lui
    Gough Lui over 6 years ago in reply to shabaz +3 suggested
    If not via a visual system, radio is a bit tricky to localise, but light generally is not. I wonder whether you could rig up some criss-crossed high-power infrared beams or something like that. Detect…
  • jw0752
    jw0752 over 6 years ago +3 suggested
    I have a robot vacuum cleaner that does a great job of mapping a room. It has several forms of obstacle detection but seems to have a way of counting its steps (wheel revs) and keeping track of its direction…
Parents
  • shabaz
    0 shabaz over 6 years ago

    Hi Robert,

     

    Without local things to sense (like buried wires etc) I think it's not easy to do it repeatably with reliability, and that's of prime importance for your use-case I guess.

    If you have the ability to mount a camera high up with visibility of the entire area (not at a shallow angle) then things could be easier, but would require something like a Pi.

    With that and the camera attachment plugged in, you can use software called 'OpenCV' to recognize the lawnmower and its co-ordinates.  It is quite effective, and easier still if there is some special color or large pattern on the lawnmower.

    Then some maths is needed to translate that into a real position and then translate that into instructions that would direct the lawnmower correctly. It's a lot of work to do though, it wouldn't be a quick solution.

    You could also check out ROS (Robotic Operating System) - that may have suitable plugins or apps for camera feeds (e.g. a camera attached to your device) and image processing, but again this is a lot of work if you've never used it before. That's not to say you shouldn't attempt it - lots of useful skills can be learnt by doing this, even if the end goal is still far away, and you may then be in a better position to decide if you wish to continue that path, or not.

    If you have the time and a Linux box (e.g. Pi) and some camera, it is quite straightforward to get going with OpenCV.

    To do that, go to https://www.raspberrypi.org/magpi/  and in the search box (unintuitively not at the top of the page, but below the banner) type opencv to find articles on image recognition type topics which is what the camera method approximately needs - I have not read them, but they are designed for beginners. You'll probably also want to get a book on the subject from your library or Amazon etc.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rgiguere
    0 rgiguere over 6 years ago in reply to shabaz

    That is one route i did not think of but makes sense ive played with opencv a lil as i have a PI im looking to do something for a project for my engineering class that will impress my proffessor instead of these little retro game consoles my class mates are making i will definitely be looking into this thank you for your input

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rgiguere
    0 rgiguere over 6 years ago in reply to shabaz

    Has you or anyone you know tried or succeeded in setting up a GPS base station set to a static location. This whay when it gets GPS readings it can correct for any errors in propigation delay and correct the rovers location basicly a home made dGPS giving much more accurate location readings?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 6 years ago in reply to rgiguere

    I haven't, and there are special techniques that can do that (with accuracy to a metre or so) but they are not hobby-level techniques today from what little I know. An example use-case for those techniques is tracking people in stores, to see what aisle they are in. There are beacon techniques too that are far cheaper/easier, but that likely won't get you the resolution+accuracy you need either. I think optical techniques as Gough Lui mentions, or camera techniques, will get you the accuracy, but it is still not easy, maybe many months work full-time just to have a prototype, using these types of methods.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rgiguere
    0 rgiguere over 6 years ago in reply to shabaz

    Well now that Yall have given me somethings to think about wish me luck!! I will come back and update as much as I possibly can as my first implementation will be just a small rover that I already have. Thank yall so very much please do stay in touch and anyother Ideas yall have or even come up with something new please dont be shy  as the members of this forum have been my greatest resource thanks again guys!!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 6 years ago in reply to rgiguere

    Trimble used to do this and it was used by Local authorities.

    This was back in the day when there was a deliberate 'wobble' on GPS signals for 'domestic' use, but as I understand they came to an agreement and it was removed.

     

    Aviation DME's use the time of signal to determine distance but the type of accuracy you're looking for is too small.

    Ultrasonic time of flight might work, but you're also going to encounter wind changing it.

    The newer 'no moving parts' Anenometers are based on this principle with three heads at a known distance to give wind speed and direction.

     

    You could certainly determine angle easily, it just the distance bit.

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Gough Lui
    0 Gough Lui over 6 years ago in reply to mcb1

    Glad Bill Clinton ordered the turning off of Selective Availability. If we had access to the military receivers, they're about 10x as accurate due to the higher chipping frequency. Carrier phase tracking GPS as used by surveyors are quite expensive - but there were some localized GPS-like units like Locata that could measure distances from a known sirvey point reference station. Still a highly expensive endeavour.

     

    If all one wants to do is mow tthe lawn, perhaps some beefy motors, rope and pulleys would do. Have the lawnmower like the head of a 2D plotter and pull it around with two ropes - X and Y. Unless the rope is cut, you know where it's at by measuring/encoding revolutions on the pulley.

     

    One thing we should be careful of is safety. We don't need motorized equipment going AWOL.

     

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rgiguere
    0 rgiguere over 6 years ago in reply to mcb1

    I thpught of using ultra sonic sensors for the prototype  but i just cant seem to find any that will travel across a distance greater than a few inches,  great for avoidance but thats about it.  I am really intrigued by the gps method i just found a gps by navspark that has RTK built in for roughly 80 dollars and works with srduino and Raspberry pi i ordered one since the price was good so i guess we will see thanks for your input much appreciated

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Gough Lui
    0 Gough Lui over 6 years ago in reply to rgiguere

    As far as I know, RTK still needs a reference base station to function and those are very expensive.

     

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rgiguere
    0 rgiguere over 6 years ago in reply to Gough Lui

    Ok so I found an RTKLIB for raspberry pi im going to attempt a basestation around that and see what happens

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 6 years ago in reply to rgiguere

    Maxbotix makes lots of longer range ultrasonic sensors for example MB7363 is an outdoor sensor that reaches 10 meters.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • abrain
    0 abrain over 6 years ago in reply to shabaz

    I’ve heard that the in store location tracking measures the signal strength to your smartphone WiFi transmitter in your pocket from a number of strategically located base stations... I’m not paranoid, I just don’t like the idea of other people tracking me around, so I’ll often be found in flight mode! 51148.contentimage_1.png

     

    A

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • abrain
    0 abrain over 6 years ago in reply to shabaz

    I’ve heard that the in store location tracking measures the signal strength to your smartphone WiFi transmitter in your pocket from a number of strategically located base stations... I’m not paranoid, I just don’t like the idea of other people tracking me around, so I’ll often be found in flight mode! 51148.contentimage_1.png

     

    A

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube