|
| 1 | +# These parameters are dependant on the sensor location |
| 2 | +# Note: For converting angles use https://www.andre-gaschler.com/rotationconverter/ |
| 3 | +perception_node: |
| 4 | + ros__parameters: |
| 5 | + |
| 6 | + # Transformation from sensor to world frame |
| 7 | + lidar2world_transform: |
| 8 | + # [x,y,z] in meters |
| 9 | + translation: [0.0, 0.0, 3.25] |
| 10 | + |
| 11 | + # [w,x,y,z] normalized quaternion |
| 12 | + quaternion: [0.999769, 0.0, -0.021498, 0.0] |
| 13 | + |
| 14 | + # The crop box isolates a region of interest in the pointcloud |
| 15 | + # all point outside this box are removed |
| 16 | + # Use the roi_visulaizer.py tool to find a new crop_box params if needed |
| 17 | + crop_box_transform: |
| 18 | + # [x,y,z] in meters |
| 19 | + translation: [35.0, -0.5, 1.75] |
| 20 | + |
| 21 | + # [w,x,y,z] normalized quaternion |
| 22 | + quaternion: [0.9025852843498606, 0.0, 0.0, 0.43051109680829514] |
| 23 | + |
| 24 | + # [x, y, z] in meters |
| 25 | + size: [16.0, 75.0, 3.5] |
| 26 | + |
| 27 | + |
| 28 | +# Use the same `lidar2world_transform` for both nodes |
| 29 | +projection_node: |
| 30 | + ros__parameters: |
| 31 | + |
| 32 | + # Matrix from intrinsic camera calibration |
| 33 | + # This day's data was recorded at 1920x1080 |
| 34 | + camera_matrix: [1199.821557, 0.0, 960.562236, 0.0, 1198.033465, 551.675808, 0.0, 0.0, 1.0] |
| 35 | + |
| 36 | + # Transformation from sensor to world frame |
| 37 | + lidar2world_transform: |
| 38 | + # [x,y,z] in meters |
| 39 | + translation: [0.0, 0.0, 3.25] |
| 40 | + |
| 41 | + # [w,x,y,z] normalized quaternion |
| 42 | + quaternion: [0.999769, 0.0, -0.021498, 0.0] |
| 43 | + |
| 44 | + # Transform from Lidar to camera frame |
| 45 | + lidar2cam_extrinsic: |
| 46 | + rotation: [-0.0174524, 0.9998477, 0.0000000,-0.0000000, -0.0000000, -1.0000000,-0.9998477, -0.0174524, 0.0000000 ] |
| 47 | + translation: [0.00, 0.0508, 0.0502] |
| 48 | + |
| 49 | + # Transform from lidar data from to lidar sensor frame |
| 50 | + # See https://github.com/ros-drivers/ros2_ouster_drivers/issues/87 |
| 51 | + # The translation part may already be accounted for internally in the driver |
| 52 | + lidarData2lidarSensor_extrinsic: |
| 53 | + rotation: [-1.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 1.0] |
| 54 | + translation: [0.0, 0.0, 0.03618] |
| 55 | + |
0 commit comments