Skip to content

Commit

Permalink
fixed lidar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TLZH0001 committed Aug 17, 2022
1 parent 04e7fec commit 2a280cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ROAR/configurations/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Configuration(BaseModel):
# ROAR sensors settings
name: str = Field(default="hero", title="Name of the agent", description="Duplicate from Carla Setting. "
"But good to have")
lidar_config: LidarConfigModel = Field(default=LidarConfigModel()),
lidar_config: LidarConfigModel = Field(default=LidarConfigModel())
front_depth_cam: Camera = Field(default=Camera(fov=70,
transform=Transform(
location=Location(x=1.6,
Expand Down
22 changes: 11 additions & 11 deletions ROAR/utilities_module/camera_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ def visualize(self, title="CameraData", duration=1) -> None:

class LidarConfigModel(BaseModel):
channels: int = Field(32)
range: int = Field(100),
points_per_second: int = Field(56000),
rotation_frequency: float = Field(10),
upper_fov: float = Field(10),
lower_fov: float = Field(-30),
horizontal_fov: float = Field(360),
atmosphere_attenuation_rate: float = Field(0.004),
dropoff_general_rate: float = Field(0.45),
dropoff_intensity_limit: float = Field(0.8),
dropoff_zero_intensity: float = Field(0.4),
sensor_tick: float = Field(0),
range: int = Field(100)
points_per_second: int = Field(56000)
rotation_frequency: float = Field(10)
upper_fov: float = Field(10)
lower_fov: float = Field(-30)
horizontal_fov: float = Field(360)
atmosphere_attenuation_rate: float = Field(0.004)
dropoff_general_rate: float = Field(0.45)
dropoff_intensity_limit: float = Field(0.8)
dropoff_zero_intensity: float = Field(0.4)
sensor_tick: float = Field(0)
noise_stddev: float = Field(0)

transform: Transform = Field(
Expand Down

0 comments on commit 2a280cf

Please sign in to comment.