RPLIDAR A3 With CUBE Black

Has any one used RPLidar A3 (360°) Lidar with cube black or any other versions?..im running Arducopter 4.0.3

Thank You

I advise you to use arducopter master with PR #16505 on top of it. It should work great.

1 Like

Hey All,

Is RPLidar A3 (or S1/S2) supported in base Master now - or is the PR still required?

The PR is still open, so it is still needed

1 Like

Hey,

Could you please advise to documentation regarding how to run a PR on top of ArduCopter master? This is my first time doing such a thing.

You need to git clone master and compile the source code, once you have that I can tell you how to proceed.

I have done so. Is it ok that I am using Ubuntu on a Virtual Machine?

yes, that is ok.

now do:

git pull master
git remote add peterbarker https://github.com/peterbarker/ardupilot.git
git fetch peterbarker pr/new-a2-driver
git checkout pr/new-a2-driver
git rebase master
./waf configure --board=CubeOrange
./waf copter --upload

I am seeing the following error:

image

Also - I am using a CubeOrange so I compiled for CubeOrange and will build accordingly. Let me know if that will require anything different.

You have local changes on some files, you are not supposed to do that, and if you do, then only after the rebase.

Please stash the changes.

My mistake, I must have made some changes on this folder a while back and forgotten about it.

I started from scratch with a fresh git clone and was able to carry out your steps. I have yet to upload it to the aircraft because of one quick question. When I upload this custom build to the aircraft, will all of my parameters be transferred? I know this happens when switching between stable versions, but just want to make sure that is the case before I push the custom build.

I have backed up a parameter list regardless of what is supposed to happen.

your parameters will be transferred.

1 Like

Good AFternoon,

Apologize for the delay. When I uploaded the firmware to the aircraft - it gave me an error with T failed and could not detect barometer. The only way to fix this error was to wipe the board and start from fresh. Do you have any thoughts on this?

It also looks like 4.2.0-dev is being uploaded - anyway I can lock this to 4.1.1?

For 4.1.2-rc1 do:

git fetch origin
git checkout Copter-4.1
git branch -D pr/new-a2-driver
git checkout pr/new-a2-driver
git rebase Copter-4.1
./waf configure --board=CubeOrange
./waf copter --upload