VL.Devices.SICK

bonjour all,

recently started working on a VL plugin to interact with SICK LIDARs. If you wanna use it, go to VL’s command line and type

nuget install VL.Devices.SICK -prerelease

You’ll find a simple help patch that just displays the points from the LIDAR and allows to measure the distance between two points.

You’ll find the source code on this Github repo.

For now there’s just this monolithic node that spits a spread of 2D vectors, but I’d like to go towards something more flexible/modular.

So if you have suggestions, comments, please shout, fork, pr, whatever :)

UPDATE : you can now send commands to the LIDAR such as Reboot, Login, ReadDeviceStatus and also configure its angular resolution and frequency. Also added an help patch that shows those. It works pretty cool but sometimes the LIDAR becomes unresponsive when you send commands while it’s polling data.

merci!

seb

7 Likes

can confirm polling data also works with LMS 500 Pro right out of the box, but sending commands does not. had to use SOPAS Engineering Tool to setup my device.

regarding your “bug” - the manual states that the scanner will go offline when receiving certain commands. So I guess everything works as it should.

Hey !

Thanks for the feedback!

Sending commands works fine on an LMS-1XX here, but not on a TIM-5XX, so I guess only “high end” models are able to receive commands.

Glad it’s working fine for you.

Hm, seems to be unstable here. Stops tracking after 2 to 4 hours without throwing any exception in the windows event viewer or the vvvv console. Tested on Gamma 2019.2.0-0026 and 2019.1.0-0827. Have to log off windows for gamma OR beta to work again.

I tried beta38 with VL, but the example patches are not working.
Some dependendies from core.lib.basics.vl are missing.

wow, this is weird. I experienced some short drops here, but no such thing as a total stop in the reception. any chance you can enable RuntimePauseOnError to spot where that comes from?

regarding beta, I never tried this plugin with it.

Hello there,

I was wondering is this nuget will work with the picoscan series, Anyone has experience with this sensor? It suppose to be the same Sdk no?

I find this repo… seems to have it all…

i created a node last year that can handle SICK Picoscans because we needed it for a project. It’s not very cleaned up right now. How urgent would you need it?

not really urgent, but I had the opportunity to get one for a try with augmenta…

the spec seems to be really nice! I always look for sensor to that can be used in different environment/software…

And I have a projet that can be a good fit… is it possible to try your implementation or do you plan to still work on it?

Thanks you !!

Here is a basic patch with the dll included. It was running in an exhibition for 6 months without any problems.

You have to do the right setup in the SOPAS Engineering Tool from Sick. It is important to use LMDscandata in the “Measurement data output” settings otherwise it wont work.

Have fun :)

Picoscan.zip (21.0 KB)

2 Likes

Hey @jrgn Thank you very much !!

I will try that next week, I’ll give some feed back!! :)

Hello @jrgn I finally got the chance to test your patch, and its working like a charmed thanks…

Small question, How do you crop your data when the zone as a weird shape for exemple… for now I just have a rectcontainpoints… but maybe its not the best and flexible to crop … any tips?

Thanks !!

I’ve been using the RpLidar rather than slick, I was using 2, and after manually aligning them, I turned the points into a texture and then used a shader, and an image I could draw into to mask the points using disacard in a shader, and pipetted them out for clustering. It was a bit of a dirty method, patch wise, but was functional, and kept the point count down for the clustering. Mine was for an outdoor installation and I had a lot of trees trucks and branches to clear out.

You can also just draw a random path and use the SKPath Contains node instead of the RectContainsPoint node @Raphael

1 Like

Hey there, thanks for both options!!

@catweasel I did something similar for the project with my interactive tree, I used fuse and sdf to crop data in funny shape to discard pointcloud of the camera orbbec…! its working pretty good but maybe too much for what I need there…

Thanks @jrgn that could be my go to in that case… polypath seems to be a good avenue…

I find different contains node… but its working in both case

Thanks you guys :)