mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
DatabaseViewer: added exporting of a specific session with or without user_data. MainWindow: added action to send goal to rtabmap. Rtabmap: Saving goals in user_data of the current signature, modified parameter Mem/RehearsedNodesKept to Mem/NotLinkedNodesKept. DBReader: added sending goals when detected while playing back a database.
This commit is contained in:
@@ -149,6 +149,20 @@ std::string UTILITE_EXP uBool2Str(bool boolean);
|
||||
*/
|
||||
bool UTILITE_EXP uStr2Bool(const char * str);
|
||||
|
||||
/**
|
||||
* Convert a string to an array of bytes including the null character ('\0').
|
||||
* @param str the string
|
||||
* @return the array of bytes
|
||||
*/
|
||||
std::vector<unsigned char> UTILITE_EXP uStr2Bytes(const std::string & str);
|
||||
|
||||
/**
|
||||
* Convert an array of bytes to string, the array of bytes must end with the null character ('\0').
|
||||
* @param bytes the array of bytes
|
||||
* @return the string
|
||||
*/
|
||||
std::string UTILITE_EXP uBytes2Str(const std::vector<unsigned char> & bytes);
|
||||
|
||||
/**
|
||||
* Convert a bytes array to an hexadecimal string.
|
||||
* The resulting string is twice the size of the bytes array. The hexadecimal
|
||||
|
||||
Reference in New Issue
Block a user