BB.NSK.Message.EnvironmentState (bb_nsk v0.1.2)

Copy Markdown View Source

The air around the robot.

This is ambient temperature from a sensor sitting on the board, not the temperature of the SoC — the T113 has no thermal zone, so its own temperature can't be read at all.

Fields

  • temperature - degrees celsius
  • humidity - relative humidity as a percentage

Summary

Types

t()

@type t() :: %BB.NSK.Message.EnvironmentState{humidity: float(), temperature: float()}

Functions

new(frame_id, attrs)

@spec new(atom(), keyword()) :: {:ok, BB.Message.t()} | {:error, term()}