# `mix bb_camera_avf.install`
[🔗](https://github.com/beam-bots/bb_camera_avf/blob/main/lib/mix/tasks/bb_camera_avf.install.ex#L6)

Installs BB.Camera.AVF into a robot

Adds a `:config.:camera` param group holding the camera name and geometry,
writes the camera default to the robot's parameters, and imports
`bb_camera_avf` into your formatter.

The camera itself belongs on a specific link — whichever one it is bolted
to — and the installer cannot guess which, so it prints a snippet to paste
into the topology.

## Example

```bash
mix igniter.install bb_camera_avf
mix igniter.install bb_camera_avf --device "HD Pro Webcam C920"
```

## Options

* `--robot` - The robot module (defaults to `{AppPrefix}.Robot`).
* `--device` - The camera's name as ffmpeg lists it (default `default`,
  the system's default camera).

---

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