@gothenburg-quantum-analytics/orbit-emulator
v0.1.6
Published
CAN traffic emulator for testing Orbit plugins
Downloads
129
Readme
Orbit Emulator
CAN traffic generation and Orbit plugin emulation for local development and automated testing.
Installation
npm install @gothenburg-quantum-analytics/orbit-emulatorExample
import { RandomGenerator } from '@gothenburg-quantum-analytics/orbit-emulator';
const generator = new RandomGenerator({
seed: 42,
count: 10,
idRange: { min: 0x100, max: 0x1ff },
});
generator.onFrame = (frame) => console.log(frame);
generator.start();The package also exports manual and DBC-backed traffic generators, DBC parsing helpers, plugin
validation, and the programmatic EmulatorAdapter.
License
MIT
