diff --git a/src/components/sensors/gnss/gnss.py b/src/components/sensors/gnss/gnss.py index ceac2b5d..b7b5f9c4 100644 --- a/src/components/sensors/gnss/gnss.py +++ b/src/components/sensors/gnss/gnss.py @@ -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 """ diff --git a/src/components/sensors/sensor_parameters.py b/src/components/sensors/sensor_parameters.py index 62601fd8..4b4cc802 100644 --- a/src/components/sensors/sensor_parameters.py +++ b/src/components/sensors/sensor_parameters.py @@ -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 """ diff --git a/src/components/sensors/sensors.py b/src/components/sensors/sensors.py index 7066090f..a9ca2cc0 100644 --- a/src/components/sensors/sensors.py +++ b/src/components/sensors/sensors.py @@ -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 """