---
title: "Instrument cluster"
description: "A real Qt instrument cluster as the DIM ECU, reading CAN over SocketCAN"
source: https://developer.remotivelabs.com/docs/get-started/examples/instrument-cluster
last_updated: 2026-11-24
---

# Instrument cluster

- Goal: Visualize
- From: [RemotiveCar v0.9.0](https://github.com/remotivelabs/remotivelabs-remotive-car/tree/v0.9.0)
- Protocols: CAN
- Vehicle domains: Driver information
- Requires: Linux with RemotiveBus

## Run it

```bash
git clone https://github.com/remotivelabs/remotivelabs-remotive-car.git
cd remotivelabs-remotive-car

remotive topology build -f instances/agl_cluster/main.instance.yaml build

docker compose -f build/remotive_car_agl_cluster/docker-compose.yml --profile 3dcar up --build
```

Open http://localhost:6080 for the cluster, or http://localhost:3000/?clusterIframe=http://localhost:6080 to see it inside the 3D car.

Running real ECU software in the topology lets you see how it behaves on the same signals as the rest of the platform.
Here the Driver Information Module (`DIM`) is a real instrument cluster in a container instead of a plain
RemotiveBroker: a Qt/QML application derived from the
[AGL cluster demo dashboard](https://gerrit.automotivelinux.org/gerrit/admin/repos/apps/agl-cluster-demo-dashboard).

- Part of the [RemotiveCar example](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/DOCS.md)
- Instance: [agl_cluster](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/agl_cluster/README.md), the same topology as hello world with the cluster as the `DIM`
- Instance file: [DIM/agl_cluster.instance.yaml](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/ecus/DIM/agl_cluster.instance.yaml)
- Container image and application: [models/dim/agl_cluster](https://github.com/remotivelabs/remotivelabs-remotive-car/tree/v0.9.0/models/dim/agl_cluster)
- Dashboard to drive it: [cluster.dashboard.json](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/agl_cluster/cluster.dashboard.json)

The container is attached directly to the DIM CAN buses, so the cluster reads the real CAN frames over SocketCAN,
decoded with the same DBC files as every other ECU. Nothing else in the topology knows what runs inside: replace the
container with any other cluster that speaks CAN and the rest of the platform is unchanged.

Build and start it:

```bash
remotive topology build -f instances/agl_cluster/main.instance.yaml build
docker compose -f build/remotive_car_agl_cluster/docker-compose.yml --profile 3dcar up --build
```

The cluster is served as a web page on [http://localhost:6080](http://localhost:6080). The [3D car](https://developer.remotivelabs.com/docs/get-started/examples/3d-visualization.md) can show it as its instrument
cluster: open [http://localhost:3000/?clusterIframe=http://localhost:6080](http://localhost:3000/?clusterIframe=http://localhost:6080).

Notice:
- The cluster reads SocketCAN directly, so it needs Linux with [RemotiveBus](https://developer.remotivelabs.com/docs/remotive-bus).
- No display is needed on the host. The cluster is rendered in the container and viewed in a browser.
- See the [instance README](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/agl_cluster/README.md) for driving the cluster from the dashboard or the
  command line, running it with Android, and its tests.

## Where it lives in the repo

- [instances/agl_cluster/cluster.dashboard.json](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/agl_cluster/cluster.dashboard.json)
- [instances/agl_cluster/main.instance.yaml](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/agl_cluster/main.instance.yaml)
- [instances/ecus/DIM/agl_cluster.instance.yaml](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/instances/ecus/DIM/agl_cluster.instance.yaml)
- [models/dim/agl_cluster/](https://github.com/remotivelabs/remotivelabs-remotive-car/tree/v0.9.0/models/dim/agl_cluster)

[Read this use case on GitHub](https://github.com/remotivelabs/remotivelabs-remotive-car/blob/v0.9.0/usecases/INSTRUMENT_CLUSTER.md)

## Works well with

- [3D visualization](https://developer.remotivelabs.com/docs/get-started/examples/3d-visualization.md): The car reacts to live signals in the browser
- [Android Cuttlefish](https://developer.remotivelabs.com/docs/get-started/examples/android-cuttlefish.md): A custom Android Automotive build, connected over SOME/IP or VHAL
