RPLIDAR A2M6 - Unity or AS3

Hi there,
I need to get data from the RPLIDAR unit we just got in, either into Unity engine or Animate AS3 would be fine.

Hoping to use just the included USB/UART bridge, but could connect to Arduino if that would be easier.

Any help is much appreciated.

Hi,

We assume you mean the RB-Rpk-05.

What you need to two will depend on if you simply want an export of data into your external software or if you need to obtain live data into it.
The first one is much simpler and would typically involve the following steps:

  1. Dump/log data readings from the RPLidar unit into a file. These readings would be taken in the environment to be measured.
  2. Convert the data to a format that is compatible with your software (there are many format for point clouds and 3D objects).
  3. Import the converted data into your software.

A good starting point for #1 & #2 is the RPLidar SDK from the manufacturer. You can find it on the product page under Useful Links.

Part of #2 and #3 will depend heavily on what software you are using. You will need to look at its documentation for more details.

Sincerely,