unilab.envs.locomotion.common.height_scan.init_height_scan_sensor¶
- unilab.envs.locomotion.common.height_scan.init_height_scan_sensor(env, scan_cfg, base_body_name)[source]¶
Wire a yaw-aligned heightfield scanner onto
env.- Sets the following attributes on
env: _height_scan_dim, _height_scan_hfield_geom_id, _height_scan_frame_body_id, _height_scan_offsets, _height_scan_sensor.
- Parameters:
env (
Any)scan_cfg (
HeightScanConfig)base_body_name (
str)
- Return type:
- Sets the following attributes on