config.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #******************************************************************************
  2. # Copyright 2020 RoboSense All rights reserved.
  3. # Suteng Innovation Technology Co., Ltd. www.robosense.ai
  4. # This software is provided to you directly by RoboSense and might
  5. # only be used to access RoboSense LiDAR. Any compilation,
  6. # modification, exploration, reproduction and redistribution are
  7. # restricted without RoboSense's prior consent.
  8. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
  9. # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  10. # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  11. # DISCLAIMED. IN NO EVENT SHALL ROBOSENSE BE LIABLE FOR ANY DIRECT,
  12. # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  13. # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  14. # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  15. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  16. # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  17. # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  18. # POSSIBILITY OF SUCH DAMAGE.
  19. #****************************************************************************/
  20. common:
  21. msg_source: 3 #0: not use Lidar
  22. #1: packet message comes from online Lidar
  23. #2: packet message comes from ROS or ROS2
  24. #3: packet message comes from Pcap file
  25. #4: packet message comes from Protobuf-UDP
  26. #5: point cloud comes from Protobuf-UDP
  27. send_packet_ros: false #true: Send packets through ROS or ROS2(Used to record packet)
  28. send_point_cloud_ros: true #true: Send point cloud through ROS or ROS2
  29. send_packet_proto: false #true: Send packets through Protobuf-UDP
  30. send_point_cloud_proto: false #true: Send point cloud through Protobuf-UDP
  31. pcap_path: /home/lenotary/文档/ZED/lidar.pcap #The path of pcap file
  32. lidar:
  33. - driver:
  34. lidar_type: RS16 #The lidar type - RS16, RS32, RSBP, RS128, RS80
  35. frame_id: rslidar #The frame id of message
  36. device_ip: 192.168.1.200 #The device ip address
  37. msop_port: 6699 #The msop port of lidar,default is 6699
  38. difop_port: 7788 #The difop port of lidar, default is 7788
  39. start_angle: 0 #The start angle of point cloud area
  40. end_angle: 360 #The end angle of point cloud area
  41. min_distance: 0.2 #The minimum distance of point cloud area
  42. max_distance: 200 #The maximum distance of point cloud area
  43. use_lidar_clock: false #True--Use the lidar clock as the message timestamp;False-- Use the system clock as the timestamp
  44. angle_path: /home/robosense/angle.csv #The path of the angle calibration file. For the latest version lidars, there is no need to use this file.
  45. ros:
  46. ros_recv_packet_topic: /rslidar_packets #The topic which used to receive lidar packets from ROS
  47. ros_send_packet_topic: /rslidar_packets #The topic which used to send lidar packets through ROS
  48. ros_send_point_cloud_topic: /rslidar_points #The topic which used to send point cloud through ROS
  49. proto:
  50. point_cloud_recv_port: 60021 #The port number used for receiving point cloud
  51. point_cloud_send_port: 60021 #The port number which the point cloud will be send to
  52. point_cloud_send_ip: 127.0.0.1 #The ip address which the point cloud will be send to
  53. msop_recv_port: 60022 #The port number used for receiving lidar msop packets
  54. difop_recv_port: 60023 #The port number used for receiving lidar difop packets
  55. msop_send_port: 60022 #The port number which the msop packets will be send to
  56. difop_send_port: 60023 #The port number which the difop packets will be send to
  57. packet_send_ip: 127.0.0.1 #The ip address which the lidar packets will be send to