Project

General

Profile

CAN Object Input » History » Version 1

Adam Klama, 06/21/2026 02:13 PM

1 1 Adam Klama
# CAN Object Input
2
3
## Overview
4
A **CAN Object Input** is a single named **CAN object** decoded by a
5
[CAN Preset](../Working-with-the-CAN-Bus.md#can-presets) for a supported device (a
6
dash, ECU, shifter, keypad, paddle…).
7
8
It is a **technical input created by the preset** — you do **not** add or configure
9
one by hand. When you add a CAN Preset it creates these inputs automatically (one
10
per object it exposes) and fills in their value from the incoming CAN traffic. Your
11
only job is to **use** the input: reference it by its alias wherever you need that
12
value (in maps, drivers, other IO).
13
14
If instead you need to decode a signal from a raw frame yourself, use a
15
[CAN Bus Input](CAN-Bus-Input.md).
16
17
## Prerequisites
18
- A **defined CAN bus** for the channel the device is on — see
19
  [Working with the CAN Bus](../Working-with-the-CAN-Bus.md).
20
- A **CAN Preset** added for the device — adding it creates the object inputs.
21
22
## How it's created
23
1. Add the device's **CAN Preset** on the relevant CAN bus.
24
2. The preset automatically creates a CAN Object Input for each object it exposes.
25
3. Reference the input you need by its alias from your maps/drivers/other IO.
26
27
There is nothing to create or wire manually, and the decoding cannot be changed —
28
the preset owns it.
29
30
## Settings reference
31
> Schema: `config/CanObjectInputData.proto`.
32
33
A CAN Object Input has **no user-configurable settings** — the preset provides its
34
value and its alias (which you may rename).
35
36
## Example — using a shifter position object
37
1. Add the shifter/paddle device's **CAN Preset** on its CAN bus.
38
2. The preset creates an input such as `Gear Position` automatically.
39
3. Reference `Gear Position` from your shift logic — no further configuration.
40
41
## Troubleshooting
42
- **The object input doesn't exist:** confirm the **CAN Preset** that provides it
43
  is added and on the correct CAN bus.
44
- **Reads nothing:** check the CAN bus baud rate and that the device is powered and
45
  transmitting.
46
- **Value looks wrong:** the decoding is owned by the preset — verify you selected
47
  the correct preset/variant for your device.
48
49
## Related
50
- [CAN Bus Input](CAN-Bus-Input.md) — decode a signal from a raw frame by hand.
51
- [CAN Object Output](../outputs/CAN-Object-Output.md) — a named object the preset
52
  sends.
53
- [Working with the CAN Bus](../Working-with-the-CAN-Bus.md)