Skip to content

Commit

Permalink
Fixing vehicle name and compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bernatx committed Jul 28, 2021
1 parent f4bb456 commit 2ce9897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PythonAPI/test/smoke/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_sensor_transform_on_synchronous_mode(self):
spawn_points = self.world.get_map().get_spawn_points()
self.assertNotEqual(len(spawn_points), 0)

car_bp = bp_lib.find('vehicle.mustang.mustang')
car_bp = bp_lib.find('vehicle.ford.mustang')
car = self.world.spawn_actor(car_bp, spawn_points[0])
# List of sensors that are not events, these are retrieved every frame
sensor_ids = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ void CarlaRecorderEventAdd::Read(std::ifstream &InFile)

//---------------------------------------------

inline void CarlaRecorderEventsAdd::Clear(void)
void CarlaRecorderEventsAdd::Clear(void)
{
Events.clear();
}

inline void CarlaRecorderEventsAdd::Add(const CarlaRecorderEventAdd &Event)
void CarlaRecorderEventsAdd::Add(const CarlaRecorderEventAdd &Event)
{
Events.push_back(std::move(Event));
}
Expand Down Expand Up @@ -101,4 +101,4 @@ void CarlaRecorderEventsAdd::Write(std::ofstream &OutFile)
OutFile.seekp(PosStart, std::ios::beg);
WriteValue<uint32_t>(OutFile, Total);
OutFile.seekp(PosEnd, std::ios::beg);
}
}

0 comments on commit 2ce9897

Please sign in to comment.