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

[Feature-Request] {PointCloud to LaserScan on device} #237

Open
modulab opened this issue Feb 23, 2023 · 7 comments
Open

[Feature-Request] {PointCloud to LaserScan on device} #237

modulab opened this issue Feb 23, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@modulab
Copy link

modulab commented Feb 23, 2023

I would like to suggest a new feature like the pointcloud_to_laserscan ROS package that would allow it to process data from an on-board camera device by performing the necessary computations on the camera itself. Specifically, the package should be able to receive depth map information directly from the camera and convert it into a pointcloud format. Additionally, the package should apply the necessary 3D transformations to account for the actual camera position, and then flatten the 3D pointcloud into a 2D laser_scan topic that can be used for further processing.

Performing the processing on the camera itself would greatly enhance the efficiency of the system by reducing the amount of data that needs to be transferred. This would be especially beneficial for systems with limited network bandwidth or processing power.

I believe that this feature would greatly enhance the usability and efficiency of the pointcloud_to_laserscan package, and would be a valuable addition for many users.

That being said, I have no idea if this is possible or where to start to asses it. So if you can please add any comment or advice I would apreciate it.

Thank you for considering this feature request.

@Serafadam
Copy link
Collaborator

Hi, we've discussed it and although it's not on near-future feature list it could be moved up depending on user demand, for now I'd suggest using either depthimage_to_laserscan package or laserscan_kinect from depth_nav_tools. If we follow up with the development, I'll make sure to tag you here.

@EndlessLoops
Copy link

I used the depthimage_to_laserscan package on tb4 but I found it converts poor scan data compared to d435i camera.I'm not sure if the problem is in the parameter configuration. Have you ever had a test like that?

Hi, we've discussed it and although it's not on near-future feature list it could be moved up depending on user demand, for now I'd suggest using either depthimage_to_laserscan package or laserscan_kinect from depth_nav_tools. If we follow up with the development, I'll make sure to tag you here.

@modulab
Copy link
Author

modulab commented Mar 7, 2023

@Serafadam Thanks for answering my call. I'm fairly sure that if such feature would be of much use for those with SBCs and lower end computers, us included. As I think of it, the most resource intense part would be the transform of the point cloud, just before collapsing it into a 2D profile. This would take much the load of the main CPU if done on the camera itself.
Can you spare some time to steer me in the right direction if i were to tackle this task?

@Serafadam
Copy link
Collaborator

I used the depthimage_to_laserscan package on tb4 but I found it converts poor scan data compared to d435i camera.I'm not sure if the problem is in the parameter configuration. Have you ever had a test like that?
I expect that playing with stereo depth parameters can have impact here, although we didn't do tests for it (yet).

@Serafadam Thanks for answering my call. I'm fairly sure that if such feature would be of much use for those with SBCs and lower end computers, us included. As I think of it, the most resource intense part would be the transform of the point cloud, just before collapsing it into a 2D profile. This would take much the load of the main CPU if done on the camera itself. Can you spare some time to steer me in the right direction if i were to tackle this task?

Until we implement it in firmware, what I could suggest to try out is implementing this example using depthai_bridge, similar to other example nodes in depthai_examples. Additional reference here

@Erol444
Copy link
Member

Erol444 commented Mar 30, 2023

@modulab @EndlessLoops @Serafadam fwiw we will be adding Pointcloud node to depthai, so you'd be able to gneerate pointcloud on the OAK camera itself. More information here.

@modulab
Copy link
Author

modulab commented Jun 8, 2023

Hi, any news on this @Erol444 ? Can we pitch in?

@Erol444
Copy link
Member

Erol444 commented Jun 8, 2023

@modulab I believe it's currently WIP - best to pitch in on the feature req. linked above:)

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

No branches or pull requests

4 participants