• 0 Posts
  • 44 Comments
Joined 3 years ago
cake
Cake day: July 9th, 2023

help-circle










  • OutsizedWalrus@lemmy.worldtoMemes@lemmy.mlThe line war has begun
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    2 years ago

    By defining the coordinate system as a sphere.

    Basically, there are multiple right answers, but the most correct answer depends on how you define coordinates.

    In “simple”, xyz it’s not a line.

    In Euclidean geometry, a straight line can follow a curved surface.

    In bullshit physics, everything is warped relative to spacetime so anything can or cannot be a line, but we won’t know.








  • Sometimes you can.

    It’s common to use a Hall effect sensor for positioning. It gives off an analog value. You might be able adjust the signal threshold that you consider to be “open” or “closed” in software.

    Further, this is probably something that you just don’t spend a bunch of time engineering. Pick a value that’s well with your tolerance range and move onto harder problems. When a problem comes up, you can fine turn the range.