Update NN3DWalkers.cpp
the excessive stack-space requirements in printWalkerConfigs breaks some proprietary/internal build systems.
This commit is contained in:
@@ -1035,6 +1035,7 @@ void NN3DWalkersExample::drawMarkings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void NN3DWalkersExample::printWalkerConfigs(){
|
void NN3DWalkersExample::printWalkerConfigs(){
|
||||||
|
#if 0
|
||||||
char configString[25 + NUM_WALKERS*BODYPART_COUNT*JOINT_COUNT*(3+15+1) + NUM_WALKERS*4 + 1]; // 15 precision + [],\n
|
char configString[25 + NUM_WALKERS*BODYPART_COUNT*JOINT_COUNT*(3+15+1) + NUM_WALKERS*4 + 1]; // 15 precision + [],\n
|
||||||
char* runner = configString;
|
char* runner = configString;
|
||||||
sprintf(runner,"Population configuration:");
|
sprintf(runner,"Population configuration:");
|
||||||
@@ -1058,4 +1059,5 @@ void NN3DWalkersExample::printWalkerConfigs(){
|
|||||||
}
|
}
|
||||||
runner[0] = '\0';
|
runner[0] = '\0';
|
||||||
b3Printf(configString);
|
b3Printf(configString);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user