logo

How we turned a real car into a Mario Kart controller by intercepting CAN data

ID: 3976732e-18c3-59d1-874d-6a9c3084975c

STIX ID: report--3976732e-18c3-59d1-874d-6a9c3084975c

Feed Name: Pen Test Partners Blog

Date Published: 2025-06-26

Date Updated: 2026-03-26

Author: Joe Bursell

...
...

The report describes a hands-on demo converting a Renault Clio into a game controller by tapping the CAN bus with inexpensive splicers and a Kvaser USBCAN interface, identifying steering/brake/throttle arbitration IDs, and translating them into SuperTuxKart inputs via Python (python-can, pynput). It details building a state-machine architecture to throttle input rates, selecting thresholds for controls, displaying key CAN frames, and resolving instability caused by thread-unsafe bus access by switching to can.ThreadSafeBus. The piece shares practical constraints (power, battery, steering effort) and notes future plans to replicate the concept with a more portable platform.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.