Function pinocchio::checkModelFileExtension

Function Documentation

inline ModelFileExtensionType pinocchio::checkModelFileExtension(const std::string &filename)

Extract the type of the given model file according to its extension.

Parameters:

filename[in] The complete path to the model file.

Returns:

The type of the extension of the model file