robot

Dependencies:   FastPWM3 mbed

Revisions of CHANGELOG.txt

Revision Date Message Actions
252:38644631ed97 2018-11-13 11/13/2018 12:45 - hitting <return> on empty line prints "\r>", so that hitting enter after intially connecting to the controller generates a prompt File  Diff  Annotate
251:4ba2f238066f 2018-11-13 11/13/2018 12:36 - bugfix to processCmd(), hitting <return> on an empty line in terminal no longer prints 'Bad Command' File  Diff  Annotate
250:ef028cbd0749 2018-11-13 11/13/2018 12:26 - bugfix to rxCallback() File  Diff  Annotate
249:314c1b12d9c2 2018-11-13 11/13/2018 12:33 - changes to rxCallback() - fast commands no longer print "\r>" after completion; non-ASCII chars are no longer echoed File  Diff  Annotate
248:c4539ee69052 2018-11-13 11/13/2018 11:20 - added COMMANDS.txt, added bounds check in OP_TORQUE File  Diff  Annotate
247:da647f7185b7 2018-11-13 11/13/2017 11:04 - added fast commands (which have command and data > 127 and aren't issuable from a terminal) File  Diff  Annotate
246:167b5d50d0f2 2018-11-13 11/13/2018 10:05 - added io.cmd_busy flag to block execution of processCmd() during execution of processCmd() File  Diff  Annotate
245:d97d09df3629 2018-11-12 11/12/2018 07:42 - PWM configured to be non-inverting in BREMSConfigRegisters, moved inverting code to hardware.h like it should be File  Diff  Annotate
244:1c6c0af8508e 2018-11-12 11/12/2018 07:33 - revert to old inverting, falling-edge-aligned code, since the Prius module is inverting File  Diff  Annotate
243:96b03b3bf3ef 2018-11-12 11/12/2018 06:16 - added W_LOOP_MAX_TQ parameter to limit acceleration in speed mode (actually, to make bench supplies not freak out when the motor ramps) File  Diff  Annotate
242:ac30f04fd6f7 2018-11-12 11/12/2018 05:56 - added check for user_cmd < 0 in OP_DRIVING in cmd_setp - this disables motor if the user enters a cmd < 0, without screwing with error logic. File  Diff  Annotate
241:eec17042a009 2018-11-11 11/10/2018 10:09 - cosmetic typo in errors.cpp File  Diff  Annotate
240:2aaffa217627 2018-11-11 added speed mode (untested), other changes - see CHANGELOG File  Diff  Annotate
239:09cd19ce7048 2018-11-10 11/10/2018 06:59 - changed the sign of the offset returned by calibrate_position(), since the signs of the PWM's have changed File  Diff  Annotate
238:cf54cb197c8f 2018-11-10 11/10/2018 06:20 - added cmd_clear() before startup message in BREMSInit() File  Diff  Annotate
237:1a4591a0dd2d 2018-11-10 11/10/2018 06:18 - made PWM's non-inverting, swapped pins to match File  Diff  Annotate
236:29ee9e1ccf61 2018-11-10 11/10/2018 05:01 - bugfix to cmd_setp() File  Diff  Annotate
235:fe49ec4e9c97 2018-11-10 11/10/2018 04:36 - bugfix to cmd_setp(), is_driving() now checks user_cmd and not torque_percent (i.e. if the pedal is down, the car is 'driving' regardless of the throttle map) File  Diff  Annotate
234:ad68d7f8eff1 2018-11-10 11/10/2018 04:21 - cmd_setp() sets setpoint to zero if there are errors present (to avoid sudden start of motor if errors are cleared) File  Diff  Annotate
233:2ca26ab47b4f 2018-11-10 11/10/2018 04:14 - 'some modes override FOC outputs' removed from commutate(), as it is no longer needed (ZERO, CHR have their own routines, CFG disables output anyway) File  Diff  Annotate
232:47f6cf4f9126 2018-11-10 11/10/2018 03:36 - restructured code to allow for proper encoder zeroing - MODE_ZERO and MODE_CHR execute run-once functions when they are entered, then drop to MODE_CFG File  Diff  Annotate
231:753ec371b153 2018-11-10 11/10/2018 01:50 - swapped ia and ib (back to what they were before 11/10/2018) File  Diff  Annotate
230:7ac00598d366 2018-11-10 11/10/2018 01:32 - new pin mapping for new hardware File  Diff  Annotate
229:90c6892f4d3b 2018-11-10 11/10/2018 01:26 - renamed ia_supp_offset, ib_supp_offset to ad1, ad2_supp_offset to reflect the fact that they correspond to ADC channel offsets and not currents (which can be renamed in elsewhere) File  Diff  Annotate
227:e058e025c72d 2018-11-10 11/10/2018 00:50 - moved RESOLVER_RESET pin to PC_0 to match new hardware File  Diff  Annotate
226:0e3fbbfea464 2018-10-29 10/28/2018 21:27 - added some explanatory comments to BREMSConfigRegisters File  Diff  Annotate
225:81b72a4bf18b 2018-10-27 10/27/2018 19:12 - moved encoder object to use PA_1 and PA_15; removed some spurious analog registers in BREMSConfigRegisters which are no longer being used File  Diff  Annotate
224:90172915d0fb 2018-10-17 10/16/2018 22:59 - renamed CircularBuffer to fCircularBuffer to avoid conflict with new mbed libs File  Diff  Annotate
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