Code Monkey home page Code Monkey logo

nebulasdk's People

Contributors

gmineal avatar neal-shen avatar peter-vzense avatar teemovzense avatar

Stargazers

 avatar  avatar  avatar

nebulasdk's Issues

can't set exposure time of depth sensor on Windows...

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.

[1.1.17] Python wrapper: Can't set pixel format with enum type

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.

VZ_SetParamsByJson and frameready.confidence issues with DS77C Lite

Hello,

I'm working with DS77C Lite and I'm experiencing two problems:

  • VZ_SetParamsByJson command (both in my code and - I guess - in NebulaGUITool) doesn't raise any exception, but it seems that it doesn't have any effect.
  • frameready.confidence is always false and it is then impossible to get the related frame.

Can you support on this, please?

Many thanks!
Alessandro

Porting VZense DS77C Pro Camera Code to Jetson Orin (Ubuntu 20.04 AArch64)

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:

  1. Compatibility: The SDK isn't directly compatible with Jetson Orin's Ubuntu 20.04 AArch64 environment.

  2. 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:

  1. Ensure the camera's SDK works with Jetson Orin's Ubuntu 20.04 AArch64 setup.
  2. Make the code compatible with Jetson Orin's compiler.
  3. Adapt the code for proper execution on Jetson Orin.

Steps Taken:

  1. Tried running code on Jetson Orin, encountered SDK and compiler issues.
  2. Explored SDK documentation and made preliminary code adjustments.

Appreciate your expert advice to achieve successful integration.

Thank you,

How can I get IR image with IR Illuminator off ?

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.

Functions missing in C# wrapper

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

ROS Driver is unable to launch the DS87 POE camera

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.

img

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.