Commit Graph

911 Commits

Author SHA1 Message Date
Robert Jördens 4ccd624b36
Merge branch 'master' into dsp-tweaks 2021-03-01 13:43:58 +01:00
Robert Jördens 0d6b297d4e cossin: don't cancel -1 phase offset 2021-03-01 13:29:59 +01:00
Robert Jördens cd289687ea cossin: tighten test 2021-02-27 15:37:15 +01:00
Robert Jördens 32e9277848
Merge pull request #285 from quartiq/lowpass-bench
dsp/bench: add lowpass
2021-02-27 15:05:23 +01:00
Robert Jördens b2d6b5c10c dsp/bench: fmt 2021-02-27 15:02:16 +01:00
Robert Jördens 1805961d5d macc_i32: move to tools 2021-02-27 15:00:52 +01:00
Robert Jördens f4c6e07a38 dsp/bench: add lowpass 2021-02-27 14:54:46 +01:00
Robert Jördens 83496205b3
Merge pull request #284 from quartiq/cossin-tweaks
cossin: shave off a few more instructions
2021-02-26 19:59:30 +01:00
Robert Jördens 067ef79560 cossin: shave off a few more instructions 2021-02-26 19:47:48 +01:00
Robert Jördens eac19a2fe2
Merge pull request #283 from quartiq/iir-int-bias
iir_int: apply rounding bias summarily for speed
2021-02-25 17:50:36 +01:00
Robert Jördens b071fef15c iir_int: apply rounding bias summarily for speed 2021-02-25 17:37:57 +01:00
Robert Jördens 62c81cc345
Merge pull request #282 from quartiq/feature/rj/ci-cron-daily
ci: cron daily
2021-02-23 17:35:19 +01:00
Robert Jördens a2e0539218 ci: cron daily 2021-02-23 17:31:44 +01:00
Robert Jördens 4d2acdefe0
Merge pull request #281 from quartiq/feature/rj/lockin-order-generic
feature/rj/lockin order generic
2021-02-23 17:26:40 +01:00
Robert Jördens 41f6d971c3 avoid clippy better 2021-02-23 17:22:53 +01:00
Robert Jördens 016323c94d avoid clippy 2021-02-23 17:15:07 +01:00
Robert Jördens e86f449dc0 lockin bins: remove stale todos, align and document [nfc] 2021-02-23 16:58:13 +01:00
Robert Jördens 6c6c2e64a7 lockin: make order generic 2021-02-23 16:58:13 +01:00
Robert Jördens 1f19b65584
Merge pull request #280 from quartiq/feature/rj/saturating-complex
Feature/rj/saturating complex
2021-02-22 16:55:46 +01:00
Robert Jördens ffdf4026fb fmt 2021-02-22 16:40:51 +01:00
Robert Jördens f671e0c942 complex: add saturating_add/sub 2021-02-22 16:36:56 +01:00
Robert Jördens d02241fcf9
Merge pull request #278 from quartiq/feature/iir-int-debug
iir_int: make miniconf-able
2021-02-20 21:46:59 +01:00
Robert Jördens 6f3a30292c iir_int: make miniconf-able 2021-02-20 21:01:26 +01:00
bors[bot] bfb416b85b
Merge #261
261: MQTT settings and telemetry r=ryan-summers a=ryan-summers

This PR replaces https://github.com/quartiq/stabilizer/pull/242

This PR addresses #149 by exposing a simple MQTT-based settings interface

**TODO**:
- [x] Resolve mutable ownership issues in the `MqttInterface`
- [x] Expand settings interface to `lockin.rs`
- [x] Add all settings (not yet supported by `miniconf`)
- [x] ~~Finalize and publish the `miniconf` package~~ Deferred to the future.
- [x] Move `MqttInterface`-like behaviors over to `miniconf`
- [x] Move smoltcp-nal to a separate crate
- [x] Test on hardware
- [x] ~~Implement stabilizer telemetry~~: Deferred to future

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-02-19 10:06:39 +00:00
Ryan Summers 28db428829 Fixing bench tests 2021-02-19 11:02:46 +01:00
Ryan Summers 76f2f749f1 Removing information about legacy server 2021-02-19 10:57:12 +01:00
Ryan Summers 04dff30dce Fixing dependencies: 2021-02-19 10:45:53 +01:00
Ryan Summers c6ef78cdc5 Pulling back easybench changes 2021-02-19 10:44:46 +01:00
Ryan Summers 2ac7568d5b Updating dependencies 2021-02-19 10:36:39 +01:00
Ryan Summers 65a0831e2d Merge branch 'master' into feature/mqtt-convert 2021-02-19 10:30:51 +01:00
bors[bot] 83e770509e
Merge #275
275: use num crate r=jordens a=jordens

* Use `num` crate
* Clean up lowpass gain handling

* [x] test on hardware

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-02-19 08:51:04 +00:00
Robert Jördens fcb7bb0025 dsp: fix nightly 2021-02-19 09:50:38 +01:00
Robert Jördens ccec9d7fed complex: rename extension trait, fix MulScaled 2021-02-19 09:29:38 +01:00
Robert Jördens c87cb3eb9c dsp: factor out tools 2021-02-19 09:20:42 +01:00
Robert Jördens a97829baf5 add saturating_scale 2021-02-18 22:14:21 +01:00
Robert Jördens 33b9b41405 lowpass: saturating math since it's free 2021-02-18 18:51:29 +01:00
Robert Jördens c0457787bb lockin-external: use enum 2021-02-18 18:43:45 +01:00
Robert Jördens f050ba8e9f lockin: let the lowpass do all filtering 2021-02-18 14:29:47 +01:00
Robert Jördens 07b7751dbc move lowpass gain outside lowpass/lockin 2021-02-18 14:25:54 +01:00
Robert Jördens 9983fad041 dsp: use num 2021-02-18 14:07:43 +01:00
Robert Jördens 04250360c1 deps: make miniconf a patch 2021-02-17 18:40:03 +01:00
Robert Jördens 78e69b1707 s/criterion/easybench/ for less weight 2021-02-17 18:35:52 +01:00
Ryan Summers 90ef0836af Fixing style 2021-02-17 17:56:49 +01:00
Ryan Summers 63a2220fa0 Removing support for configuring IIR state 2021-02-17 17:56:18 +01:00
Ryan Summers a55b30e6c4 Working around dependency injection bug 2021-02-17 17:50:17 +01:00
Ryan Summers e8c4829790 Adding docs for the cycle counter 2021-02-17 17:26:54 +01:00
Ryan Summers 3c8cd58d6f Removing lockin-external changes 2021-02-17 17:22:43 +01:00
Ryan Summers e8711d8f4f Merge branch 'master' into feature/mqtt-convert 2021-02-17 16:54:37 +01:00
Ryan Summers 50476f68fd Adding settings support for lockin-external 2021-02-17 16:53:53 +01:00
Robert Jördens 1239a29904
Merge pull request #274 from quartiq/rj/trait-on-type-alias
impl trait on type alias instead of newtypes
2021-02-17 16:51:02 +01:00