Shop OBEX P1 Docs P2 Docs Learn Events
Hexcrawler with Compass Module AppMod — Parallax Forums

Hexcrawler with Compass Module AppMod

sumeetsumeet Posts: 28
edited 2005-07-24 02:30 in Robotics
Hi,all

Did any one tried out using Parallax Compass Module AppMod with Hexcrawler.

do u have any codes .

Or could u suggest how to make it work so that hexcrawler can reach his starting position.

thanks

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-07-22 12:19
    Is this related to your navigation system post? Is this your only requirement of your navigation system? (bot is able to return to starting position?)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·1+1=10
  • sumeetsumeet Posts: 28
    edited 2005-07-22 12:36
    thanks paul ,

    No this is a separate issue.

    I'm working on a hexcrawler.

    1. well reaching to home position is one issue,

    2. another issue lie is how will the hexcrawler keep it position record while navigating & detecting objects.

    3. Suppose a co-partner(another hexcrawler) is working with the first HexCrawler, then how he will know his position wher he standing.
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-07-22 13:01
    #3 is a seperate issue, which builds upon the other issues, it should be defered until a single bot's navigation is tackled. The easiest method (and least amount of resources) is the vector method. You store distance and direction to home, direction is supplied by the compass, distance is aquired from counting the number of revolutions of your wheels. The value you store is the accumulated distance and direction using vector mathmatics. To return to home you travel distance and 180 degrees (opposite) the direction. This is just a brief summery, ask for clarification on points still fuzzy to you. Hmm just realized your have the HexCrawler, getting distance will be more complex.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·1+1=10
  • sumeetsumeet Posts: 28
    edited 2005-07-23 06:16
    please explain the vector theory in little detail
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-07-24 02:30
    This article describes it in much more depth than I could.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·1+1=10
Sign In or Register to comment.