Shop OBEX P1 Docs P2 Docs Learn Events
LaserPING Sensor — Parallax Forums

LaserPING Sensor

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

Comments

  • Yes.
  • Thank you.
  • Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

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

    -Phil
  • 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: 353
    edited 2018-02-15 07:34
    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... :-)
  • kwinnkwinn Posts: 8,697
    Ken Gracey wrote:
    Yes.
    The forum's shortest answer ever! :)

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

    -Phil

    Yes.
  • edited 2018-02-25 03:06
    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.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2018-02-25 03:21
    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!



  • Heater.Heater. Posts: 21,230
    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: 23,514
    edited 2018-02-26 01:47
    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
  • 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: 23,514
    edited 2018-02-26 05:37
    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
  • 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
Sign In or Register to comment.