-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
959 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: Testing & Configuring RLidar | ||
date: 2024-10-28 9:00:00 +0100 | ||
tags: [phase 1] | ||
author: david | ||
img_path: /assets/img/ | ||
toc: true | ||
comments: true | ||
--- | ||
|
||
## Index | ||
|
||
- [Testing RLidar](#using-rlidar) | ||
- [Configuring RLidar](#configuring-rlidar) | ||
|
||
## Testing RLidar | ||
|
||
After further testing, it has been determined that the sensor is detecting the ground, then an image of the lidar beams will be displayed. These were ALWAYS detecting the ground as the y-axis goes from -2 to 2. | ||
|
||
![](Ray_vector.png) | ||
|
||
|
||
It now remains to determine why other vehicles are not being detected. | ||
|
||
|
||
## Setting scenario | ||
|
||
The lidar sensor has been debugged to check its correct operation, after verifying it and inspecting all the libraries related to its operation or configuration, the file: `lidar_sensor_params.py` has been found. | ||
|
||
|
||
This file contains the basic lidar configuration. The maximum detection distance, the resolution of the lidar and even the tilt in the y-axis. | ||
It has been modified in this way: | ||
|
||
```python | ||
BasicLidar = SensorParams( | ||
start_angle=0, | ||
end_angle=2 * np.pi, | ||
laser_angles=np.linspace(-np.radians(0.01), np.radians(0.01), 1), | ||
angle_resolution=0.02094, | ||
max_distance=20, | ||
noise_mu=0, | ||
noise_sigma=0.078, | ||
) | ||
``` | ||
|
||
And these are the results of the new ray vectors: | ||
|
||
![](new_vector.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.