ardupilot
ardupilot copied to clipboard
LD06 Proximity Sensor Integration
Creating a new Innomaker LD06 LiDAR driver for proximity sensing/obstacle avoidance. Communication protocol for sensor linked here.
Closes #17211 LDROBOT_LD06_Development manual_v1.0_en.pdf
I've pushed two commits onto this PR to no longer use the table based approach for the CRC.
You still will need to squash up and fix your commits. But I think you are nearly there given your testing.
Added a rebase too.
Completed testing the LiDAR with a Pixhawk 4 controller. Videos below demonstrate the LiDAR working with Mission Planner's Proximity Sensor feature: https://photos.app.goo.gl/GmoLTm4FoQF1soSEA https://photos.app.goo.gl/qUvXH74AnAHz9rMi7
Cleaned up the commit list and fixed a few style items.
Once you retest it with changes to the crc_function we can remove the commented out code and squash things again.
fixed up the commits by doing a soft reset and then did a git rebase master
That should get this passing autotests that were failing
I can rework the proximity changes I'm doing after this PR goes in so that doesn't need to be a blocker. Thanks for the consideration though.
Been continuing testing with my local version and still have not run into any issues with how the driver functions. Would like to retake a look and see if the code can be merged into the main branch- thanks in advance!
@tridge this is hanging now i believe for a change you asked ? Is the change really required? This lidar is quite popular amongst the robot community (and cheap) so i think we should move forward with merge.
@Adithya-Patil @lvale I have rebased and fix the build on this PR @rishabsingh3003 can you check the driver? I'm not very familiar with proximity drivers
@rishabsingh3003 When can you check the logs?
Not a blocker but we should add an entry to the custom build server for this new proximity sensor
rebase
@rishabsingh3003 I've given you maintainer status so you can push to PR branches
@lvale now that I have push access, I'll fix up the issues and rebase it over the weekend.
@lvale I have cleaned this PR up a little bit. Can you please check if this still works fine?
@lvale I have cleaned this PR up a little bit. Can you please check if this still works fine?
@rishabsingh3003 Sorry for the delay testing.
Everything looks fine, so I believe it is good to go
Merged, thanks for your patience @Adithya-Patil , @lvale