Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Config/motor_config.h
- Revision:
- 26:2b865c00d7e9
- Parent:
- 25:f5741040c4bb
- Child:
- 34:51647c6c500d
--- a/Config/motor_config.h Sun Apr 09 03:05:52 2017 +0000 +++ b/Config/motor_config.h Mon May 01 15:22:58 2017 +0000 @@ -6,6 +6,8 @@ #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.