Forward header offset directly to the Array constructor (#2194)

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
This commit is contained in:
Denis 2020-02-25 13:10:29 +01:00 committed by GitHub
parent 36f6920fee
commit 090a39855d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,8 @@
* Fixed docker build of .BIN for pedestrian navigation * Fixed docker build of .BIN for pedestrian navigation
* Fixed crash when missing elevation profile and lane offset in OpenDRIVE * Fixed crash when missing elevation profile and lane offset in OpenDRIVE
* Fixed typos * Fixed typos
* Fixed agent failures due to API changes in `is_within_distance_ahead()` * Fixed agent failures due to API changes in is_within_distance_ahead()
* Fixed assertion bug when using LibCarla
* Fixed incorrect doppler velocity for RADAR sensor * Fixed incorrect doppler velocity for RADAR sensor
* Fixed documentation links * Fixed documentation links
* Upgraded Boost to 1.72.0 * Upgraded Boost to 1.72.0
@ -54,6 +55,7 @@
* Fixed an error in `automatic_control.py` failing because the `Num Lock` key * Fixed an error in `automatic_control.py` failing because the `Num Lock` key
* Fixed client_bounding_boxes.py example script * Fixed client_bounding_boxes.py example script
* Fixed materials and semantic segmentation issues regarding importing assets * Fixed materials and semantic segmentation issues regarding importing assets
* Added TrafficManager to replace autopilot in managing the NPC vehicles
* Fixed ObstacleSensor to return HitDistance instead of HitRadius * Fixed ObstacleSensor to return HitDistance instead of HitRadius
## CARLA 0.9.6 ## CARLA 0.9.6

View File

@ -25,9 +25,7 @@ namespace data {
friend Serializer; friend Serializer;
explicit RawEpisodeState(RawData data) explicit RawEpisodeState(RawData data)
: Super(std::move(data)) { : Super(Serializer::header_offset, std::move(data)) {}
Super::SetOffset(Serializer::header_offset);
}
private: private: