Mecanum()

Function Definition: Mecanum(Front Left = 1, Back Left = 2, Back Right = 7, Front Right = 8)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
Front LeftintThe servo port where the Front Left Motor is connected.1 to 81
Back LeftintThe servo port where the Back Left Motor is connected.1 to 82
Back RightintThe servo port where the Back Right Motor is connected.1 to 87
Front RightintThe servo port where the Front Right Motor is connected.1 to 88

Description

The Quarky Mecanum Robot Drive Motors are initialized by the function, which assigns each motor to a specific port. This allows the robot to be programmed to move the motors in the desired direction.

By default, the following pins are assigned:

  1. Front Left – Servo Port 1
  2. Back Left – Servo Port 2
  3. Back Right – Servo Port 7
  4. Front Right – Servo Port 8

Example

There are no examples documented for this article.
Table of Contents