Forum Update - Announcement about May 10th, 2018 update and your password.

LaserPING Sensor

Can the LaserPING sensor be turned sideways or upside down and read properly?

Comments

  • 15 Comments sorted by Date Added Votes
  • Thank you.
  • Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

    Oh, wait, has someone ever said, "No"?

    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
  • Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

    Oh, wait, has someone ever said, "No"?

    -Phil

    I'm less conversant in my new, older age, I suppose. Heading towards the land of curmudgeons, one step at a time!

    Ken Gracey

  • Francis BauerFrancis Bauer Posts: 84
    edited February 15 Vote Up0Vote Down
    Ken Gracey wrote: »
    Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

    Oh, wait, has someone ever said, "No"?

    -Phil

    I'm less conversant in my new, older age, I suppose. Heading towards the land of curmudgeons, one step at a time!

    Ken Gracey

    Ken could have answered 1 or 0 for even a shorter answer... :-)
    Along with 'Antimatter' and 'Dark Matter' we've recently discovered the existence of
    `Doesn't Matter`, which appears to have no effect on the universe whatsoever.
  • Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

    Oh, wait, has someone ever said, "No"?

    -Phil

    Yes.
    In science there is no authority. There is only experiment.
    Life is unpredictable. Eat dessert first.
  • edited February 25 Vote Up0Vote Down
    Benny Hill once did a skit where he was trying to order breakfast in a Germany restaurant and the dialog was conducted using letters and numbers for communication.

    Benny; F U N E M?
    Server; S
    Benny; F U N E X?
    Server; S
    Benny; F U N E M N X?
    Server; 9
    At that point Benny broke into English.

    It was quite funny.
    Infantryman's Axiom; Always cheat, always win.
  • Peter JakackiPeter Jakacki Posts: 7,277
    edited February 25 Vote Up0Vote Down
    Benny Hill once did a skit where he was trying to order breakfast in a Germany restaurant and the dialog was conducted using letters and numbers for communication.

    Benny; F U N E M?
    Server; S
    Benny; F U N E X?
    Server; S
    Benny; F U N E M N X?
    Server; 9
    At that point Benny broke into English.

    It was quite funny.

    Benny Hill? Had to check but it was Ronnie Barker of the Two Ronnies and I think it was a Swedish restaurant :)
    Classics!



    Tachyon Forth - compact, fast, forthwright and interactive
    useforthlogo-s.png
    --->CLICK THE LOGO for more links<---
    Tachyon Forth News Blog
    P2 SHORTFORM DATASHEET
    TAQOZ documentation
    Brisbane, Australia
  • L O L O A Q I C I 8 2 Q B 4 I P

  • Ken Gracey wrote: »
    I'm less conversant in my new, older age, I suppose. Heading towards the land of curmudgeons, one step at a time!

    Not to worry Ken, I'll keep an open seat for you here at the bar. Happy hour starts at four -- Central time, so better on ya -- and the screwdrivers and bloody marys are half off. There's also a killer golf video game in the corner and darts.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,902
    edited February 26 Vote Up0Vote Down
    Ken Gracey wrote:
    Heading towards the land of curmudgeons, one step at a time!
    Yeeess, Ken! Thaaat's it! Come over to the dark side! We have bran muffins!

    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
  • Ken Gracey wrote:
    Heading towards the land of curmudgeons, one step at a time!
    Yeeess, Ken! Thaaat's it! Come over to the dark side! We have bran muffins!

    -Phil

    I'm on my way, Chief of Curmudgeons! I might even see you this summer for the BlocklyProp vs. Spin ASV man-on-man challenge. Still thinking that through, and trying to figure out if I really need to account for the fact the earth isn't flat and do all that math in BlocklyProp.

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 21,902
    edited February 26 Vote Up0Vote Down
    Ken Gracey wrote:
    ...trying to figure out if I really need to account for the fact the earth isn't flat...
    No, you do not. We're talking about tens of meters here, not hundreds of kilometers. Keep it simple!

    But you do need to scale longitude distance based upon latitude:

    http://pthsrobotics.org/documents/22 January 2015.pdf

    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
  • Thanks for that paper Phil.
    To save on calculation coding I presume it is OK to follow the coding scheme below to work out the distance and bearing between two points;
    - calculate latitude and longitude coordinates for each point (Lat and Long), each from 0deg using the radius of earth
    - calculate the difference between co-ordinates, d_Lat and d_Long
    - scale d_Long by multiplying it with cos(ave Lat)
    - use coordinate geometry to find bearing and distance between the points.
  • macrobeak,

    Look at the GPSMath code I posted here:

    http://forums.parallax.com/discussion/comment/1431330/#Comment_1431330

    Let's either continue the discussion there, since it's more relevant to that thread, or start a new one.

    Thanks,
    -Phil
    “Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away. -Antoine de Saint-Exupery
Sign In or Register to comment.