Livox-SDK2 icon indicating copy to clipboard operation
Livox-SDK2 copied to clipboard

hap

Open wbq13599531791 opened this issue 2 years ago • 18 comments

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?

wbq13599531791 avatar Jun 01 '23 08:06 wbq13599531791

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.

DerK96 avatar Aug 11 '23 16:08 DerK96

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

wuruixia1993 avatar Sep 29 '23 13:09 wuruixia1993

did you update your firmware to the latest version?

DerK96 avatar Sep 30 '23 14:09 DerK96

Updated firmware also resolved this for me.

stevencolinmartin avatar Oct 17 '23 03:10 stevencolinmartin

How to upgrade firmware?

Updated firmware also resolved this for me.

delipl avatar Nov 02 '23 12:11 delipl

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

What I have to do?

reddittoob avatar Nov 16 '23 06:11 reddittoob

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

midiexiangxxx avatar Nov 22 '23 13:11 midiexiangxxx

不好意思,刚看到你的邮件,我的问题已解决 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: @.***>

wuruixia1993 avatar Nov 23 '23 12:11 wuruixia1993

不好意思,刚看到你的邮件,我的问题已解决 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 avatar Nov 23 '23 13:11 midiexiangxxx

How solve this problem?

reddittoob avatar Nov 24 '23 01:11 reddittoob

我的问题已解决 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: @.***>

wuruixia1993 avatar Nov 24 '23 01:11 wuruixia1993

what does it mean switching the network?

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

reddittoob avatar Nov 24 '23 02:11 reddittoob

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

DDQXZcp avatar Dec 14 '23 08:12 DDQXZcp

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

reddittoob avatar Dec 14 '23 08:12 reddittoob

不好意思,刚看到你的邮件,我的问题已解决 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 avatar Dec 27 '23 09:12 wuruixia1993

不好意思,刚看到你的邮件,我的问题已解决 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: @.***>

wuruixia1993 avatar Dec 27 '23 09:12 wuruixia1993

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]

XuechenCao avatar Nov 14 '24 10:11 XuechenCao

网关地址冲突,你把连接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: @.***>

wuruixia1993 avatar Nov 29 '24 02:11 wuruixia1993