Class: OccupancyGrid

ROS3D.OccupancyGrid(options)

new OccupancyGrid(options)

An OccupancyGrid can convert a ROS occupancy grid message into a THREE object.

Parameters:
Name Type Description
options

object with following keys:

  • message - the occupancy grid message
  • color (optional) - color of the visualized grid
  • opacity (optional) - opacity of the visualized grid (0.0 == fully transparent, 1.0 == opaque)
Source: