RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
robotCore.Minibot Class Reference

Minibot pin definitions. More...

Static Public Attributes

static int LeftMotorPWM = Device.M1_2_PWM
static int LeftMotorDir = Device.M1_2_DIR
static int RightMotorPWM = Device.M1_1_PWM
static int RightMotorDir = Device.M1_1_DIR
static int LeftEncoderInt = Device.Q1_INT
static int LeftEncoderDir = Device.Q1_DIR
static int RightEncoderInt = Device.Q2_INT
static int RightEncoderDir = Device.Q2_DIR
static int IRSensor = Device.IO_4

Detailed Description

Minibot pin definitions.

Author
John Gaby

The Minobot class provides the constants needed to control the motors and IR sensor for the minibot.

   LeftMotorPWM    - Specifies the PWM pin for the Left motor
   LeftMotorDIR    - Specifies the DIR pin for the Left motor
   RightMotorPWM   - Specifies the PWM pin for the Right motor
   RightMotorDIR   - Specifies the DIR pin for the Right motor
   LeftEncoderInt  - Specifies the INT pin for the Left motor encoder
   LeftEncoderDir  - Specifies the DIR pin for the Left motor encoder
   RightEncoderInt - Specifies the INT pin for the Right motor encoder
   RightEncoderDir - Specifies the DIR pin for the Right motor encoder
   IRSensor        - Specifies the pin for the IR sensor

Definition at line 23 of file Minibot.java.

Member Data Documentation

◆ IRSensor

int robotCore.Minibot.IRSensor = Device.IO_4
static

Definition at line 32 of file Minibot.java.

◆ LeftEncoderDir

int robotCore.Minibot.LeftEncoderDir = Device.Q1_DIR
static

Definition at line 29 of file Minibot.java.

◆ LeftEncoderInt

int robotCore.Minibot.LeftEncoderInt = Device.Q1_INT
static

Definition at line 28 of file Minibot.java.

◆ LeftMotorDir

int robotCore.Minibot.LeftMotorDir = Device.M1_2_DIR
static

Definition at line 25 of file Minibot.java.

◆ LeftMotorPWM

int robotCore.Minibot.LeftMotorPWM = Device.M1_2_PWM
static

Definition at line 24 of file Minibot.java.

◆ RightEncoderDir

int robotCore.Minibot.RightEncoderDir = Device.Q2_DIR
static

Definition at line 31 of file Minibot.java.

◆ RightEncoderInt

int robotCore.Minibot.RightEncoderInt = Device.Q2_INT
static

Definition at line 30 of file Minibot.java.

◆ RightMotorDir

int robotCore.Minibot.RightMotorDir = Device.M1_1_DIR
static

Definition at line 27 of file Minibot.java.

◆ RightMotorPWM

int robotCore.Minibot.RightMotorPWM = Device.M1_1_PWM
static

Definition at line 26 of file Minibot.java.


The documentation for this class was generated from the following file: