vzense / nebulasdk Goto Github PK
View Code? Open in Web Editor NEWVzense new SDK, support DS77, DS77C
License: BSD 3-Clause "New" or "Revised" License
Vzense new SDK, support DS77, DS77C
License: BSD 3-Clause "New" or "Revised" License
Calling vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatGray8)
with any of the VzPixelFormat enum values fails with message:
File "......./API/VzenseDS_api.py", line 145, in VZ_SetColorPixelFormat
return self.vz_cam_lib.VZ_SetColorPixelFormat(self.device_handle, pixelFormat)
ctypes.ArgumentError: argument 2: TypeError: Don't know how to convert parameter 2
Passing it as an integer instead works.
See MWE below.
from API.VzenseDS_api import VzenseTofCam
from API.VzenseDS_enums import VzPixelFormat
def main():
vz_cam = VzenseTofCam()
ip = "<cam_ip_addr>"
ret = vz_cam.VZ_OpenDeviceByIP(bytes(ip, 'utf-8'))
if not ret == 0:
print("No camera found")
ret = vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatGray8)
if not ret == 0:
print("Failed setting pixel format")
return 1
return 0
if __name__ == "__main__":
main()
Running on linux x86_64 with Nebula Version: 1.1.17.834828436
I Couldn't find anything related in the release notes, but please let me know if updating will solve this issue.
Hi,
I'm using DS77C Pro.
I want to get IR image with IR Illuminator off.
But the IR image which I can get by Nebura API is the IR image with IR illuminator ON.
So please let me know how to get the IR image with IR Illuminator off.
I'm able to see the output of the DS87 camera using NebulaGUITool
, but I'm unable to launch the camera node properly, even after installing the catkin workspace with all dependencies! I'm using LAN and POE for connection.
I'm using Ubuntu 20.04
[ERROR] [2023-10-25 09:32:05]: Initialize failed!
[ INFO] [2023-10-25 09:32:05]: check device cost:0 second.
Are there any plans to support ROS2 Humble?
Thanks
VZENSE_C_API_EXPORT VzReturnStatus VZ_RebootDevie(VzDeviceHandle device);
VZ_RebootDevie -> VZ_RebootDevice
The VzExposureTimeParams has a member called mode. The header file for types says:
typedef struct
{
VzExposureControlMode mode;
int exposureTime; //When the control mode is AE, exposureTime represents the maximum exposure time.
//When the control mode is Manual, exposureTime represents the current exposure time.
//When the control mode is Max, exposureTime represents the maximum exposure time allowed at the current frame rate In manual exposure mode.
} VzExposureTimeParams;
while for enums:
typedef enum
{
VzExposureControlMode_Auto = 0,
VzExposureControlMode_Manual = 1,
}VzExposureControlMode;
So there is no way to set the exposure time.
I need help adapting code that works with the VZense DS77C Pro camera on Windows to run on my Jetson Orin with Ubuntu 20.04 AArch64. The camera's SDK is designed for Ubuntu 18.04 arm64 and uses aarch64-linux-gnu(v7.5.0) compiler.
Challenges:
Compatibility: The SDK isn't directly compatible with Jetson Orin's Ubuntu 20.04 AArch64 environment.
Compiler: The code assumes aarch64-linux-gnu(v7.5.0) compiler, which might not match Jetson Orin's compiler.
Assistance Needed:
I'm seeking guidance to:
Steps Taken:
Appreciate your expert advice to achieve successful integration.
Thank you,
Hello,
I'm working with DS77C Lite and I'm experiencing two problems:
Can you support on this, please?
Many thanks!
Alessandro
In your example at https://github.com/Vzense/NebulaSDK/blob/master/Python/Samples/DS77/FrameCaptureAndSave/FrameCaptureAndSave.py, I added after line 85:
print(frame.frameType, frame.pixelFormat, frame.exposureTime, frame.depthRange, frame.pFrameData)
It prints:
0 0 0.0 0 <API.VzenseDS_types.LP_c_ubyte object at 0x7ffb141163c0>
Why am I getting zero values for frame.exposureTime
and frame.depthRange
?
Hi,
I'm trying to make an app using the C# wrapper and I found there are some functions not implemented:
Spatial filter - VN_SetSpatialFilterEnabled
is available but VZ_SetSpatialFilterParams
is not
Time filter - VZ_SetTimeFilterEnabled
is not available but VN_SetTimeFilterParams
is.
Can I just p/invoke these functions passing the device handle or is there anything else that happens in the wrapper code? Happy to contribute a PR to add these in if you're able to open up the wrapper source code.
Also btw I noticed VN_SetHDRModeEnabled
is available but not documented in the 'VZense_NebulaSDK_User_Guide_Windows_en' document. I'm assuming we pass it 0 or 1 cast to a byte instead of a bool?
Thanks!
James
Hi, I would like to know if there is any planning on supporting macos?
Hello,
I'm using ubuntu 20.04
, I can't find installation instructions on how to install your libraries to be able to run ROS package.
I was trying to connect to the Vzsense cameras using a Ubuntu desktop, fresh install. It was not working. Afterwards, I tried with the exact same code on another machine and it worked. Both machines are Ubuntu desktop installation, but I think it might be some networking configuration, but I don't know which.
I was wondering if you could tell me what steps I need to take to fix this issues.
Hi, the cameras and the machine it's connected to is remote and I'd like to change the IP addresses of the cameras. How can I do that without the GUI? I'm connected to the remote machine through SSH.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.