hayodea
cde2737876
Libspinscale: Initial top-level SMO port to coroutine framework
...
We haven't ported everything. Just the top-level methods. We'll
dig in to the leaf stuff later. Surprisingly, this all went without
any real difficulties.
Runs like a charm on first try.
2026-05-24 23:26:18 -04:00
hayodea
27a5d48451
Lg1: Implement both light|darkAmbience stimBuffs & their production
...
We now produce both light and dark ambience stimframes into
stimbuffs for the LivoxGen1 lidar devices.
2026-04-18 14:54:14 -04:00
hayodea
632a227985
DAPS: Add intrin specs to nontrin specs
...
We no longer do intrin specs as a separate stimbuff; rather now we
do them as a specifier segment within the pipeline spec of a normal
nontrin spec.
2026-04-18 12:02:27 -04:00
hayodea
fc1fcae0b0
DAP: Add intrin DAPSpecs
...
We now specify intrins as separate DAPS lines. This syntax is much
nicer and well-grouped than the previous negtrin-*/postrin-* param
names.
Alas, we're about to replace it in the next few commits already though.
2026-04-12 04:06:47 -04:00
hayodea
3f2d7c24ee
StimBuff: Move supportsQuleIfaceApi into base class
2026-04-01 23:17:10 -04:00
hayodea
34d76df7d9
Spinscale: create new namespace sscl
2025-12-27 16:21:22 -04:00
hayodea
45959f9d1c
Libspinscale: begin splitting it off
2025-12-26 01:18:39 -04:00
hayodea
51d2a70a3f
StimProducer: add destroyAttachedStimulusBuffer virtual method
...
Implemented in base class and in derived class
PcloudStimulusProducer.
2025-11-20 01:25:46 -04:00
hayodea
f919385088
DASpec:genericize synonymous param parsing
2025-11-16 04:46:42 -04:00
hayodea
3bcb83894b
livoxGen1:PcloudStimProd: move qualeApi param parsing here
2025-11-16 04:38:25 -04:00
hayodea
c5ed453bb4
StimBuff: Make virtual so we can dynamic_cast in getOrCreateStimBuff
2025-11-16 02:23:53 -04:00
hayodea
addd2e275d
livoxGen1: Rn PcloudIStimulusBuffer=>PcloudIntensityStimulusBuffer
2025-11-16 00:31:47 -04:00
hayodea
336bc52a9d
livoxGen1: Rename PcloudXyzStimulusBuffer=>MeshStimulusBuffer
2025-11-16 00:10:33 -04:00
hayodea
1f7c7f5f28
livoxGen1: n-dgrams-per-frame default value 30=>84
2025-11-15 22:22:08 -04:00
hayodea
bed10df499
livoxGen1: add n-dgrams-per-frame param
2025-11-15 22:12:48 -04:00
hayodea
2d1c026cc2
livoxGen1: Add correctness checks to attachDeviceReq
2025-11-15 19:46:24 -04:00
hayodea
2632917c63
livoxGen1: Execute delays on lib's assigned CompThread
2025-11-15 15:59:34 -04:00
hayodea
7a51f02d97
livoxGen1: Implement StimBuff add/del from StimProducers
...
There seems to be a bug where two or more stimProducers
or stimBuffs get initialized at once but we can deal with that
tomorrow.
2025-11-15 04:02:25 -04:00
hayodea
188b09319c
livoxProto1: Rn Device::nAttachedStimBuffs=>nAttachedStimulusProducers
...
More semantically precise name.
2025-11-15 00:56:20 -04:00
hayodea
16b51a3b66
Rename PcloudDataProducer=>PcloudStimulusProducer
2025-11-14 23:50:31 -04:00
hayodea
7d86ecadc4
livoxGen1: Rn attachedDataProducers=>attachedStimulusProducers
...
Also compare producers only by device selector and not by the rest
of their stored DASpec.
2025-11-14 23:26:13 -04:00
hayodea
8a7dc10892
Split StimulusProducer=>StimulusBuffer+StimulusProducer
...
We're getting ready for the last mile of the StimulusBuffer API
and the proto-completion of the LivoxGen1 StimBuffApi.
2025-11-14 20:44:37 -04:00
hayodea
70c0175a8b
Rename StimulusBuffer=>StimulusProducer
...
Next we'll split the StimulusBuffer-related stuff into a new class
StimulusBuffer.
2025-11-14 19:50:51 -04:00
hayodea
74e3896ae4
Rename PcloudStimulusBuffer=>PcloudDataProducer
...
This prepares us for the split up of classes. We're going to split
StimulusBuffer into two base classes: StimulusBuffer and
StimulusProducer.
2025-11-14 19:44:18 -04:00
hayodea
b598ca8594
libs: Add smohook for getting cmdline opts
2025-11-07 14:59:28 -04:00
hayodea
f3a4c69597
StimBuff: DevAttSpec should be a sh_ptr, not a plain ref
2025-11-04 00:47:01 -04:00
hayodea
5845f1a41d
Bug:Boost: Use shlibs instead of header-only for call_stack::top_
...
This symbol is defined as a static member object inside of a
boost detail header. When boost headers are used in a project
that uses Boost in both the main binary as well as dlopen()'d
shlibs, the top_ symbol gets duplicated and the metadata gets
partitioned.
We use the Boost shlib to unify both the main binary and the
shlibs to use the same memory address for top_.
This involves marking the templated object call_stack::top_ as
"extern" and then declaring to Boost that we intend to use the
shlibs.
2025-11-03 22:59:52 -04:00
hayodea
d88dd2cf44
livoxGen1: Make use of livoxProto1_getPcloudDataFdDesc
2025-11-02 19:16:22 -04:00
hayodea
a32b4f05d1
livoxGen1: call PcloudStimulusBuffer::start/stop
...
We now call start()/stop() in attach/detachDeviceReq.
2025-11-01 03:32:05 -04:00
hayodea
c8474edad7
livox: rename handshakeTimeoutMs=>commandTimeoutMs
2025-11-01 02:45:24 -04:00
hayodea
58e9b09995
livoxGen1: Use RAII to close dlopen handle
2025-11-01 01:54:49 -04:00
hayodea
c2c6d409dd
DAPSpec: QualeIfaceApiParams: Add histbuffMs
2025-11-01 01:35:29 -04:00
hayodea
67af9f02da
DAPSpecs: Update parseRequiredParamAsInt to support all param lists
2025-11-01 01:11:34 -04:00
hayodea
5c3bc6c324
livoxGen1: Reduce nDgramsPerFrame 500=>30 ~86400 points/sec
2025-10-31 11:27:43 -04:00
hayodea
b53ef42124
livoxGen1: documentation and formatting
2025-10-31 08:57:37 -04:00
hayodea
babfda4d0f
livoxGen1: Reduce handshakeTimeoutMs default to 5ms
...
We have no real reason to set it as high as 300.
2025-10-31 08:57:37 -04:00
hayodea
c1286627ab
LivoxGen1: attachDevReq sets nDgramsPerFrame
2025-10-31 08:57:37 -04:00
hayodea
2234df1de2
livoxGen1:attach: alloc PcloudStimBuff after getting return mode
2025-10-31 08:57:37 -04:00
hayodea
7efe622dd2
livoxGen1:attach: call getReturnModeReq before enPcloudDataReq
2025-10-31 08:57:37 -04:00
hayodea
626a84cc78
Formatting
2025-10-31 08:57:37 -04:00
hayodea
2a8a6edf22
LivoxGen1: Add basic stimbuff creation & destruction
2025-10-25 23:04:59 -04:00
hayodea
6f4a2dd649
LivoxGen/Proto1: Move en/disablePcloudData call to Gen1
...
We no longer try to enable pcloud data as part of the connectReq()
sequence. Instead we separate them so that a device can be connected
but not be issuing pcloud data.
2025-10-25 12:55:19 -04:00
hayodea
eb5875fe0d
Rename: Sense API => Stim Buff API
2025-10-01 20:03:47 -04:00