Motor control for robots. More compact, less object-oriented revision.

Dependencies:   FastPWM3 mbed-dev

Fork of Hobbyking_Cheetah_V1 by Ben Katz


RevisionDateWhoCommit message
35:69b24894c11d 4 months ago benkatz minor updates default tip
34:51647c6c500d 4 months ago benkatz testing new things
33:3ab3cce8b44d 6 months ago benkatz Added firmware version number to debug stream. Fixed duty cycle mistake
32:ccac5da77844 6 months ago benkatz Firmware version 1.0.1. ; Added firmware version number to debug stream;
31:61eb6ae28215 6 months ago benkatz Fixed performance bug
30:db9081ac5658 6 months ago benkatz Broken, will come back to this;
29:0dbc822dd29a 9 months ago benkatz version on Joao's motors
28:8c7e29f719c5 9 months ago benkatz Use external oscillator
27:501fee691e0e 10 months ago benkatz Setting PWM ARR value in config file now propagates everywhere.
26:2b865c00d7e9 10 months ago benkatz - Added CAN Send/Receive; - Updated to most recent MBED (Broke SPI 16-bit read/write. Hacked to work with 2 8-bit writes now); - Removed most sine/cos calculations; - Fixed sign error in autocalibration routine
25:f5741040c4bb 11 months ago benkatz Set current bandwidth from serial interface
24:58c2d7571207 11 months ago benkatz Can flush preferences multiple times now
23:2adf23ee0305 11 months ago benkatz Added bayley's flash writer
22:60276ba87ac6 11 months ago benkatz Encoder autocalibration for dc offset and harmonics
21:7d1f0a206668 12 months ago benkatz Compact version works
20:bf9ea5125d52 12 months ago benkatz Compact version works.;
19:bd10a04eedc2 13 months ago benkatz commit b4 fork; reorganizing coming
18:f1d56f4acb39 15 months ago benkatz Working CAN Torque Command for Dyno-ing;
17:3c5df2982199 15 months ago benkatz Initial CAN Import;
16:385dd470fa3f 15 months ago benkatz Switch to mbed 127 to fix CAN;
15:ef00814e38e2 15 months ago benkatz getting ready to add CAN Bus;
14:80ce59119d93 16 months ago benkatz Misc. changes. Finally fixed transforms (turns out B and C current measurements were accidentally swapped)
13:a3fa0a31b114 22 months ago benkatz fixed some dumb things;
12:c473a25f54f7 22 months ago benkatz experimental feed-forward decoupling;
11:c83b18d41e54 22 months ago benkatz summer cleaning;
10:370851e6e132 22 months ago benkatz Now featuring hobbyking startup tone!
9:d7eb815cb057 22 months ago benkatz Fixed current scaling hack
8:10ae7bc88d6e 23 months ago benkatz Multi-turn mechanical position, MA700 position sensing over SPI. Placeholder torque controller for cogging/ripple compensation;
7:dc5f27756e02 24 months ago benkatz propper svm;
6:4ee1cdc43aa8 2016-03-12 benkatz Switched from sinusoidal pwm to svm
5:51c6560bf624 2016-03-12 benkatz Moved InvClarke out of SVM
4:c023f7b6f462 2016-03-12 benkatz serial debugging;
3:6a0015d88d06 2016-03-09 benkatz more motter;
2:8724412ad628 2016-02-19 benkatz now uses TIM1 for PWM - makes layout for micro-on-board version much easier
1:b8bceb4daed5 2016-02-05 benkatz Added some comments, cleaned things up a bit
0:4e1c4df6aabd 2016-02-05 benkatz It works!