[TeamTalk 87]: [624] moast-bth: 1) create section buffers
tk@edam.speech.cs.cmu.edu
tk at edam.speech.cs.cmu.edu
Mon May 21 11:51:48 EDT 2007
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20070521/ddc266fd/attachment.html
-------------- next part --------------
Modified: moast-bth/TeamTalkSimulator/TeamTalkSimulator.cc
===================================================================
--- moast-bth/TeamTalkSimulator/TeamTalkSimulator.cc 2007-05-21 13:19:00 UTC (rev 623)
+++ moast-bth/TeamTalkSimulator/TeamTalkSimulator.cc 2007-05-21 15:51:48 UTC (rev 624)
@@ -395,7 +395,9 @@
//clear ipc and start the moast nml server
spawn(true, moast_bin, "ipc-clear");
- NmlSvrPid = spawn(false, moast_bin, "moastNmlSvr");
+ vector<string> args;
+ args.push_back("-s");
+ NmlSvrPid = spawn(false, moast_bin, "moastNmlSvr", args);
sleep(3);
if(!peerfile.empty()) {
@@ -434,7 +436,7 @@
if(robots.empty()) robots[name] = new Robot(&robots, name, 1);
//initialize section control
- vector<string> args;
+ args.clear();
args.push_back("-r.2");
SectMobPLPid = spawn(false, moast_bin, "sectMobPL", args);
sleep(5);
Modified: moast-bth/TeamTalkSimulator/runSimulator.sh
===================================================================
--- moast-bth/TeamTalkSimulator/runSimulator.sh 2007-05-21 13:19:00 UTC (rev 623)
+++ moast-bth/TeamTalkSimulator/runSimulator.sh 2007-05-21 15:51:48 UTC (rev 624)
@@ -10,7 +10,7 @@
echo " "
echo "This script is running on `hostname` "
-MOAST=${CARTOON_HOME}/moast/devel
+MOAST=`pwd`/../moast
export CONFIG_NML=${MOAST}/etc/moast.nml
export CONFIG_INI=${MOAST}/etc/moast.ini
./TeamTalkSimulator --moast $MOAST --peerfile peerfile.txt
Modified: moast-bth/moast/src/nml/moastNmlSvr.cc
===================================================================
--- moast-bth/moast/src/nml/moastNmlSvr.cc 2007-05-21 13:19:00 UTC (rev 623)
+++ moast-bth/moast/src/nml/moastNmlSvr.cc 2007-05-21 15:51:48 UTC (rev 624)
@@ -65,6 +65,7 @@
break;
case 's':
section = true;
+ break;
default:
printf("\nUsage: -n<buf num> -s nml_file\n");
return 1;
Modified: moast-bth/moast/src/sim/simWare/simWare.cc
===================================================================
--- moast-bth/moast/src/sim/simWare/simWare.cc 2007-05-21 13:19:00 UTC (rev 623)
+++ moast-bth/moast/src/sim/simWare/simWare.cc 2007-05-21 15:51:48 UTC (rev 624)
@@ -244,7 +244,7 @@
}
}
- printf("\033[2J");
+ //printf("\033[2J");
printf("=================================\n");
printf("***** SIMware *****\n");
printf("=================================\n");
More information about the TeamTalk-developers
mailing list