Template Function grid_map::getCols

Function Documentation

template<typename MultiArrayMessageType_>
unsigned int grid_map::getCols(const MultiArrayMessageType_ &message)

Returns the number of columns of the message data.

Template Parameters:

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

Parameters:

message[in] the message data.

Returns:

the number of columns.