Slurp

Dependencies:   FastPWM3 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers motor_config.h Source File

motor_config.h

00001 #ifndef MOTOR_CONFIG_H
00002 #define MOTOR_CONFIG_H
00003 
00004 //#define R_PHASE 0.105f            //Ohms
00005 //#define L_D 0.00003f            //Henries
00006 //#define L_Q 0.00003f            //Henries
00007 //#define KT .07f                 //N-m per peak phase amp (= RMS amps/1.5)
00008 #define POLE_PAIRS 7                 //Number of pole pairs
00009 
00010 //#define WB KT/NPP               //Webers.  
00011 
00012 #define ENC_TICKS_PER_REV 8192
00013 
00014 
00015 
00016 #endif