Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/sensors/gnss/gnss.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ class Gnss:
def __init__(self, x_noise_std=0.5, y_noise_std=0.5, color='g'):
"""
Constructor
x_noise_std: Standard deviation of position x noise
y_noise_std: Standard deviation of position y noise
x_noise_std: Standard deviation of position x noise sigma_x[m]
y_noise_std: Standard deviation of position y noise sigma_y[m]
See section 5.3: https://shisatoyano.github.io/AutonomousVehicleControlBeginnersGuide/sensors/index.html#gnss
color: Color of drawing observed position point
"""

Expand Down
6 changes: 4 additions & 2 deletions src/components/sensors/sensor_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ def __init__(self, lon_m=0.0, lat_m=0.0, yaw_deg=0.0, min_m=0.5, max_m=40, reso_
min_m: minimum sensing range[m]
max_m: maximum sensing range[m]
reso_deg: resolution of sensing angle[deg]
angle_std_scale: scale of angle's standard deviation
dist_std_rate: rate of distance's standard deviation
angle_std_scale: standard deviation of the bearing noise sigma_phi[rad]
dist_std_rate: standard deviation of the range noise per meter of range c_r[-]
With the default 0.005, a point 20 m away gets 0.1 m of range-noise standard deviation.
See section 5.2: https://shisatoyano.github.io/AutonomousVehicleControlBeginnersGuide/sensors/index.html#lidar-and-point-clouds
calibrator: instance of calibrator module
"""

Expand Down
2 changes: 1 addition & 1 deletion src/components/sensors/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_lidar_global_x_m(self):

def get_lidar_global_y_m(self):
"""
Function to get LiDAR's global position x[m]
Function to get LiDAR's global position y[m]
When LiDAR is not installed, return 0.0
"""

Expand Down