GenericJam

GenericJam

Mob 0.7.14 released!

Mob 0.7.14 has been released.

Added

  • Magnetometer / compass support in Mob.Motion. Request :magnetometer
    in the sensor list and the {:motion, _} message additionally carries mag
    (calibrated field, µT) and heading (degrees from magnetic north). The keys
    are present exactly when you requested :magnetometer, on both platforms,
    and each is nil when there’s no reading (device has no magnetometer, or the
    heading hasn’t fused yet) — so a compass app matches on nil rather than
    hitting a missing key, and accel/gyro-only consumers get the byte-identical
    3-key map with no extra sensor cost. iOS uses the XMagneticNorthZVertical
    reference frame (CMMotionManager); Android fuses TYPE_MAGNETIC_FIELD +
    TYPE_ROTATION_VECTOR (SensorManager), registered only on request.
    Magnetic north only (true north needs location + declination — layer
    Mob.Location). Device-verified on moto g + iPhone SE. (MOB-6, #59)

Where Next?

Popular in News & Updates Top

fhunleth
Nerves systems provide the operating system, libraries and other tools for building firmware for specific hardware. The Nerves Core Team ...
New
sorentwo
Many months ago when I originally announced Oban I mentioned that a LiveView powered UI would be available for it soon. Well, the “soon” ...
New
hugobarauna
This post introduces the new data features in Livebook 0.9: fast data exploration through integration with Explorer, interactive data tab...
New
zachdaniel
Ash Framework 3.0: Release Candidates! The day is finally here! This is the culmination of years of work from the Ash team and community ...
New
bartblast
Hologram v0.6.0 is here, bringing production-ready features to the full-stack Elixir web framework! This release focuses on enhanced secu...
New
zachdaniel
What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir...
New
bartblast
Hey there! :slight_smile: We need help completing Elixir’s browser runtime by porting some Erlang functions to JavaScript. Hologram aut...
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New

We're in Beta

About us Mission Statement