# `BB.Sensor.SensorProfile`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/sensor/sensor_profile.ex#L5)

Resolved transmission and joint reference for a joint-attached sensor.

Built by `BB.Sensor.Server` from a sensor's transmission and joint at
init, then injected into the sensor callback module's resolved options as
`:sensor_profile`. Drivers read the resolved transmission from this
struct instead of looking up `BB.Robot.sensors` themselves.

When the sensor is attached at the robot level or to a link (not a
joint), `joint_name` is `nil` and `transmission` is `nil`.

# `t`

```elixir
@type t() :: %BB.Sensor.SensorProfile{
  joint_name: atom() | nil,
  transmission: BB.Transmission.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
