18 #ifndef __se3_utils_version_hpp__ 19 #define __se3_utils_version_hpp__ 21 #include "pinocchio/macros.hpp" 36 std::ostringstream oss;
38 << PINOCCHIO_MAJOR_VERSION << delimiter
39 << PINOCCHIO_MINOR_VERSION << delimiter
40 << PINOCCHIO_PATCH_VERSION;
56 unsigned int minor_version,
57 unsigned int patch_version)
60 PINOCCHIO_MAJOR_VERSION > major_version
61 || (PINOCCHIO_MAJOR_VERSION >= major_version
62 && (PINOCCHIO_MINOR_VERSION > minor_version
63 || (PINOCCHIO_MINOR_VERSION >= minor_version
64 && PINOCCHIO_PATCH_VERSION >= patch_version)));
68 #endif // __se3_utils_version_hpp__
bool checkVersionAtLeast(unsigned int major_version, unsigned int minor_version, unsigned int patch_version)
Checks if the current version of Pinocchio is at least the version provided by the input arguments...
std::string printVersion(const std::string &delimiter=".")
Returns the current version of Pinocchio as a string using the following standard: PINOCCHIO_MINOR_VE...