Class: OccupancyGridClient

ROS3D. OccupancyGridClient

new OccupancyGridClient(options)

An occupancy grid client that listens to a given map topic.

Emits the following events:

  • 'change' - there was an update or change in the marker
Parameters:
Name Type Description
options

object with following keys:

  • ros - the ROSLIB.Ros connection handle
  • topic (optional) - the map topic to listen to
  • continuous (optional) - if the map should be continuously loaded (e.g., for SLAM)
  • tfClient (optional) - the TF client handle to use for a scene node
  • rootObject (optional) - the root object to add this marker to
Source:
  • maps/OccupancyGridClient.js, line 21