Commit Graph

  • eca6d3de2e no need to init all record components master Pat Rogers 2024-02-09 23:01:11 -06:00
  • a716a44493 now guaranteed that PID_Control objects are configured before enabled (or anything else) Pat Rogers 2024-02-09 19:58:30 -06:00
  • 18b16dfc67 update copyright date Pat Rogers 2024-02-07 22:10:10 -06:00
  • 3a09a941d7 now SPARK compatible and proven to Silver level: ie AoRTE Pat Rogers 2024-02-07 22:07:11 -06:00
  • dbb37f7f07 rename package BitBanged_* to better name since root package is not specific to I2C rogers 2022-05-28 10:50:17 -05:00
  • 59148eec33 fix spelling error in comment rogers 2020-08-10 12:50:37 -05:00
  • 558569a667 add Simple Moving Average filters rogers 2020-03-21 15:32:13 -05:00
  • 63d9fb0ad3 fix spelling errors in comments rogers 2020-03-21 13:53:04 -05:00
  • 6f68b9c2dd add comment block headers rogers 2020-02-25 15:51:49 -06:00
  • b39a4641ed remove unused with/use clauses rogers 2020-02-25 15:27:16 -06:00
  • 02ec19dd03 reorg rogers 2020-02-25 15:08:07 -06:00
  • 331dce0536 use class-wide pre/post rogers 2020-02-25 14:37:33 -06:00
  • ea767afd44 moved from utils rogers 2020-02-25 14:35:48 -06:00
  • 6b9a4497cd fix typo in comment rogers 2020-02-20 11:12:56 -06:00
  • 32875d5326 internal name change for clarity; in proc Initialize don't take advantage of the fact that GPIO_Point currently includes a pointer, such that the values are references, so that later changes removing pointers for SPARK don't break this code rogers 2020-02-20 11:11:43 -06:00
  • 7cc7928d5c minor internal component name refactoring for clarity rogers 2020-02-20 10:54:32 -06:00
  • ca1d707d3a remove proc Rotate_To, better in a higher level, "managed" abstraction rogers 2020-02-20 10:47:16 -06:00
  • 67236363a6 readability refinement rogers 2020-02-19 09:38:37 -06:00
  • 635c8f36c3 update comment in header block rogers 2020-02-19 09:36:22 -06:00
  • d61de7fac5 correct and improve comments rogers 2020-02-15 11:54:28 -06:00
  • 2c33287b7f minor name change foe "safe" add/subtract functions rogers 2020-01-31 13:17:37 -06:00
  • a6d04848be comments rogers 2020-01-31 13:17:16 -06:00
  • c69e87894c now at Silver level rogers 2020-01-30 22:48:08 -06:00
  • 2b0fe1bfc1 minor simplification of Insert on Empty case rogers 2020-01-30 19:28:27 -06:00
  • 17b20cd523 just call Get rogers 2020-01-30 17:18:06 -06:00
  • 3dc2422303 move from the RC_Car project rogers 2020-01-28 22:23:39 -06:00
  • d7d72a3aff rename internal record component rogers 2020-01-28 18:46:57 -06:00
  • 7bf8500011 comment formatting rogers 2020-01-27 07:17:36 -06:00
  • 647c5eeb9f moved from rc_car sources rogers 2020-01-27 07:01:53 -06:00
  • 2bbe4e2eff move from rc_car project src rogers 2020-01-27 06:48:26 -06:00
  • 708fb5559a new design rogers 2020-01-26 18:53:17 -06:00
  • c1504d340a update rma discrete filters to be compatible with new bounded buffers rogers 2020-01-26 13:58:00 -06:00
  • 5d7245248d Add a Bound_Integer_Value procedure for conpleteness rogers 2020-01-16 16:09:01 -06:00
  • c94fee2100 add procedure form of Limit routine rogers 2020-01-16 11:33:52 -06:00
  • 3e84b8683c add postconditions and their necessary preconditions rogers 2020-01-11 12:31:52 -06:00
  • 023b0b4b59 add subprogram name box comments rogers 2020-01-11 12:23:57 -06:00
  • e6616b80e8 clean up header comment pat-rogers 2018-11-29 15:23:59 -06:00
  • 46d0423739 add nxt init proc used in final RC Car app, for use by demo_motors pat-rogers 2018-02-14 14:22:26 -06:00
  • 810ad48cbf add generic for bounding floating point types pat-rogers 2018-02-14 12:48:13 -06:00
  • cd9dbdbfeb add convenient subtype for complete array pat-rogers 2018-02-14 12:47:21 -06:00
  • 1072535289 make io success/failure a parameter, remove LED usage pat-rogers 2018-02-03 15:29:14 -06:00
  • 23e10b3a07 remove init routine that hardcoded the values in the package body. moved the initialization off to a library procedure in an app dir. thus no body required now. pat-rogers 2018-02-03 11:58:08 -06:00
  • 200707aca3 add function Currently_Pressed pat-rogers 2018-02-03 11:05:34 -06:00
  • 21b6dfa831 add bit-banged Lego NXT ultrasonic sensor pat-rogers 2018-02-02 13:12:26 -06:00
  • ea644e34d1 add display_ir_receiver main too pat-rogers 2018-02-02 13:01:20 -06:00
  • 3d24875afd misc pat-rogers 2018-01-27 14:59:35 -06:00
  • 7d89468953 update for signed raw sensor readings pat-rogers 2018-01-14 22:52:49 -06:00
  • 075bcbbb5b use signed values since will give +100 .. -100 rather than +100 .. 156 pat-rogers 2018-01-14 22:18:15 -06:00
  • 81fdb00cd8 Replace overloaded Engage with Rotate_To pat-rogers 2018-01-11 13:53:55 -06:00
  • 8afe4b1851 add support for digital sensors, with HiTechnic IR receiver as example pat-rogers 2018-01-10 16:55:24 -06:00
  • fa46b4e719 don't hardcode selected motor pat-rogers 2018-01-06 13:38:51 -06:00
  • 8c81a62a7e no guarantee that the encoder direction is set accordingly, would require slight delay pat-rogers 2018-01-06 13:37:08 -06:00
  • 043f1b475d correct error in comment (missing word) pat-rogers 2017-12-26 11:54:12 -06:00
  • 171629ff95 Using unsigned 16-bit quantity for conversion value since that is what the ADC provides, rather than a 32-bit word with high-order 16-bits unused (and thus zero) pat-rogers 2017-11-30 12:23:54 -06:00
  • 299d4ca364 reorg sources into subdirs pat-rogers 2017-11-29 15:26:57 -06:00
  • c26cc0dba4 add ADT and demo for HiTechnic gyro sensor pat-rogers 2017-11-29 14:11:48 -06:00
  • 0cce62b424 use matching obj subdir name for program name pat-rogers 2017-11-28 13:19:14 -06:00
  • ac3234deae add comment indicating function is meant to be called only once pat-rogers 2017-11-28 11:44:54 -06:00
  • ac529a4d1c move concrete sound and light sensor subclasses out of package NXT.Analog hierarchy pat-rogers 2017-11-28 11:14:40 -06:00
  • 887449ae78 don't have constructors call Initialize since we don't necessarily know that will always work prior to any other external ADC setup pat-rogers 2017-11-28 09:12:07 -06:00
  • 48b3d7f84a change sound demo main program name to Demo_Sound_PWM pat-rogers 2017-11-27 18:51:32 -06:00
  • 63ed2f2a56 header comments for how to use the program, and how to connect the sensor to the board pat-rogers 2017-11-27 18:19:52 -06:00
  • 5bfe163b6e better names for sound mode pins pat-rogers 2017-11-27 17:58:09 -06:00
  • 9a10a273ee add comments for how to use the demo program, and show the wiring connections. pat-rogers 2017-11-27 16:56:39 -06:00
  • 7db5b6fe70 call the Disable_Floodlight routine to explicitly indicate what is happening pat-rogers 2017-11-27 15:46:38 -06:00
  • f3c925b84f use a light sensor since we use the sound sensor in a separate demo pat-rogers 2017-11-27 15:45:58 -06:00
  • b187dc5b7d more comment cleanup pat-rogers 2017-11-27 11:52:42 -06:00
  • 80063670bc better comments pat-rogers 2017-11-27 11:48:44 -06:00
  • 3c8aea4816 misc comment improvements pat-rogers 2017-11-26 23:17:18 -06:00
  • c79239b0bf new design for analog sensors, without discriminants pat-rogers 2017-11-23 22:40:17 -06:00
  • 45e7c54e1e initialize LEDs in Panic pat-rogers 2017-11-23 17:54:25 -06:00
  • 3c5b648f45 must start transfer BEFORE conversions, otherwise overflow pat-rogers 2017-11-23 17:53:56 -06:00
  • 40242535fd change so that we don't need to check low < high in the function Get_Scaled_Reading pat-rogers 2017-11-22 20:48:46 -06:00
  • 9e911bce59 more info about the analog sensor demos pat-rogers 2017-11-22 14:20:50 -06:00
  • 895ef77656 update for new GPIO_Port_Configuration record type definition as discriminated record pat-rogers 2017-11-22 09:49:04 -06:00
  • 1526403d84 Add new drivers and demos for analog sensors (light and sound for now) pat-rogers 2017-11-22 09:26:34 -06:00
  • 6bf69c5355 various name changes, add more postconditions pat-rogers 2017-11-22 09:25:23 -06:00
  • 456c28ecff minor formatting pat-rogers 2017-11-22 09:23:02 -06:00
  • 4a8a774254 minor formatting pat-rogers 2017-11-22 09:21:10 -06:00
  • 3b654d0c19 update ADL to master pat-rogers 2017-11-21 23:23:01 -06:00
  • 92a665204e Create a project file for the second demo Fabien Chouteau 2017-08-09 11:15:33 +02:00
  • 7743412802 Update Ada_Drivers_Library (#1) Fabien Chouteau 2017-08-09 10:51:08 +02:00
  • f9ccec8c52 add code for demo 2 pat-rogers 2017-08-04 23:20:52 -05:00
  • 6dcbcc2c56 Add ADL pat-rogers 2017-04-10 11:39:22 -05:00
  • fd1ba6544d wordsmithing pat-rogers 2017-04-10 11:38:21 -05:00
  • 288a460d38 initial version (matches touch sensor demo) pat-rogers 2017-04-10 11:10:22 -05:00
  • 85fd1b65f9 Initial commit Olivier Ramonat 2017-04-10 11:34:23 +02:00