NickAA
822e2d4a77
Added more comments to file
2023-01-29 16:31:15 -05:00
NickAA
f3e8415171
Added Menu to control_loop_sim.cpp
...
I was able to add the menu to the file and I fixed some bugs that came up.
For some reason the seed value (a.k.a. P value) does not accept strings or char values so I left the set_value
as is and same for the I value I don't know what the value is that is within the set_value. But everything seems
to work the way it's intended to.
2023-01-29 16:25:24 -05:00
NickAA
00ac3e03dc
Added comments
...
I added a few comments to review what I have to change and what I need to start coding.
2023-01-20 15:24:24 -05:00
Peter McGoron
7ceaa730d9
remove hardcoded P and I changes
2023-01-12 19:19:19 +00:00
Peter McGoron
1ed48fbc90
control_loop_sim: add comments
2022-11-24 10:08:00 -05:00
Peter McGoron
cef639784b
control_loop_sim: modify second P value
2022-11-24 10:00:05 -05:00
Peter McGoron
1d54b41735
fix bit width bug
2022-11-24 09:55:15 -05:00
Peter McGoron
33ec8351d8
correctly (and crudely) simulate control loop
...
Issue was that the ADC cycle half wait (SCK delay) was too fast
for the input buffering (since MISO and MOSI are physical inputs
and not FPGA wires).
2022-11-24 09:48:19 -05:00
Peter McGoron
5ff6b279b0
reverify math
2022-11-21 22:24:37 -05:00
Peter McGoron
cfb0f92528
fix adc_sim
2022-11-21 22:04:46 -05:00
Peter McGoron
5909f548d5
control loop simulator passes lint
2022-11-21 21:41:50 -05:00
Peter McGoron
45f815c5d3
changes
2022-11-11 21:57:58 -05:00
Peter McGoron
029cc53c5f
some more changes
2022-10-17 00:44:30 -04:00
Peter McGoron
5125719a1f
move control loop stub code to control loop rtl
2022-10-12 08:48:34 -04:00