proteusy
Portugal
Asked
@DJ Hi, I have a lidar scanner from a xiaomi vacuum cleaner and am using an aruino leonardo and this code "https://github.com/getSurreal/XV_Lidar_Controller" to use it in ARK. Is the XV11 Lidar plugin capable of sending data to The Navigator?
Related Hardware Arduino Leonardo
Related Control
XV11 LIDAR
I didn’t make it, so no
I recall DJ said he was exploring a live hack video and that was one of the options but then he was Covid locked down in Ontario away from his toys.
Yah I would have to create my own plug-in for it. The existing plug-in I didn’t make.
Is the Hitachi-LG LDS Lidar data so different from the XV-11? Could it be just a minor change in the plugin to work?
Not sure - I have it on the todo list to take a look at one day. I’m guessing it’s somewhat similar, minus parsing and how ever the crc is verified. I’m sure it’s a minor change since it probably operates the similar way. Are you gonna take a look at it?
Yeah, i will hock it up and see what i get.
Nice - let me know what you come up with and i'll give you a hand between projects
I added the github repo for you to reference the hitachi sourcecode for your port: https://synthiam.com/Support/Skills/Navigation/Hitachi-LG-LDS-Lidar?id=20086
Geeez, i was looking at the github repo you posted for the surreal arduino library. Oh wow, it was written by a drunken sailor! It actually returns a comma-separated text string? Ha oh geez. Parsing that is going to be a nightmare Glad you're looking into it and not me!
Hehe, i am glad to, couse i am no programmer. Well, seem like the lidar i have has a completely different chip (stm32f) and ins not compatible with the XV-11. Back to the robot vacuum he goes.
There are some cheep Lidar units on aliexpress like the Ydlidar X2L with 8m range and usb interface for 55 euros. I think it is good value for the money. Could it be supported in ARC? https://www.ydlidar.com/products/view/6.html
Cheap doesn’t mean reliable. If you’re asking for me to spend a few days making a robot skill for something that might not even work? That’s a risky thing to do.
Maybe you guys can find an affordable and proven lidar and I’ll make a robot skill.
otherwise, I did publish the source code for the hitachi lidar. So anyone else can modify it for any lidar
Ooh one other thing. How do you know that lidar won’t work with surreal on an arduino?
you don’t program the lidar. You attach an arduino to the lidar
I don't have a surreal, I used a h-bridge to drive the motor and the leonardo with the project. Motor spins but don't get any data from it. It is not worth the hassle if I can get a plug and play solution. Also better wait to see how The Navigator progresses.
And by the way, I see little or no comments to the navigation topic in the community. Seems like all wanted and asked for navigation and mapping and no one pushes forward. Oh well...
Yah... not sure what happened there. But using the realsense is probably enough. The lidar doesn’t really add a lot when the realsense is configured.
guess it depends on people’s expected outcomes of what they want the robot to do