Open SeymurD opened 4 years ago
Hi,SeymurD It seems that the TX2 can't receive any ethernet packets from our LiDAR,you can check the TX2's firewall settings. And you can use tcpdump to dump the ethernet packets.
I'm getting the same error. I'm running the demo on a linux machine. When I run roslaunch livox_ros_driver livox_lidar_rviz.launch
I get the following output:
... logging to /home/mick/.ros/log/62845878-727f-11eb-82d7-000c293af779/roslaunch-ubuntu-45064.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:33547/
SUMMARY
PARAMETERS
- /cmdline_file_path: livox_test.lvx
- /cmdline_str: 100000000000000
- /data_src: 0
- /enable_imu_bag: True
- /enable_lidar_bag: True
- /frame_id: livox_frame
- /multi_topic: 0
- /output_data_type: 0
- /publish_freq: 10.0
- /rosdistro: melodic
- /rosversion: 1.14.10
- /user_config_path: /home/mick/ws_liv...
- /xfer_format: 0
NODES / livox_lidar_publisher (livox_ros_driver/livox_ros_driver_node) rviz (rviz/rviz)
auto-starting new master process[master]: started with pid [45074] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 62845878-727f-11eb-82d7-000c293af779 process[rosout-1]: started with pid [45085] started core service [/rosout] process[livox_lidar_publisher-2]: started with pid [45092] process[rviz-3]: started with pid [45093] [ INFO] [1613717701.047655623]: Livox Ros Driver Version: 2.6.0 [ INFO] [1613717701.050872622]: Data Source is raw lidar. [ INFO] [1613717701.051231901]: Config file : /home/mick/ws_livox/src/livox_ros_driver/config/livox_lidar_config.json Commandline input bd:100000000000000 Invalid bd:100000000000000! Livox SDK version 2.3.0 broadcast code[3WEDH7600102721] : 1 1 0 0 0 0 Add Raw user config : 3WEDH7600102721 Disable timesync Disable auto connect mode! List all broadcast code in whiltelist: 3WEDH7600102721 Livox-SDK init success! [ INFO] [1613717701.052039384]: Init lds lidar success! [2021-02-18 22:55:01.226] [console] [info] Broadcast broadcast code: 3WEDH7600102721 [device_discovery.cpp] [OnBroadcast] [150] [2021-02-18 22:55:01.226] [console] [info] LocalIP: 192.168.1.205 [device_discovery.cpp] [OnBroadcast] [201] [2021-02-18 22:55:01.226] [console] [info] DeviceIP: 192.168.1.172 [device_discovery.cpp] [OnBroadcast] [202] [2021-02-18 22:55:01.226] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnBroadcast] [203] [2021-02-18 22:55:01.226] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnBroadcast] [204] [2021-02-18 22:55:01.250] [console] [info] New Device [device_discovery.cpp] [OnData] [99] [2021-02-18 22:55:01.250] [console] [info] Handle: 0 [device_discovery.cpp] [OnData] [100] [2021-02-18 22:55:01.250] [console] [info] Broadcast Code: 3WEDH7600102721 [device_discovery.cpp] [OnData] [101] [2021-02-18 22:55:01.250] [console] [info] Type: 3 [device_discovery.cpp] [OnData] [102] [2021-02-18 22:55:01.250] [console] [info] IP: 192.168.1.172 [device_discovery.cpp] [OnData] [103] [2021-02-18 22:55:01.250] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnData] [104] [2021-02-18 22:55:01.250] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnData] [105] [2021-02-18 22:55:01.250] [console] [info] Send Command: Set 0 Id 2 Seq 3 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.274] [console] [info] Recieve Ack: Set 0 Id 2 Seq 3 [command_handler.cpp] [OnCommand] [118] Lidar[3WEDH7600102721] status_code[0] working state[5] feature[0] [2021-02-18 22:55:01.274] [console] [info] Send Command: Set 0 Id 2 Seq 4 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Update State to 1, device connect true [device_manager.cpp] [UpdateDeviceState] [257] Lidar[3WEDH7600102721] status_code[0] working state[1] feature[0] [2021-02-18 22:55:01.298] [console] [info] Recieve Ack: Set 0 Id 2 Seq 4 [command_handler.cpp] [OnCommand] [118] firmware version: 6.10.0.0 [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 0 Id 5 Seq 6 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 1 Id 6 Seq 7 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 1 Id 8 Seq 8 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 0 Id 5 Seq 6 [command_handler.cpp] [OnCommand] [118] Set coordinate success! [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 1 Id 6 Seq 7 [command_handler.cpp] [OnCommand] [118] Set return mode success! [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 1 Id 8 Seq 8 [command_handler.cpp] [OnCommand] [118] Set imu rate success! [2021-02-18 22:55:01.322] [console] [info] Send Command: Set 0 Id 4 Seq 9 [command_channel.cpp] [Send] [243] Lidar[0][3WEDH7600102721] DataType[2] PacketInterval[400032] PublishPackets[250] Lidar[0][3WEDH7600102721] storage queue size : 500 512 [2021-02-18 22:55:01.347] [console] [info] Recieve Ack: Set 0 Id 4 Seq 9 [command_handler.cpp] [OnCommand] [118] Lidar start sample success [ INFO] [1613717701.424086009]: Support only one topic. [ INFO] [1613717701.425031036]: livox/lidar publish use PointCloud2 format, set ROS publisher queue size 256
I then see the mentioned error in RViz, and no data is plotted on the grid, but also can see that messages are being received and that max intensity varies as I move the Horizon around. So the data seems to be being received by the computer, but still the same error and nothing displayed.
Any other ideas as to what might cause this?
I'm getting the same error. I'm running the demo on a linux machine. When I run
roslaunch livox_ros_driver livox_lidar_rviz.launch
I get the following output:... logging to /home/mick/.ros/log/62845878-727f-11eb-82d7-000c293af779/roslaunch-ubuntu-45064.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://ubuntu:33547/
SUMMARY
PARAMETERS
- /cmdline_file_path: livox_test.lvx
- /cmdline_str: 100000000000000
- /data_src: 0
- /enable_imu_bag: True
- /enable_lidar_bag: True
- /frame_id: livox_frame
- /multi_topic: 0
- /output_data_type: 0
- /publish_freq: 10.0
- /rosdistro: melodic
- /rosversion: 1.14.10
- /user_config_path: /home/mick/ws_liv...
- /xfer_format: 0
NODES / livox_lidar_publisher (livox_ros_driver/livox_ros_driver_node) rviz (rviz/rviz) auto-starting new master process[master]: started with pid [45074] ROS_MASTER_URI=http://localhost:11311 setting /run_id to 62845878-727f-11eb-82d7-000c293af779 process[rosout-1]: started with pid [45085] started core service [/rosout] process[livox_lidar_publisher-2]: started with pid [45092] process[rviz-3]: started with pid [45093] [ INFO] [1613717701.047655623]: Livox Ros Driver Version: 2.6.0 [ INFO] [1613717701.050872622]: Data Source is raw lidar. [ INFO] [1613717701.051231901]: Config file : /home/mick/ws_livox/src/livox_ros_driver/config/livox_lidar_config.json Commandline input bd:100000000000000 Invalid bd:100000000000000! Livox SDK version 2.3.0 broadcast code[3WEDH7600102721] : 1 1 0 0 0 0 Add Raw user config : 3WEDH7600102721 Disable timesync Disable auto connect mode! List all broadcast code in whiltelist: 3WEDH7600102721 Livox-SDK init success! [ INFO] [1613717701.052039384]: Init lds lidar success! [2021-02-18 22:55:01.226] [console] [info] Broadcast broadcast code: 3WEDH7600102721 [device_discovery.cpp] [OnBroadcast] [150] [2021-02-18 22:55:01.226] [console] [info] LocalIP: 192.168.1.205 [device_discovery.cpp] [OnBroadcast] [201] [2021-02-18 22:55:01.226] [console] [info] DeviceIP: 192.168.1.172 [device_discovery.cpp] [OnBroadcast] [202] [2021-02-18 22:55:01.226] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnBroadcast] [203] [2021-02-18 22:55:01.226] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnBroadcast] [204] [2021-02-18 22:55:01.250] [console] [info] New Device [device_discovery.cpp] [OnData] [99] [2021-02-18 22:55:01.250] [console] [info] Handle: 0 [device_discovery.cpp] [OnData] [100] [2021-02-18 22:55:01.250] [console] [info] Broadcast Code: 3WEDH7600102721 [device_discovery.cpp] [OnData] [101] [2021-02-18 22:55:01.250] [console] [info] Type: 3 [device_discovery.cpp] [OnData] [102] [2021-02-18 22:55:01.250] [console] [info] IP: 192.168.1.172 [device_discovery.cpp] [OnData] [103] [2021-02-18 22:55:01.250] [console] [info] Command Port: 55501 [device_discovery.cpp] [OnData] [104] [2021-02-18 22:55:01.250] [console] [info] Data Port: 56001 [device_discovery.cpp] [OnData] [105] [2021-02-18 22:55:01.250] [console] [info] Send Command: Set 0 Id 2 Seq 3 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.274] [console] [info] Recieve Ack: Set 0 Id 2 Seq 3 [command_handler.cpp] [OnCommand] [118] Lidar[3WEDH7600102721] status_code[0] working state[5] feature[0] [2021-02-18 22:55:01.274] [console] [info] Send Command: Set 0 Id 2 Seq 4 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Update State to 1, device connect true [device_manager.cpp] [UpdateDeviceState] [257] Lidar[3WEDH7600102721] status_code[0] working state[1] feature[0] [2021-02-18 22:55:01.298] [console] [info] Recieve Ack: Set 0 Id 2 Seq 4 [command_handler.cpp] [OnCommand] [118] firmware version: 6.10.0.0 [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 0 Id 5 Seq 6 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 1 Id 6 Seq 7 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.298] [console] [info] Send Command: Set 1 Id 8 Seq 8 [command_channel.cpp] [Send] [243] [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 0 Id 5 Seq 6 [command_handler.cpp] [OnCommand] [118] Set coordinate success! [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 1 Id 6 Seq 7 [command_handler.cpp] [OnCommand] [118] Set return mode success! [2021-02-18 22:55:01.322] [console] [info] Recieve Ack: Set 1 Id 8 Seq 8 [command_handler.cpp] [OnCommand] [118] Set imu rate success! [2021-02-18 22:55:01.322] [console] [info] Send Command: Set 0 Id 4 Seq 9 [command_channel.cpp] [Send] [243] Lidar[0][3WEDH7600102721] DataType[2] PacketInterval[400032] PublishPackets[250] Lidar[0][3WEDH7600102721] storage queue size : 500 512 [2021-02-18 22:55:01.347] [console] [info] Recieve Ack: Set 0 Id 4 Seq 9 [command_handler.cpp] [OnCommand] [118] Lidar start sample success [ INFO] [1613717701.424086009]: Support only one topic. [ INFO] [1613717701.425031036]: livox/lidar publish use PointCloud2 format, set ROS publisher queue size 256
I then see the mentioned error in RViz, and no data is plotted on the grid, but also can see that messages are being received and that max intensity varies as I move the Horizon around. So the data seems to be being received by the computer, but still the same error and nothing displayed.
Any other ideas as to what might cause this?
I meet the same problem ! We solve this problem by updating the livox_ros_driver
Hello. I am running ubuntu 18.04 on a virtual box. I have updated the the livox_ros_driver , but still face the same issue. Has anyone found an answer to this?
Hello,
I am having trouble visualising the point cloud using the following ROS driver on the Jetson Tx2. The problem seems to be a result of the following message:
The following is the roslaunch console message which seems to show no errors:
I will also include the config file params for reference:
I did some research through the Google Conversation forums and just browsing some of the potential things that can cause this problem but I am not having any luck.
I will also include the Static IP config file and
ifconfig
output foreth0
:/etc/network/interfaces
ifconfig:
I would really appreciate some assistance on this issue. Thanks
EDIT:
I managed to get the device to show the pointcloud running the following line
'sudo ifconfig eth0 192.168.1.50'
I was wondering why we would run the following static IP 192.168.1.50 when the IP address in the manual is 192.168.1.1XX defines the specific LiDAR where XX is the last 2 digits on the serial. Setting that as the IP address doesnt seem to work.
The error below is still occuring: