Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of range error with structured light sensor processor #14

Open
KirillMouraviev opened this issue Dec 27, 2021 · 3 comments
Open

Out of range error with structured light sensor processor #14

KirillMouraviev opened this issue Dec 27, 2021 · 3 comments

Comments

@KirillMouraviev
Copy link

Hi,
I tried to launch GEM on RGB-D input with structured light sensor processor and faced with "out of range" error:
Снимок экрана от 2021-12-27 16-20-06
My sensor processor config is as follows:

sensor_processor/type: structured_light
sensor_processor/cutoff_min_depth: 0.2
sensor_processor/cutoff_max_depth: 3.25
sensor_processor/normal_factor_a: 0.000611
sensor_processor/normal_factor_b:  0.003587
sensor_processor/normal_factor_c: 0.3515
sensor_processor/normal_factor_d: 0
sensor_processor/normal_factor_e: 1
sensor_processor/lateral_factor: 0.01576

Analyzing the code, I have found the reason for this error. It occurs because readcomputerparam function of SensorProcessorBase class takes params such as min_radius, beam_constant, and beam_angle (seem like params related to laser sensors only).
Снимок экрана от 2021-12-27 16-33-12

However, readParameters functions in SensorProcessorBase class and StructuredLightSensorProcessor class do not read these parameters.
Снимок экрана от 2021-12-27 16-43-39

Снимок экрана от 2021-12-27 16-34-30

Could you say, what is the best way to fix this bug and run GEM on RGB-D input data?

@MaverickPeter
Copy link
Member

@KirillMouraviev Hi! The easiest way is to lose some accuracy and just use the lidar params on RGB-D input data. This open-sourced version doesn't contain the RGB-D processor and params. We'll later modify and update our repo.

@tao19960404
Copy link

@KirillMouraviev你好!最简单的方法是损失一些精度,只在 RGB-D 输入数据上使用激光雷达参数。此开源版本不包含 RGB-D 处理器和参数。稍后我们将修改和更新存储库。

您好, RGB-D相机使用激光雷达参数应该如何设置啊

@MaverickPeter
Copy link
Member

@tao19960404 RGB-D 相机使用过程中最容易出现的问题是坐标系,相机坐标系是z轴朝前,请转换到和激光坐标系一致的z朝上的坐标系后才能正常使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants