Skip to content

Commit

Permalink
Weekly progress
Browse files Browse the repository at this point in the history
  • Loading branch information
dduro2020 committed Oct 31, 2024
1 parent c00b3e9 commit ec05d22
Show file tree
Hide file tree
Showing 3 changed files with 959 additions and 0 deletions.
48 changes: 48 additions & 0 deletions docs/_posts/2024-10-28-Week_6.md
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)
Binary file added docs/assets/img/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.
Loading

0 comments on commit ec05d22

Please sign in to comment.