Onboard brain for opposed motorcycles