Portugal
Asked

XV11 LIDAR And The Navigator

@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

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

PRO
Synthiam
#1  

I didn’t make it, so no

PRO
Canada
#2  

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.

PRO
Synthiam
#3  

Yah I would have to create my own plug-in for it. The existing plug-in I didn’t make.

Portugal
#4  

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?

PRO
Synthiam
#5  

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?

Portugal
#6  

Yeah, i will hock it up and see what i get.

PRO
Synthiam
#7  

Nice - let me know what you come up with and i'll give you a hand between projects

PRO
Synthiam
#8   — Edited

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

PRO
Synthiam
#9  

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!

Portugal
#10   — Edited

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. User-inserted image

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 User-inserted image

PRO
Synthiam
#11  

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

PRO
Synthiam
#12  

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

Portugal
#13   — Edited

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.

Portugal
#14  

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...

PRO
Synthiam
#15   — Edited

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