[TeamTalk 218]: [754] trunk/moast-bth/moast/bin/regression: 1) Added see_each_other and long_traversal tests.

tk@edam.speech.cs.cmu.edu tk at edam.speech.cs.cmu.edu
Thu Sep 20 16:40:26 EDT 2007


An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20070920/07d53fa3/attachment.html
-------------- next part --------------
Modified: trunk/moast-bth/moast/bin/regression/four_right_turns.exp
===================================================================
--- trunk/moast-bth/moast/bin/regression/four_right_turns.exp	2007-09-19 20:48:52 UTC (rev 753)
+++ trunk/moast-bth/moast/bin/regression/four_right_turns.exp	2007-09-20 20:40:25 UTC (rev 754)
@@ -1,31 +1,35 @@
 #!/usr/bin/expect -f
 
-set rt_time 12
+set rt_time 20
 set rt_tol 6
+set adm_prompt "> \rAdm> "
+set mob_prompt "> \rMob> "
 set timeout -1
 cd ..
-spawn ./primShell
+spawn ./amShell
 match_max 100000
-expect "PrimMob> \rPrimMob> "
-send "rotate 270 $rt_tol cw\r"
-expect "PrimMob> \rPrimMob> "
+expect $adm_prompt
+send "mob\r"
+expect $mob_prompt
+send "spin SHORT 270 $rt_tol\r"
+expect $mob_prompt
 sleep $rt_time
 send -- "\r"
-expect "PrimMob> \rPrimMob> "
-send -- "rotate 0 $rt_tol cw\r"
-expect "PrimMob> \rPrimMob> "
+expect $mob_prompt
+send -- "spin SHORT 0 $rt_tol\r"
+expect $mob_prompt
 sleep $rt_time
 send -- "\r"
-expect "PrimMob> \rPrimMob> "
-send -- "rotate 90 $rt_tol cw\r"
-expect "PrimMob> \rPrimMob> "
+expect $mob_prompt
+send -- "spin SHORT 90 $rt_tol\r"
+expect $mob_prompt
 sleep $rt_time
 send -- "\r"
-expect "PrimMob> \rPrimMob> "
-send -- "rotate 180 $rt_tol cw\r"
-expect "PrimMob> \rPrimMob> "
+expect $mob_prompt
+send -- "spin SHORT 180 $rt_tol\r"
+expect $mob_prompt
 sleep $rt_time
 send -- "\r"
-expect "PrimMob> \rPrimMob> "
+expect $mob_prompt
 send -- "quit\r"
 expect eof

Added: trunk/moast-bth/moast/bin/regression/long_traversal.exp
===================================================================
--- trunk/moast-bth/moast/bin/regression/long_traversal.exp	                        (rev 0)
+++ trunk/moast-bth/moast/bin/regression/long_traversal.exp	2007-09-20 20:40:25 UTC (rev 754)
@@ -0,0 +1,16 @@
+#!/usr/bin/expect -f
+
+set rt_time 12
+set rt_tol 6
+set prompt "> \r> "
+set timeout -1
+cd ..
+spawn ./vehShell
+match_max 100000
+expect $prompt
+send "dump 5 ppm\r"
+expect $prompt
+sleep 5
+send "mvl 40.0 6.5\r"
+expect $prompt
+interact


Property changes on: trunk/moast-bth/moast/bin/regression/long_traversal.exp
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/moast-bth/moast/bin/regression/see_each_other.exp
===================================================================
--- trunk/moast-bth/moast/bin/regression/see_each_other.exp	                        (rev 0)
+++ trunk/moast-bth/moast/bin/regression/see_each_other.exp	2007-09-20 20:40:25 UTC (rev 754)
@@ -0,0 +1,20 @@
+#!/usr/bin/expect -f
+
+set rt_time 12
+set rt_tol 6
+set prompt "PrimMob> \rPrimMob> "
+set timeout -1
+cd ..
+spawn ./primShell
+match_max 100000
+expect $prompt
+send "rotate 90 $rt_tol ccw\r"
+expect $prompt
+send "quit\r"
+expect eof
+spawn ./primShell -d2
+expect $prompt
+send "rotate 270 $rt_tol cw\r"
+expect $prompt
+send "quit\r"
+expect eof


Property changes on: trunk/moast-bth/moast/bin/regression/see_each_other.exp
___________________________________________________________________
Name: svn:executable
   + *


More information about the TeamTalk-developers mailing list