Template Function grid_map::isRowMajor

Function Documentation

template<typename MultiArrayMessageType_>
bool grid_map::isRowMajor(const MultiArrayMessageType_ &message)

Checks if message data is stored in row-major format.

Template Parameters:

MultiArrayMessageType_ – a std_msgs::xxxMultiArray message (e.g. std_msgs::Float32MultiArray).

Parameters:

message[in] the message data.

Returns:

true if is in row-major format, false if is in column-major format.