Livox-SDK / Livox-SDK2

Drivers for receiving LiDAR data and controlling lidar, support Lidar HAP and Mid-360.
Other
130 stars 88 forks source link

hap #42

Open wbq13599531791 opened 1 year ago

wbq13599531791 commented 1 year ago

I want to use HAP to receive data,and run the example "livox lidar quick start",but it has the problem "[console] [error] Query livox lidar Fw type failed, the status:-4 [general_command_handler.cpp] [QueryFwTypeCallback] [438]",can you tell me why result in this problem and how to handle it?

DerK96 commented 1 year ago

What is your firmware version? I had the same issue with firmware version 15.10.01.08 and updated to the latest version 15.10.01.15, that solved the issue for me.

wuruixia1993 commented 1 year ago

I have encountered the same problem as you. Can you provide me with a specific solution? Thank you

DerK96 commented 1 year ago

did you update your firmware to the latest version?

stevencolinmartin commented 1 year ago

Updated firmware also resolved this for me.

delipl commented 1 year ago

How to upgrade firmware?

Updated firmware also resolved this for me.

reddittoob commented 1 year ago

I was upgrade firmware to the latest version. However, I got same error.

What I have to do?

midiexiangxxx commented 1 year ago

hello,I incountered this problem too,did you solve it?

wuruixia1993 commented 1 year ago

不好意思,刚看到你的邮件,我的问题已解决 ros主从机设置时网关为192.16.0.1,激光雷达的ip设置时网关也被设置成了192.168.0.1 切换网络后,ros主从机的网关更改,报错解决。 问题应该是ros主从机的网关与激光雷达冲突,更改其中一个即可

At 2023-11-22 21:50:34, "brLi" @.***> wrote:

hello,I incountered this problem too,did you solve it?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

midiexiangxxx commented 1 year ago

不好意思,刚看到你的邮件,我的问题已解决 ros主从机设置时网关为192.16.0.1,激光雷达的ip设置时网关也被设置成了192.168.0.1 切换网络后,ros主从机的网关更改,报错解决。 问题应该是ros主从机的网关与激光雷达冲突,更改其中一个即可 At 2023-11-22 21:50:34, "brLi" @.> wrote: hello,I incountered this problem too,did you solve it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

感谢回复,我也解决了问题

reddittoob commented 1 year ago

How solve this problem?

wuruixia1993 commented 1 year ago

我的问题已解决 ros主从机设置时网关为192.16.0.1,激光雷达的ip设置时网关也被设置成了192.168.0.1 切换网络后,ros主从机的网关更改,报错解决。 问题应该是ros主从机的网关与激光雷达冲突,更改其中一个即可

在 2023-11-24 09:24:08,reddittoob @.***> 写道:

How solve this problem?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

reddittoob commented 1 year ago

what does it mean switching the network?

I don't understand your solution. Please let me know about details.

DDQXZcp commented 11 months ago

I encountered this problem and I solved it in another way. I set my host IP to 192.168.1.50 but it doesn't work. Then I found that the manual said you also need to set the subnet mask to "255.255.255.0". Then it works.

My experience is that if

  1. Init fail -> Either the Host & Lidar IP address is incorrect or the network settings is incorrect
  2. Detection success but update lidar fail -> IP is correct but subtle errors such as subnet mask hinder the communication
reddittoob commented 11 months ago

I already set subnet mask to "255.255.255.0". But I still have same problem.

wuruixia1993 commented 11 months ago

不好意思,刚看到你的邮件,我的问题已解决 ros主从机设置时网关为192.16.0.1,激光雷达的ip设置时网关也被设置成了192.168.0.1 切换网络后,ros主从机的网关更改,报错解决。 问题应该是ros主从机的网关与激光雷达冲突,更改其中一个即可

在 2023-12-14 16:50:29,"Herman TANG" @.***> 写道:

I encountered this problem and I solved it in another way. I set my host IP to 192.168.1.50 but it doesn't work. Then I found that the manual said you also need to set the subnet mask to "255.255.255.0". Then it works.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

wuruixia1993 commented 11 months ago

不好意思,刚看到你的邮件,我的问题已解决 ros主从机设置时网关为192.16.0.1,激光雷达的ip设置时网关也被设置成了192.168.0.1 切换网络后,ros主从机的网关更改,报错解决。 问题应该是ros主从机的网关与激光雷达冲突,更改其中一个即可

在 2023-12-14 16:56:52,reddittoob @.***> 写道:

I already set subnet mask to "255.255.255.0". But I still have same problem.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

XuechenCao commented 2 weeks ago

i also meet the problem , iu set the correct the IP, but the SDK still report error: [2024-11-14 05:34:54.046] [console] [error] Query livox lidar Fw type failed, the status:-4 [general_command_handler.cpp] [QueryFwTypeCallback] [407]

wuruixia1993 commented 9 hours ago

网关地址冲突,你把连接wifi的地址不要设置为192.168.1. 和激光雷达的设置不一样即可

At 2024-11-14 18:37:48, "Gason" @.***> wrote:

i also meet the problem , iu set the correct the IP, but the SDK still report error: [2024-11-14 05:34:54.046] [console] [error] Query livox lidar Fw type failed, the status:-4 [general_command_handler.cpp] [QueryFwTypeCallback] [407]

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>