GithubHelp home page GithubHelp logo

Comments (7)

HaoQChen avatar HaoQChen commented on July 27, 2024 1

hi, mjseppa is right about that. you can change setting in rs_driver->driver->decoder->decoder_base.hpp line 62

https://github.com/RoboSense-LiDAR/rs_driver/blob/651fdd8ce94acde7cad97068b81a60f6bac895af/src/rs_driver/driver/decoder/decoder_base.hpp#L62

to

constexpr float RS_DIS_RESOLUTION = 0.01;

to see if it become right

from rslidar_sdk.

mjseppa avatar mjseppa commented on July 27, 2024

Are you running older lidar without difop, or wrong difop port, so driver assumes it is in 0.5cm resolution instead of 1cm resolution?

from rslidar_sdk.

mtlazaro avatar mtlazaro commented on July 27, 2024

Hi,
we acquired our RS16 on January 2019.
We are not doing anything special when using the start.launch file.
We have just limited the FOV in the config.yaml but the rest of the parameters have the predefined values.

I attach a screenshot of our terminal and our config.yaml.

rslidar_sdk_node_terminal

image

from rslidar_sdk.

mjseppa avatar mjseppa commented on July 27, 2024

Looking at the driver it does not seem to support 1cm resolution lidars?
in rs_driver there is "constexpr float RS_DIS_RESOLUTION = 0.005;"

from rslidar_sdk.

mtlazaro avatar mtlazaro commented on July 27, 2024

So, we cannot use the rslidar_sdk with our RS16 or are we missing something?

from rslidar_sdk.

mjseppa avatar mjseppa commented on July 27, 2024

https://github.com/RoboSense-LiDAR/ros_rslidar/blob/master/rslidar_pointcloud/src/rawdata.cc#L353
https://github.com/RoboSense-LiDAR/ros_rslidar/blob/master/rslidar_pointcloud/src/rawdata.cc#L925

Ask RS to port the detection from old driver or just for now modify the constant for 1cm, assuming you have 1cm lidar. If you measure the actual distances and readings are half the reality, you most likely have older 1cm resolution one.

from rslidar_sdk.

mtlazaro avatar mtlazaro commented on July 27, 2024

Hi all,
by changing that const variable to 0.01 we are able to use the old RS16 with the new driver returning proper distances.

from rslidar_sdk.

Related Issues (20)

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.