RemotiveTopology examples
Each example shows one thing you can do with RemotiveTopology, with the commands to run it and where its files are. Filter them by what you want to do, or by the part of the vehicle you work on. If you're new to RemotiveTopology, start with Your first topology.
The examples come from three repositories:
- remotivelabs-topology-quickstart: the finished project of Your first topology.
- remotivelabs-topology-examples: small examples that each show one thing, such as a restbus or a test.
- remotivelabs-remotive-car: a larger car with 14 ECUs, laid out as you could lay out your own repository. Many examples share its platform, ECUs and tests.


Behavioral model and test
A BCM model and a test of the hazard lights, explained step by step


Your first topology
Describe a sample vehicle from two DBC files, then build, run and view it


FMU models
Run an exported FMU as the behavior of an ECU


Python behavioral models
Model ECUs that don't exist yet, in a few lines of Python


Restbus
Send every frame of an ECU from its database, and set signal values from Python


Same tests as the ECU matures
One test for a gateway ECU, whether it is a model, a container or hardware


Scenario tests with behave
Tests written as scenarios that domain experts can read


Test cases with pytest
Integration tests as Python code, run as part of the topology
Raw playback with video
Replay a recorded Tesla Model 3 drive, with its camera videos, onto its CAN buses


Replay candump or CSV
Play a candump or CSV recording onto a CAN bus


Signal playback
Recorded VSS signals, converted by models into platform signals


3D visualization
The car reacts to live signals in the browser
Inspect traffic with Edgeshark
Capture the network traffic of the topology's containers in Wireshark


Instrument cluster
A real Qt instrument cluster as the DIM ECU, reading CAN over SocketCAN


Jupyter notebook
Drive a running topology from a notebook with buttons and plots


Android Cuttlefish
A custom Android Automotive build, connected over SOME/IP or VHAL


Android Emulator
An Android Automotive app on simulated vehicle signals, on any OS


Physical CAN device
Attach a simulated ECU to a real CAN interface on the host
Traceability with Sphinx-Needs
Requirements traced to ECUs, models and tests, as docs-as-code