robot

Dependencies:   FastPWM3 mbed

Revisions of CHANGELOG.txt

Revision Date Message Actions
223:b986e7cee521 2018-10-02 10/02/2018 03:10 - added overly-complicated LedBlinker class for blinking status codes over an LED, added blinker object to IOStruct, STATUS_LED to hardware.h File  Diff  Annotate
222:b58a95551632 2018-10-02 10/02/2018 02:21 - processCmd() now uses else-if statements, prints message if command is invalid File  Diff  Annotate
221:1e607c8d7d76 2018-10-02 10/02/2018 02:15 - PwmIn::get_throttle() returns 0, not -1, if throttle is disabled. File  Diff  Annotate
220:ff69c230aa6d 2018-06-26 06/26/2018 15:57 - added induction machine CurrentModel, which is probably wrong File  Diff  Annotate
219:1cfd651eb2b2 2018-06-26 06/26/2018 15:47 - GetUnlimitedElecPosition() is now a private member of PositionSensorEncoder class (it is only used to compute mechanical position) File  Diff  Annotate
218:13981deba5a8 2018-05-30 updated CHANGELOG.txt with info regarding resolver decoder File  Diff  Annotate
209:befed15596a7 2018-02-20 02/20/2018 00:54 - moved modes.cpp to correct location File  Diff  Annotate
208:3f3fe99c73ad 2018-02-14 typo fix File  Diff  Annotate
207:56ab30e84525 2018-02-14 02/13/2018 23:15 - cmd_flush() now works in all modes (otherwise the controller would only ever boot up in MODE_CFG) File  Diff  Annotate
206:5c848ea69028 2018-02-14 02/13/2017 20:33 - set serial RX interrupt to be lower priority than commutation interrupt File  Diff  Annotate
205:5cfe6d7e08a3 2018-02-12 02/11/2018 21:21 - cmd_exit() checks that motor is not running File  Diff  Annotate
204:74714d52a936 2018-02-12 02/11/2018 21:11 - further improvements to mode handling, output overrides and output disabling now live in their own functions File  Diff  Annotate
202:1baff0df86d1 2018-02-12 02/11/2017 20:13 - scrambled the mode and error handling code in commutate() to be cleaner File  Diff  Annotate
200:4999d5e6c63d 2018-02-11 02/11/2017 03:16 - blocked switching modes when motor is running File  Diff  Annotate
199:c160a2c03781 2018-02-11 02/11/2017 02:54 - long commands can no longer be executed while control.enabled == true, invalid BREMS_src now sets control.user_cmd to 0 File  Diff  Annotate
198:7ee146427a0d 2018-02-11 02/11/2018 02:11 - added BREMS_mode. most modes are stubs right now (BREMS_CFG does a rudimentary encoder zero-ing, BREMS_CFG disables outputs) File  Diff  Annotate
197:68fd01b73537 2018-02-10 02/10/2018 17:00 - fixed a bug in BREMSConfig where the delay was in the wrong spot File  Diff  Annotate
196:7172e6e28867 2018-02-10 02/10/2017 01:35 - can now switch command source to terminal, added 'clear' command (which clears the screen on POSIX-compliant terminals) File  Diff  Annotate
194:05e119bc5a78 2018-02-10 02/10/2018 01:05 - everything configured through flash variables, started adding support for operating modes File  Diff  Annotate
193:3abadeecf908 2018-02-10 02/10/2018 00:35 - added fancy masked error system File  Diff  Annotate
192:3152a86cd108 2018-02-10 02/09/2018 22:58 - everything but main.cpp and friends moved to flash configuration File  Diff  Annotate
191:66861311bdcd 2018-02-10 02/09/2018 22:41 - removed ROW, COLUMNS from configurable values, for now. removed a bunch of extra #include's File  Diff  Annotate
190:01674f19f9ce 2018-02-10 02/09/2018 21:54 - removed extra delay in BREMSConfig as it does not seem to mitigate the freezing issue; migrated to dynamic loop gains File  Diff  Annotate
189:760cd81a7633 2018-02-10 02/09/2018 21:45 - started switching code to run on flash-saved parameters instead of hardcoded ones; moved delay in BREMSConfig.cpp to avoid intermittent freeze after programming File  Diff  Annotate
188:43f50a4cc040 2018-02-10 02/09/2018 19:12 - changed object initialization order in BREMSConfig.cpp to read values back from flash first File  Diff  Annotate
187:523cf8c962e4 2018-02-09 02/09/2018 18:22 - moved hard-coded config values to defaults.h, started filling out errors.cpp and callbacks.cpp File  Diff  Annotate
184:633119bb0b77 2018-02-09 02/09/2018 16:01 - moved pinouts to layout.h File  Diff  Annotate
183:73ff4a68565e 2018-02-09 02/09/2018 15:22 - added functionality to disable logging during long UI operations (flash write) File  Diff  Annotate
182:5ed20e4ce158 2018-02-09 02/09/2018 14:28 - check for valid config in BREMSConfig.cpp is now 'if (PREFS_VALID != 1)', as flash bytes default to 0xFF File  Diff  Annotate
181:d3510c8beab6 2018-02-09 02/08/2018 22:48 - integrated CommandProcessor and PreferenceWriter (but code does not use dynamic config variables or set error flags yet) File  Diff  Annotate
179:935f9d78d936 2018-02-08 02/07/2017 21:39 - updated BREMS*.h/cpp to include PreferenceWriter functionality, updated CommandProcessor to match current config variables File  Diff  Annotate
178:4e721c904fd7 2018-02-08 02/07/2018 21:15 - moved PreferenceWriter and prefs.h back from test project, code still compiles File  Diff  Annotate
177:f1aaaf0f9466 2018-02-08 02/07/2018 20:59 - new InvertingThrottleMapper, InterpolatingLutMapper classes. blended, smaller tables. BufferedLogger logging class File  Diff  Annotate
166:4637785ba01e 2017-09-05 09/05/2017 04:57 - formatting fix File  Diff  Annotate
165:2463dbe52eee 2017-09-04 09/04/2017 03:08 - added delay between startup and PwmIn creation in BREMSConfig.cpp to avoid power switch bounce induced lockups during logic power-on File  Diff  Annotate
163:8b23a2fdaa16 2017-07-03 07/02/2017 21:18 - branch for stall testing code File  Diff  Annotate
162:126dc3bc17f3 2017-07-01 07/01/2017 18:32 - added AutoMapper, AutoThrottleMapper classes for automated stall testing; parameters in this commit are currently connfigured for driving File  Diff  Annotate
159:9dbc0657238c 2017-05-07 05/07/2017 13:42 - bugfix in constrain_norm(), which previously stepped from max to 1 magnitude when limiting kicked in File  Diff  Annotate
158:882f9c208378 2017-05-07 typo fix File  Diff  Annotate
157:a9b2002994d5 2017-05-07 05/07/2017 12:46 - added overmodulation option to config_loop File  Diff  Annotate
156:cf92f967983d 2017-05-04 05/04/2017 17:16 - encoder class now sets TIM->ARR to CPR - 1 File  Diff  Annotate
155:7c6005933d4c 2017-05-04 05/04/2017 13:34 - changed logic in PwmIn::handle_fall, which no longer resets timer on invalid edges File  Diff  Annotate
154:0a22dcf91577 2017-05-04 05/04/2017 12:44 - moved median filter objects to ControlStruct, is_driving() now checks % torque cmd instead of raw throttle value File  Diff  Annotate
153:8a1f9888f003 2017-05-04 temp commit, moving average does not seem to work too well File  Diff  Annotate
152:6877dceec871 2017-05-04 05/04/2017 11:14 - removed w_crazy checks, switched velocity to median filtering File  Diff  Annotate
151:5bbb15351798 2017-05-04 05/04/2017 10:33 - removed throttle_crazy checks as these lead to dangerous behavior; beginnings of new filter code in main.cpp File  Diff  Annotate
149:c51c0258c923 2017-05-04 05/04/2017 08:53 - added fast path for median-of-3 File  Diff  Annotate
148:9bca96f7be5c 2017-05-03 05/03/2017 09:39 - indexing bugfix in median code File  Diff  Annotate
147:c1b2379b8874 2017-05-03 05/03/2017 09:26 - added use_median option to circular buffers (since average filters may not want to recalculate the median every sample) File  Diff  Annotate
146:296bcc30e65d 2017-05-03 05/03/2017 08:36 - added median and moving average filters File  Diff  Annotate
145:37ffa3ba3862 2017-05-03 05/03/2017 08:27 - CircularBuffer moved to its own .cpp file File  Diff  Annotate
144:a9e7fa1c98d7 2017-05-03 05/03/2017 08:24 - added circular buffer code File  Diff  Annotate
143:a7a0c9d70e8a 2017-05-02 05/02/2017 06:54 - fast logging is now back to logging vd, vq instead of decoupling terms File  Diff  Annotate
142:0e0a164feb4c 2017-05-02 typo fix File  Diff  Annotate
140:170411d158b5 2017-05-01 05/01/2017 08:13 - enabled->disabled now resets usec count in PwmIn File  Diff  Annotate
139:d5ef8d1936f8 2017-05-01 05/01/2017 07:58 - W_CRAZY limit bumped up, never an issue on the road but may behave strangely on the bench File  Diff  Annotate
137:54c47ef47bbb 2017-05-01 05/01/2017 07:21 - rising edge from disabled state now resets usec count in PwmIn File  Diff  Annotate
136:607bdeb17e2f 2017-05-01 05/01/2017 06:40 - more tweaks to throttle limits File  Diff  Annotate
135:63ef59eb7f2a 2017-05-01 top speed for the best run on this table was only 40mph, not 47 File  Diff  Annotate
134:c9f1ab6c8811 2017-05-01 05/01/2017 03:17 - changed throttle limits to match 56k pulldown; relaxed THROTTLE_CRAZY bounds a bit File  Diff  Annotate