|
CARLA
|
Frame data packet 28, on every frame: world-wide state a client can change on the primary that changes what sensors see or measure. More...
#include <worldState.h>
Public Member Functions | |
| bool | Read (std::istream &in, uint32_t size) |
| void | Write (std::ostream &out) const |
Public Attributes | |
| bool | day_night_cycle = true |
| UCarlaLightSubsystem: whether street lights follow the sun, and the last day/night state it broadcast (if any). | |
| bool | has_day_time_state = false |
| float | imu_gravity = 9.81f |
| The IMU's gravity, m/s^2. | |
| bool | last_is_day = true |
| uint16_t | map_layers = 0xFFFFu |
| rpc::MapLayer bits of the layers loaded. | |
| bool | publish_tf = true |
| ROS 2: whether TF frames are published. | |
Static Public Attributes | |
| static constexpr uint8_t | kPacketId = 28u |
| static constexpr uint32_t | kPayloadSizeV1 = 12u |
Frame data packet 28, on every frame: world-wide state a client can change on the primary that changes what sensors see or measure.
Definition at line 26 of file worldState.h.
|
inline |
Definition at line 61 of file worldState.h.
References day_night_cycle, has_day_time_state, imu_gravity, kPayloadSizeV1, last_is_day, map_layers, publish_tf, carla::multigpu::BoundedReader::Read(), and carla::multigpu::BoundedReader::ReadBytes().
Referenced by FFrameData::Read().
|
inline |
Definition at line 47 of file worldState.h.
References day_night_cycle, has_day_time_state, imu_gravity, kPacketId, kPayloadSizeV1, last_is_day, map_layers, publish_tf, carla::multigpu::WriteFrameDataHeader(), and carla::multigpu::detail::WritePod().
| bool carla::multigpu::WorldGlobals::day_night_cycle = true |
UCarlaLightSubsystem: whether street lights follow the sun, and the last day/night state it broadcast (if any).
Definition at line 40 of file worldState.h.
Referenced by FFrameData::AddWorldState(), FFrameData::PlayWorldState(), Read(), TEST(), and Write().
| bool carla::multigpu::WorldGlobals::has_day_time_state = false |
Definition at line 41 of file worldState.h.
Referenced by FFrameData::AddWorldState(), Read(), TEST(), and Write().
| float carla::multigpu::WorldGlobals::imu_gravity = 9.81f |
The IMU's gravity, m/s^2.
Definition at line 36 of file worldState.h.
Referenced by FFrameData::AddWorldState(), FFrameData::PlayWorldState(), Read(), TEST(), and Write().
|
staticconstexpr |
Definition at line 28 of file worldState.h.
Referenced by Write().
|
staticconstexpr |
Definition at line 30 of file worldState.h.
| bool carla::multigpu::WorldGlobals::last_is_day = true |
Definition at line 42 of file worldState.h.
Referenced by FFrameData::AddWorldState(), Read(), TEST(), and Write().
| uint16_t carla::multigpu::WorldGlobals::map_layers = 0xFFFFu |
rpc::MapLayer bits of the layers loaded.
Definition at line 33 of file worldState.h.
Referenced by FFrameData::AddWorldState(), Read(), TEST(), and Write().
| bool carla::multigpu::WorldGlobals::publish_tf = true |
ROS 2: whether TF frames are published.
Definition at line 45 of file worldState.h.
Referenced by FFrameData::AddWorldState(), FFrameData::PlayWorldState(), Read(), TEST(), and Write().