Class: Placement

Placement

new Placement(metadata, center, pose, shape)

Parameters:
Name Type Description
metadata ObservationMetadata

Observation data for this map.

center array

The coordinate position describing the center of this entity.

pose Quaternion

The pose of the entity.

shape array

A counterclockwise array of coordinates around the entity's boundary. Coordinates are given as they would be when the center is at the origin and pose is in the direction of the positive y-axis and flat on the x-y plane. This is done so uncertainty in the location of the center doesn't contaminate the shape of the entity.

Source:

Methods

getCenter() → {array}

Getter for center

Source:
Returns:

The coordinate position describing the center of this entity.

Type
array