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

# `t`

```elixir
@type t() :: %Common.Message.CommandInt{
  autocontinue: XMAVLink.Types.uint8_t(),
  command: Common.Types.mav_cmd(),
  current: XMAVLink.Types.uint8_t(),
  frame: Common.Types.mav_frame(),
  param1: Float32,
  param2: Float32,
  param3: Float32,
  param4: Float32,
  target_component: XMAVLink.Types.uint8_t(),
  target_system: XMAVLink.Types.uint8_t(),
  x: XMAVLink.Types.int32_t(),
  y: XMAVLink.Types.int32_t(),
  z: Float32
}
```

Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value. NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). The command microservice is documented at https://mavlink.io/en/services/command.html

---

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