calculate_gear_shifts

calculate_gear_shifts(gears)[source]

Returns when there is a gear shifting [-].

Parameters:gears (numpy.array) – Gear vector [-].
Returns:When there is a gear shifting [-].
Return type:numpy.array