vehicle-ddr · open source

Drive Direction Recognition — Interactive Demo

Select a scenario · observe sensor fusion · explore the 8 edge cases

github.com/venaychawda/ddr-algorithm
Venay Chawda · Function Owner DDR @ Bosch
1
Select a driving scenario
Choose any scenario from the left panel — normal driving, edge cases, or sensor faults.
← pick one from the list
2
Click Animate to play back
Watch sensor signals update in real time as the algorithm processes each 10ms cycle.
▶ Animate button — Direction timeline panel
3
Explore the outputs
Observe DDR direction, confidence score, diagnostic flags, and the ISO 26262 safety note below.
try all 8 edge cases
Driving scenarios
Processing pipeline
L1 · Signal Processor L2 · Plausibility L3 · State Machine L4 · Confidence L5 · Diagnostics
DDR output
Direction
Confidence
Time in state
0%100%
Sensor inputs (live during playback)
Wheel speed FL
Wheel speed FR
Wheel speed RL
Wheel speed RR
Long. acceleration
Brake pressure
Gear position
Cycle time (sim)
10 ms
Direction timeline
Forward
Reverse
Standstill
Unknown / Transition
Confidence %
Diagnostic word (8-bit)
gear_mismatch [bit 0] wheel_fault [bit 1] low_speed_mode [bit 2] transition_active [bit 3] confidence_degraded [bit 4] plausibility_conflict [bit 5]
CAN byte: 0x00  ·  binary: 0000 0000
Algorithm challenge
Select a scenario to see the key algorithmic challenge and how DDR handles it.
ISO 26262 relevance
Select a scenario to see the safety implication for downstream systems (ESP, HSA, Park Assist).