Skip to content

Commit

Permalink
add scan point section
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiye Shizhi committed Jan 24, 2025
1 parent 8d5ba56 commit 2954173
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/3_sensor_models/3_2_lidar.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,13 @@ draw_pos is used for visualizing the position of the sensor in the simulation wo
self.calculate_global_pos(state)
pos_plot, = axes.plot(self.global_x_m, self.global_y_m, marker='.', color='b')
elems.append(pos_plot)
```
```

### 3.2.2 Scan point
ScanPoint class is implemented to represent a scan point in a point cloud from LiDAR. [XYArray class](/doc/2_vehicle_model/2_vehicle_model.md) is imported in the class for representing a x-y vector of the position of the scan point. The scan point object has the following data.

* Distance from the LiDAR to the scan point[m]
* Horizontal angle from the LiDAR to the scan point[rad]
* X-Y position array of the scan point[m]
* Trasformed x coordinate of the scan point on a specific coordinate system
* Trasformed y coordinate of the scan point on a specific coordinate system

0 comments on commit 2954173

Please sign in to comment.