skasperski / navigation_2d

ROS nodes to navigate a mobile robot in a planar environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation with gcc7

max-kuzmin opened this issue · comments

The same bug as here ros-planning/navigation@65261a8

void enqueue(map_t* map, unsigned int i, unsigned int j,
unsigned int src_i, unsigned int src_j,
std::priority_queue<CellData>& Q,
CachedDistanceMap* cdm,
unsigned char* marked)
{
if(marked[MAP_INDEX(map, i, j)])
return;
unsigned int di = abs(i - src_i);
unsigned int dj = abs(j - src_j);
double distance = cdm->distances_[di][dj];

Copied the fix from navigation package to master.
beeae18
Please verify that it solves this issue and close it.

Now it's ok