From 3bdaa63a285014bb2a267706459030f76c6bd0d3 Mon Sep 17 00:00:00 2001 From: Joe Ross Date: Wed, 10 Dec 2014 19:34:56 -0800 Subject: [PATCH] Update javadoc for RobotDrive. Mecanum methods are implemented. Change-Id: Ia0e0fc62f8deae778eaa14789086ff47210796bb --- wpilibc/wpilibC++Devices/include/RobotDrive.h | 11 ++++++----- .../main/java/edu/wpi/first/wpilibj/RobotDrive.java | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/wpilibc/wpilibC++Devices/include/RobotDrive.h b/wpilibc/wpilibC++Devices/include/RobotDrive.h index 87c64cbe95..e6cd031fd9 100644 --- a/wpilibc/wpilibC++Devices/include/RobotDrive.h +++ b/wpilibc/wpilibC++Devices/include/RobotDrive.h @@ -16,11 +16,12 @@ class GenericHID; /** * Utility class for handling Robot drive based on a definition of the motor configuration. - * The robot drive class handles basic driving for a robot. Currently, 2 and 4 motor standard - * drive trains are supported. In the future other drive types like swerve and meccanum might - * be implemented. Motor channel numbers are passed supplied on creation of the class. Those are - * used for either the Drive function (intended for hand created drive code, such as autonomous) - * or with the Tank/Arcade functions intended to be used for Operator Control driving. + * The robot drive class handles basic driving for a robot. Currently, 2 and 4 motor tank and + * mecanum drive trains are supported. In the future other drive types like swerve might be + * implemented. Motor channel numbers are passed supplied on creation of the class. Those + * are used for either the Drive function (intended for hand created drive code, such as + * autonomous) or with the Tank/Arcade functions intended to be used for Operator Control + * driving. */ class RobotDrive : public MotorSafety, public ErrorBase { diff --git a/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/RobotDrive.java b/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/RobotDrive.java index aefdd272d0..ff3c218a37 100644 --- a/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/RobotDrive.java +++ b/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/RobotDrive.java @@ -13,9 +13,9 @@ import edu.wpi.first.wpilibj.communication.UsageReporting; /** * Utility class for handling Robot drive based on a definition of the motor configuration. - * The robot drive class handles basic driving for a robot. Currently, 2 and 4 motor standard - * drive trains are supported. In the future other drive types like swerve and meccanum might - * be implemented. Motor channel numbers are passed supplied on creation of the class. Those are + * The robot drive class handles basic driving for a robot. Currently, 2 and 4 motor tank and + * mecanum drive trains are supported. In the future other drive types like swerve might + * be implemented. Motor channel numbers are supplied on creation of the class. Those are * used for either the drive function (intended for hand created drive code, such as autonomous) * or with the Tank/Arcade functions intended to be used for Operator Control driving. */