On this page

gridCells QML Value Type

An array of cells in a 2D grid. More...

Import Statement: import QtRos2.NavMsgs
Status: Experimental Extension

Properties

Detailed Description

gridCells is a structured value type usable in QML. It maps directly to the nav_msgs::msg::GridCells ROS 2 message type.

Construct a gridCells in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.

See also GridCellsPublisher and GridCellsSubscriber.

Property Documentation

cellHeight : real

Height of each cell

cellWidth : real

Width of each cell

cells : list<point>

Each cell is represented by the Point at the center of the cell

header : header

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.