sergi-e/issues_06 (#3005)
* Brief additions * Fix on Light manager docs
This commit is contained in:
parent
949ceb2af4
commit
f6831da92e
|
@ -89,6 +89,21 @@ __1.__ Go to `carla/Unreal/CarlaUE4` and right-click the `CarlaUE4.uproject`.
|
|||
__2.__ Click on __Generate Visual Studio project files__.
|
||||
__3.__ Open the file generated with Visual Studio 2017.
|
||||
__4.__ Compile the project with Visual Studio. The shortcut is F7. The build will fail, but the issues found will be shown below.
|
||||
|
||||
Different issues may result in this specific error message. The user [@tamakoji](https://github.com/tamakoji) solved a recurrent case where the source code hadn't been cloned properly and the CARLA version could not be set (when downloading this as a .zip from git).
|
||||
|
||||
* __Check the `Build/CMakeLists.txt.in`.__ If it shows like `set(CARLA_VERSION )` do the following.
|
||||
|
||||
__1.__ Go to `Setup.bat` line 198.
|
||||
|
||||
__2.__ Update the line from:
|
||||
```sh
|
||||
for /f %%i in ('git describe --tags --dirty --always') do set carla_version=%%i
|
||||
```
|
||||
to:
|
||||
```sh
|
||||
for /f %%i in ('git describe --tags --dirty --always') do set carla_version="0.9.9"
|
||||
```
|
||||
</details>
|
||||
|
||||
<!-- ======================================================================= -->
|
||||
|
|
|
@ -2496,7 +2496,7 @@ Returns a list of actor blueprints available to ease the spawn of these into the
|
|||
- <a name="carla.World.get_vehicles_light_states"></a>**<font color="#7fb800">get_vehicles_light_states</font>**(<font color="#00a6ed">**self**</font>)
|
||||
Returns a dict where the keys are [carla.Actor](#carla.Actor) IDs and the values are [carla.VehicleLightState](#carla.VehicleLightState) of that vehicle.
|
||||
- **Return:** _dict_
|
||||
- <a name="carla.World.get_light_manager"></a>**<font color="#7fb800">get_light_manager</font>**(<font color="#00a6ed">**self**</font>)
|
||||
- <a name="carla.World.get_lightmanager"></a>**<font color="#7fb800">get_lightmanager</font>**(<font color="#00a6ed">**self**</font>)
|
||||
Returns an instance of [carla.LightManager](#carla.LightManager) that can be used to handle the lights in the scene.
|
||||
- **Return:** _[carla.LightManager](#carla.LightManager)_
|
||||
- <a name="carla.World.get_map"></a>**<font color="#7fb800">get_map</font>**(<font color="#00a6ed">**self**</font>)
|
||||
|
|
|
@ -481,8 +481,7 @@ for location in lidar_measurement:
|
|||
print(location)
|
||||
```
|
||||
|
||||
!!! Tip
|
||||
Running the simulator at [fixed time-step](adv_synchrony_timestep.md) it is possible to tune the rotation for each measurement. Adjust the step and the rotation frequency to get, for instance, a 360 view each measurement.
|
||||
The rotation of the LIDAR can be tuned to cover a specific angle on every simulation step (using a [fixed time-step](adv_synchrony_timestep.md)). For example, to rotate once per step (full circle output, as in the picture below), the rotation frequency and the simulated FPS should be equal. <br> __1.__ Set the sensor's frequency `sensors_bp['lidar'][0].set_attribute('rotation_frequency','10')`. <br> __2.__ Run the simulation using `python config.py --fps=10`.
|
||||
|
||||

|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@
|
|||
doc: >
|
||||
Returns a dict where the keys are carla.Actor IDs and the values are carla.VehicleLightState of that vehicle.
|
||||
# --------------------------------------
|
||||
- def_name: get_light_manager
|
||||
- def_name: get_lightmanager
|
||||
return: carla.LightManager
|
||||
doc: >
|
||||
Returns an instance of carla.LightManager that can be used to handle the lights in the scene.
|
||||
|
|
Loading…
Reference in New Issue