OccupancyGrid class final
nav_msgs/msg/OccupancyGrid.
- Implemented types
- Annotations
Constructors
- OccupancyGrid({Header header = const Header(), MapMetaData info = const MapMetaData(), required Int8List data})
-
const
-
OccupancyGrid.fromJson(Map<
String, Object?> json) -
factory
Properties
- data → Int8List
-
Occupancy in
0..100, or -1 for unknown. Row-major from the origin.final - hashCode → int
-
The hash code for this object.
no setteroverride
- header → Header
-
final
- info → MapMetaData
-
final
- rosType → String
-
The fully qualified ROS type name, e.g.
geometry_msgs/msg/Twist.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
at(
int col, int row) → int? -
Occupancy at grid cell (
col,row), ornullif out of bounds. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The rosbridge JSON representation of this message.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override