Comments (3)
I just realised both of these functions are missing from VzenseNebula_api.h
too. If I open Nebula_api.dll
in a dependency walker app I can see VZ_SetSpatialFilterParams
is exported from the native library, however VZ_SetTimeFilterEnabled
is still nowhere to be found.
from nebulasdk.
Further, the struct VzSpatialFilterParams
is partially documented in the user guide but not in VzenseNebula_types.h
. What are the data types of all the members please? If I know this I can import the native dll and add in a VZ_SetSpatialFilterParams
method for my own use in my C# app.
Thanks
from nebulasdk.
I see now that it appears the documentation is perhaps out of date.
There are no parameters to set for the spatial filter so VZ_SetSpatialFilterParams
is not needed, and whether the time filter is enabled is set in VN_SetTimeFilterParams
so VZ_SetTimeFilterEnabled
is not needed.
Some usage examples in case it's helpful to anyone:
public void SetSpatialFilterEnabled(bool value)
{
var status = api.VN_SetSpatialFilterEnabled(deviceHandle, (byte)(value ? 1 : 0));
if (status != VzReturnStatus.VzRetOK)
{
RaiseError("SetSpatialFilterEnabled", "VN_SetSpatialFilterEnabled failed", status);
}
}
public void SetTimeFilter(bool enabled, int threshold)
{
VzTimeFilterParams filterParams = new VzTimeFilterParams { enable = (byte)(enabled ? 1 : 0), threshold = threshold };
var status = api.VN_SetTimeFilterParams(deviceHandle, filterParams);
if (status != VzReturnStatus.VzRetOK)
{
RaiseError("SetTimeFilter", "VN_SetTimeFilterParams failed", status);
}
}
I will close this issue but request that you please update/clarify the documentation.
Thanks.
from nebulasdk.
Related Issues (12)
- can't set exposure time of depth sensor on Windows... HOT 5
- How can I get IR image with IR Illuminator off ? HOT 2
- Zero values for frame.exposureTime and frame.depthRange HOT 1
- [1.1.17] Python wrapper: Can't set pixel format with enum type HOT 1
- Porting VZense DS77C Pro Camera Code to Jetson Orin (Ubuntu 20.04 AArch64)
- Support for ROS2 Humble? HOT 2
- Install instructions are missing from README file
- ROS Driver is unable to launch the DS87 POE camera
- VZ_SetParamsByJson and frameready.confidence issues with DS77C Lite
- Typo in Reboot function
- Macos support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nebulasdk.