Eimantas Bernotavicius / Mbed 2 deprecated Buggy_Project

Dependencies:   QEI mbed

constants.cpp

Committer:
Weranest
Date:
2018-02-22
Revision:
4:48d390356fba
Parent:
3:c9df852ad9ac

File content as of revision 4:48d390356fba:

//
#define ENCODER_PULSE 256 //per manual
#define GEAR_RATIO 20 //determine this for me pls
#define SAMPLE_TIME 1.0f //user defined
#define WHEEL_DISTANCE 20//need to measure that
//
#define NORMAL_PWM 0.5f
#define FAST_PWM 0.7f
#define SLOW_PWM 0.3f
#define RIGHT_MOTOR_CONST 1
#define LEFT_MOTOR_CONST 1
#define MOTOR_PERIOD 1.0f
#define ADC_CONSTANT 0.0005f