Class: Grid

ROS3D.Grid(options)

new Grid(options)

Create a grid object.

Parameters:
Name Type Description
options

object with following keys:

  • num_cells (optional) - The number of cells of the grid
  • color (optional) - the line color of the grid, like '#cccccc'
  • lineWidth (optional) - the width of the lines in the grid
  • cellSize (optional) - The length, in meters, of the side of each cell
Source: