I have never worked with lidars or sensors.
I have an tfmini plus lidar and connect it to matek matek H743-Slim via RX6 and TX6
I am not getting anything from Onboard OSD when I use pymavlink I can get data but not continuously. So do you guys have any idea what I might be missin.
what settings have you used? are you sure the lidar is in serial mode and not i2c mode?
RNGFND1_TYPE = 20
RNGFND1_ORIENT = 25
I donโt now the mod of the lidar how can I check and if so change it?
have you tried it on the i2c bus ?
https://ardupilot.org/copter/docs/common-benewake-tfmini-lidar.html
RNGFND1_TYPE = 20 works for TFminiPlus or TFmini, via its UART connection. If TFminiPlus is connected via I2C to the autopilot, use RNGFND1_TYPE = 25 (Benewake TFminiPlus-I2C) and also set RNGFND1_ADDR = 16 (I2C Address of lidar in decimal). The sensorโs default I2C address is 0x10 hexadecimal which is 16 in decimal.
yes good idea I will try it. Thank you : )
I try to connect it with I2C but again it does read any value. 5V, GND, SDA, SCL but still not working.
Did you read ever the datasheet aลd the documentation as recommended?
How you connected yor Lidar exactly to your FC?
What are your settings?