Problem with Benewake TF03 lidar

Recently got a TF03 lidar and I cannot seem to get it working properly. I have followed the process in This guide exactly but It doesn’t provide any distance information within mission planner.

As of now I have the lidar wired to the serial 4 port on a Pixhawk with Red to +5v, Black to Gnd, Blue to Tx, and Brown to Rx. My parameters are exactly how the guide above shows but it still doesn’t work.

Ive looked at the data sheet for this lidar and for some reason i have an extra yellow wire coming out of the TF03. The wires I have are Red, Black, Yellow, Brown, Green, and Blue. I have looked in multiple data sheets online and found nothing of a yellow wire anywhere.

And

[UPDATE]

I got it working. Just starting getting frustrated and trying every wire in every possible combination and now it works.

The wiring goes as follows- From lidar to pixhawk.

Red —>+5v
Black—>GND
Yellow—>Rx
Brown—> Tx

Set up parameters just as the guide in the original post describes and it will work.