ASMESDC2018
|
Header file for Motor class More...
#include <Encoder.h>
#include <Servo.h>
Go to the source code of this file.
Classes | |
struct | MotorState |
struct | MotorPins |
class | Motor |
Macros | |
#define | MOTOR_TYPE_DC 1 |
#define | MOTOR_TYPE_BLDC 2 |
#define | MOTOR_TYPE_SERVO 3 |
#define | MOTOR_TYPE_MIN 1 |
#define | MOTOR_TYPE_MAX 3 |
#define | MOTOR_FORWARD 1 |
#define | MOTOR_BRAKE 0 |
#define | MOTOR_REVERSE -1 |
#define | MOTOR_SPEED_MIN 0 |
#define | MOTOR_SPEED_MAX 100 |
#define | MOTOR_PWM_MIN 0 |
#define | MOTOR_PWM_MAX 255 |
#define | MOTOR_PPM_MIN 1200 |
#define | MOTOR_PPM_MAX 1800 |
#define | MOTOR_PPM_OFF 1500 |
#define | ESC_ARM_DELAY 10 |
#define | NO_ENCODER_PIN -1 |