Update version 0.10.11:

-Added parameter "Mem/ReduceGraph" with new link type (NeighborMerged)
-DatabaseViewer: add Info panel, fixed empty extracted database when "RGB images" is not checked
-ConsoleWidget: added buffer size and refresh rate options
-DBDriver: new database info getters
-Graph: added reduceGraph() method, added Dijsktra computePath() with links only
-Updated default parameters: RGBD/LocalLoopDetectionSpace=true, RGBD/LinearUpdate=0.1 and RGBD/AngularUpdate=0.1
-Goals are saved with label instead of ID if the target node has a label
-DataRecorder: fixed saving incrementally the database (instead of only at the end)
-MainWindow: When waypoints are used, resend the current goal (1 sec delay) if it has failed setting it
This commit is contained in:
matlabbe
2015-10-24 17:03:44 -04:00
parent 957498b5a3
commit 463a5d973c
32 changed files with 1820 additions and 314 deletions
+16 -1
View File
@@ -600,13 +600,28 @@ inline std::string uJoin(const std::list<std::string> & strings, const std::stri
/**
* Check if a character is a digit.
* @param c the character
* @return if the character is a digit (if c >= '0' && c <= '9')
* @return true if the character is a digit (if c >= '0' && c <= '9')
*/
inline bool uIsDigit(const char c)
{
return c >= '0' && c <= '9';
}
/**
* Check if a string is a interger number.
* @param str the string
* @return true if the string is a integer number
*/
inline bool uIsInteger(const std::string & str)
{
bool isInteger = str.size();
for(unsigned int i=0; i<str.size() && isInteger; ++i)
{
isInteger = isdigit(str[i]);
}
return isInteger;
}
/**
* Split a string into number and character strings.
* Example: