Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/communication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ pplx::task<void> communicator::get_grid()
//Obstacles to grid
std::for_each(obstacles.begin(), obstacles.end(),
[this, tmp_inf_params, height, width](obstacle_t obs) {
//Look through all the points in one quadrant of the circlep
//Look through all the points in one quadrant of the circle
for(int x = obs.x - obs.radius - tmp_inf_params.radius; x <= obs.x; x++) {
for(int y = obs.y - obs.radius - tmp_inf_params.radius; y <= obs.y; y++) {
unsigned char cost = calculate_cost(obs, x, y, tmp_inf_params);
Expand Down