Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol

Dependencies:   mbed-dev-f303 FastPWM3

Superseded by: https://github.com/bgkatz/motorcontrol

Config/motor_config.h

Committer:
benkatz
Date:
2017-05-01
Revision:
26:2b865c00d7e9
Parent:
25:f5741040c4bb
Child:
34:51647c6c500d

File content as of revision 26:2b865c00d7e9:

#ifndef MOTOR_CONFIG_H
#define MOTOR_CONFIG_H

#define R_PHASE 0.105f          //Ohms
#define L_D 0.00003f            //Henries
#define L_Q 0.00003f            //Henries
#define KT .07f                 //N-m per peak phase amp (= RMS amps/1.5)
#define NPP 21                  //Number of pole pairs
#define GR 6.0f                 //Gear ratio
#define KT_OUT 0.45f            //Effective output torque constatnt

#define WB KT/NPP               //Webers.  



#endif