# `Common.Message.HilState`
[🔗](https://github.com/fancydrones/xmavlink/blob/main/lib/common.ex#L5195)

# `t`

```elixir
@type t() :: %Common.Message.HilState{
  alt: XMAVLink.Types.int32_t(),
  lat: XMAVLink.Types.int32_t(),
  lon: XMAVLink.Types.int32_t(),
  pitch: Float32,
  pitchspeed: Float32,
  roll: Float32,
  rollspeed: Float32,
  time_usec: XMAVLink.Types.uint64_t(),
  vx: XMAVLink.Types.int16_t(),
  vy: XMAVLink.Types.int16_t(),
  vz: XMAVLink.Types.int16_t(),
  xacc: XMAVLink.Types.int16_t(),
  yacc: XMAVLink.Types.int16_t(),
  yaw: Float32,
  yawspeed: Float32,
  zacc: XMAVLink.Types.int16_t()
}
```

Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.

---

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