Comments (5)
#85
Problem solved, test passed
from livox_ros_driver2.
1.IP settings
I used the Livoxviewer to set each lidar to have a different IP.
- lidar1 : HAP, 192.168.1.100
- lidar2 : HAP, 192.168.1.101
- HostPC : 192.168.1.5
2.change config file
{
"lidar_summary_info" : {
"lidar_type": 8
},
"HAP": {
"lidar_net_info" : {
"cmd_data_port": 56000,
"push_msg_port": 0,
"point_data_port": 57000,
"imu_data_port": 58000,
"log_data_port": 59000
},
"host_net_info" : {
"cmd_data_ip" : "192.168.1.5",
"cmd_data_port": 56000,
"push_msg_ip": "",
"push_msg_port": 0,
"point_data_ip": "192.168.1.5",
"point_data_port": 57000,
"imu_data_ip" : "192.168.1.5",
"imu_data_port": 58000,
"log_data_ip" : "",
"log_data_port": 59000
}
},
"HAP": {
"lidar_net_info" : {
"cmd_data_port": 56000,
"push_msg_port": 0,
"point_data_port": 57000,
"imu_data_port": 58000,
"log_data_port": 59000
},
"host_net_info" : {
"cmd_data_ip" : "192.168.1.5",
"cmd_data_port": 56000,
"push_msg_ip": "",
"push_msg_port": 0,
"point_data_ip": "192.168.1.5",
"point_data_port": 57000,
"imu_data_ip" : "192.168.1.5",
"imu_data_port": 58000,
"log_data_ip" : "",
"log_data_port": 59000
}
},
"lidar_configs" : [
{
"ip" : "192.168.1.100",
"pcl_data_type" : 1,
"pattern_mode" : 0,
"extrinsic_parameter" : {
"roll": 0.0,
"pitch": 0.0,
"yaw": 0.0,
"x": 0,
"y": 0,
"z": 0
}
},
{
"ip" : "192.168.1.101",
"pcl_data_type" : 1,
"pattern_mode" : 0,
"extrinsic_parameter" : {
"roll": 0.0,
"pitch": 0.0,
"yaw": 0.0,
"x": 0,
"y": 0,
"z": 0
}
}
]
}
- changed the multi_topic parameter "1"
from livox_ros_driver2.
Thanks for answer.
The configuration you pointed was done, the problem is in the launch file, i would want to specify differents frames here.
I create two nodes to execute two drivers passing as parameters the respective file, but the result only show one point cloud in the topic.
from livox_ros_driver2.
I have the same problem with two HAP's.
I also start two nodes for the respective HAPs. Multi_topic parameter is set to 1, IP's are different, Config file was adjusted as described here.
However, it seems that the first starting node goes through the config file and publishes both listed there.
In fact, two topics or pointclouds are published for me as well. But both with the same frame_id, which is not wanted although in the start launch file different frame_id parameters are passed.
In the driver code it seems that the frame_id is set as parameter but for all created publishers, so the parameter is always overwritten. Actually the option multi_topic should distinguish between different frame_id's, like it is done with the names of the topics.
If someone has a solution or I am wrong I would be very grateful.
from livox_ros_driver2.
#85 Problem solved, test passed
Thanks for your work, it works for me.
from livox_ros_driver2.
Related Issues (20)
- no IMU topic for Livox HAP
- 运行 roslaunch livox_ros_driver2 rviz_MID360.launch后rviz中无点图 HOT 3
- livox-ros-Driver2在使用./build.sh humble 进行编译时出现rapidjson库相关报错 HOT 3
- [MID360] Support turning the sensor motor ON/OFF through a service or other ROS interface
- Why MID360 topics are varying in rosbag record.
- No Point Cloud data in RViz HOT 1
- 当我试图使用MID360作为雷达部署LviSam时,出现报错。
- Publish rate issue with livox avia HOT 1
- liblivox_lidar_sdk_shared.so HOT 2
- RViz did not display any points. HOT 3
- Init lds lidar fail
- It is possible to publish topics such as Livox customized and pointcloud2 at the same time?
- Ordered Pointclouds
- Can't receive any data after "Init lds lidar successfully" HOT 2
- 关于mid360和gps同步
- How can i access Livox Horizon? HOT 1
- What is main difference points between xfer_format(PointCloud2 vs customized poincloud)?
- can't find pointcloud from rviz (livox hap) HOT 1
- Unable to launch the driver (Init lds lidar fail!)
- 怎么获取hms_code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livox_ros_driver2.