File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
clearpath_generator_common/clearpath_generator_common/description Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,19 @@ def __init__(self, sensor: BaseLidar3D) -> None:
133133 class OusterOS1Description (Lidar3dDescription ):
134134 SAMPLES_HORIZONTAL = 'samples_h'
135135 SAMPLES_VERTICAL = 'samples_v'
136+ BASE_TYPE = 'base'
137+ CAP_TYPE = 'cap'
136138
137- def __init__ (self , sensor : BaseLidar3D ) -> None :
139+ def __init__ (self , sensor : OusterOS1 ) -> None :
138140 super ().__init__ (sensor )
139141
140142 del self .parameters [self .ANGULAR_RESOLUTION_H ]
141143 del self .parameters [self .ANGULAR_RESOLUTION_V ]
142144 self .parameters .update ({
143145 self .SAMPLES_HORIZONTAL : 1024 ,
144- self .SAMPLES_VERTICAL : 64
146+ self .SAMPLES_VERTICAL : 64 ,
147+ self .BASE_TYPE : sensor .base_type ,
148+ self .CAP_TYPE : sensor .cap_type ,
145149 })
146150
147151 class ImuDescription (BaseDescription ):
You can’t perform that action at this time.
0 commit comments