rosjava / android_core

Android libraries for rosjava
144 stars 166 forks source link

Don't draw pixels that don't come in messages #273

Closed adamantivm closed 7 years ago

adamantivm commented 7 years ago

Tiles in the OccupancyGridLayer were painting pixels beyond the data from occupancy grid messages as "unknown area" (gray). This was misleading, since it was drawing data that was not really coming in the corresponding ROS message, and it also prevented this layer to properly be used on top of other layers if the message data was smaller than the tile size (it was overlaying the layer below with gray)

adamantivm commented 7 years ago

@jubeira @ernestmc could you please review?