Shop OBEX P1 Docs P2 Docs Learn Events
Omnidirectional Distance Sensor — Parallax Forums

Omnidirectional Distance Sensor

ArchiverArchiver Posts: 46,084
edited 2004-03-25 21:35 in General Discussion
Just wondering, say you got two robots randomly placed in a room
with different 3D position (x,y,z), is there any way to find the
distance between them accurately? Like, is there any way to build
an omnidirectional distance sensor, since it is not just a plane
(x,y,z instead of x,y).

Hope you can understand me.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-25 05:45
    At 05:26 AM 3/25/04 +0000, rich2kchan wrote:

    >Just wondering, say you got two robots randomly placed in a room
    >with different 3D position (x,y,z), is there any way to find the
    >distance between them accurately? Like, is there any way to build
    >an omnidirectional distance sensor, since it is not just a plane
    >(x,y,z instead of x,y).
    >
    >Hope you can understand me.

    A Z direction would only be required if altitude or height were involved. With
    just two variables you can define the locations of two different objects in a 2D
    space. What you probably want to do is to find the position of each one
    individually, in relation to a third point. Find the distances from each object
    to that third point and then use trigonometry or the Pythagorean Theorem to find
    the remaining distances.

    I hope that's what you're trying to do.

    Regards,

    Bruce Bates





    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >Yahoo! Groups Links
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-25 11:52
    To find height (altitude) slap a pressure sensor on each one.
    You'll have to find the offsets for each one when at the same height and
    include that in your program (there's also some drift with temp).
    I believe 0.1mB is about 1foot (check the net for calculations). Be sur
    eyou have some good resolution in the sensor and the sensore measurement.

    Just an idea.
    Original Message
    From: "Bruce Bates" <bvbates@u...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, March 25, 2004 12:45 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Omnidirectional Distance Sensor


    > At 05:26 AM 3/25/04 +0000, rich2kchan wrote:
    >
    > >Just wondering, say you got two robots randomly placed in a room
    > >with different 3D position (x,y,z), is there any way to find the
    > >distance between them accurately? Like, is there any way to build
    > >an omnidirectional distance sensor, since it is not just a plane
    > >(x,y,z instead of x,y).
    > >
    > >Hope you can understand me.
    >
    > A Z direction would only be required if altitude or height were involved.
    With just two variables you can define the locations of two different
    objects in a 2D space. What you probably want to do is to find the position
    of each one individually, in relation to a third point. Find the distances
    from each object to that third point and then use trigonometry or the
    Pythagorean Theorem to find the remaining distances.
    >
    > I hope that's what you're trying to do.
    >
    > Regards,
    >
    > Bruce Bates
    >
    >
    >
    >
    >
    > >To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > >from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    > >
    > >Yahoo! Groups Links
    > >
    > >
    > >
    > >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-25 13:50
    We've discussed this before, but you could use an RF or strobe pulse in the
    area, which each robot uses to trigger a chirp. Then listen for how long it
    takes to hear the chirp from the other robot. Just like counting the seconds
    for thunder to reach you from a lightning hit, you can use sound speed of
    1132 feet/sec at STP, which is about 1.13 foot distance per millisecond of
    delay or .883 milliseconds delay per foot of distance, depending on how you
    look at it.

    Mike Sokol
    mike@f...
    www.fitsandstarts.com

    " One should not increase, beyond what is necessary,
    the number of entities required to explain anything"...
    -William of Occam-


    Original Message
    From: "rich2kchan" <rich2kchan@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, March 25, 2004 12:26 AM
    Subject: [noparse][[/noparse]basicstamps] Omnidirectional Distance Sensor


    >
    > Just wondering, say you got two robots randomly placed in a room
    > with different 3D position (x,y,z), is there any way to find the
    > distance between them accurately? Like, is there any way to build
    > an omnidirectional distance sensor, since it is not just a plane
    > (x,y,z instead of x,y).
    >
    > Hope you can understand me.
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-25 21:35
    You can mount a servo that moves a servo that moves a sonar or ir distance
    sensor.

    John Baker
    http://www.geocities.com/johnsrobotics/


    rich2kchan <rich2kchan@y...> wrote:

    Just wondering, say you got two robots randomly placed in a room
    with different 3D position (x,y,z), is there any way to find the
    distance between them accurately? Like, is there any way to build
    an omnidirectional distance sensor, since it is not just a plane
    (x,y,z instead of x,y).

    Hope you can understand me.



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.

    Yahoo! Groups Links






    Do you Yahoo!?
    Yahoo! Finance Tax Center - File online. File on time.

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.