Lg1: Implement both light|darkAmbience stimBuffs & their production

We now produce both light and dark ambience stimframes into
stimbuffs for the LivoxGen1 lidar devices.
This commit is contained in:
2026-04-18 14:54:14 -04:00
parent 632a227985
commit 27a5d48451
15 changed files with 668 additions and 336 deletions
+4 -2
View File
@@ -513,7 +513,8 @@ static const StimBuffApiDesc livoxGen1ApiDesc = {
.exportedQualeIfaceApis = {
{.name = "mesh"},
{.name = "pcloudIntensity"},
{.name = "pcloudAmbience"},
{.name = "pcloudLightAmbience"},
{.name = "pcloudDarkAmbience"},
{.name = "gyro"},
{.name = "accel"}
},
@@ -662,7 +663,8 @@ extern "C" void livoxGen1_attachDeviceReq(
// Unknown qualeIfaceApi
std::cerr << __func__ << ": Unsupported qualeIfaceApi '"
<< qualeIfaceApi << "' for LivoxGen1. "
"Supported values: mesh, pcloudIntensity, pcloudAmbience"
"Supported values: mesh, pcloudIntensity, "
"pcloudLightAmbience, pcloudDarkAmbience"
<< std::endl;
cb.callbackFn(false, desc);
return;