robot

Dependencies:   FastPWM3 mbed

Revisions of BREMS/BREMSConfig.cpp

Revision Date Message Actions
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
240:2aaffa217627 2018-11-11 added speed mode (untested), other changes - see CHANGELOG 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
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
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
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
217:1171ed0f6145 2018-04-30 added additional 50 ms delay before resetting resolver decoder to allow voltages to stabilize File  Diff  Annotate
216:198ebadc005c 2018-04-30 added RESOLVER_RESET pin, firmware now resets resolver decode IC on boot File  Diff  Annotate
210:f9b722cf8a2c 2018-04-28 if flash is not programmed, op = OP_TORQUE, src = CMD_SRC_TERMINAL (previously both were invalid) 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
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
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
193:3abadeecf908 2018-02-10 02/10/2018 00:35 - added fancy masked error system 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
186:c18db1e31da6 2018-02-09 temp commit while working on moving definitions around File  Diff  Annotate
185:5c102874b490 2018-02-09 moved all the hard-coded values to defaults.h File  Diff  Annotate
184:633119bb0b77 2018-02-09 02/09/2018 16:01 - moved pinouts to layout.h 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
180:a783a972a867 2018-02-09 Added BufferedLogger object to IOStruct, logging seems to work (insofar as data is sent over serial and the motor still seems to spin) 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
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
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
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
121:de10418bf2c2 2017-04-25 working calibration (plot output first!), new offset, new mechanical position code File  Diff  Annotate
120:57b6f3b1356b 2017-04-25 transitioning to new velocity code File  Diff  Annotate
92:a9dac72d8cac 2017-04-06 --PwmIn now checks lower bounds for sanity and fall without rise; --switched to edge aligned pwm to work around prius module propagation delays File  Diff  Annotate
91:f58472ac3fae 2017-04-05 switch to edge aligned mode for improved performance File  Diff  Annotate
90:2ef53b1a22de 2017-04-04 switched to using ADC_EOC File  Diff  Annotate
86:b059f637e9ac 2017-03-12 renamed some stuff File  Diff  Annotate
85:2280526f9bad 2017-03-12 better error handling, continued File  Diff  Annotate
84:dd32640942a4 2017-03-12 better error handling started File  Diff  Annotate
82:5e741c5ffd9f 2017-03-10 things somewhat work? File  Diff  Annotate
80:64732542010a 2017-02-28 until further noted, subsequent commits may not compile File  Diff  Annotate
78:b8df106126a7 2017-02-25 added THROTTLE_CRAZY parameter for error checking File  Diff  Annotate
70:5e39beeb4a21 2017-02-05 added throttle filtering File  Diff  Annotate
61:85a31897e719 2017-01-28 work in progress File  Diff  Annotate
59:0416da6c3060 2017-01-28 minor changes File  Diff  Annotate
56:c681001dfa46 2017-01-25 added (ineffective) LimitingThrottleMapper, updated throttle ranges to get 100% instead of 85% File  Diff  Annotate
52:fd3d8df99287 2017-01-25 added integral decay and intent-of-driving check File  Diff  Annotate
47:1c9868e226d0 2017-01-10 fixed order of operations bug File  Diff  Annotate
46:748aba7d111d 2017-01-10 startup message File  Diff  Annotate
44:3fd6a43b91f0 2017-01-08 temp commit File  Diff  Annotate
42:030e0ec4eac5 2017-01-06 structural changes; reference and throttle maps now classes, global variables moved to structs, system config functions moved to BREMS/* File  Diff  Annotate