[TeamTalk 225]: [761] trunk/moast-bth/moast/bin/regression: Added an autonomous mobility version of the long_traversal test, since the vehicle-mode version fails.
tk@edam.speech.cs.cmu.edu
tk at edam.speech.cs.cmu.edu
Fri Sep 21 19:26:51 EDT 2007
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20070921/50d8710d/attachment-0001.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-21 23:23:15 UTC (rev 760)
+++ trunk/moast-bth/moast/bin/regression/four_right_turns.exp 2007-09-21 23:26:51 UTC (rev 761)
@@ -14,22 +14,22 @@
send "spin SHORT 270 $rt_tol\r"
expect $mob_prompt
sleep $rt_time
-send -- "\r"
+send "\r"
expect $mob_prompt
-send -- "spin SHORT 0 $rt_tol\r"
+send "spin SHORT 0 $rt_tol\r"
expect $mob_prompt
sleep $rt_time
-send -- "\r"
+send "\r"
expect $mob_prompt
-send -- "spin SHORT 90 $rt_tol\r"
+send "spin SHORT 90 $rt_tol\r"
expect $mob_prompt
sleep $rt_time
-send -- "\r"
+send "\r"
expect $mob_prompt
-send -- "spin SHORT 180 $rt_tol\r"
+send "spin SHORT 180 $rt_tol\r"
expect $mob_prompt
sleep $rt_time
-send -- "\r"
+send "\r"
expect $mob_prompt
-send -- "quit\r"
+send "quit\r"
expect eof
Copied: trunk/moast-bth/moast/bin/regression/long_traversal_am.exp (from rev 754, trunk/moast-bth/moast/bin/regression/long_traversal.exp)
===================================================================
--- trunk/moast-bth/moast/bin/regression/long_traversal_am.exp (rev 0)
+++ trunk/moast-bth/moast/bin/regression/long_traversal_am.exp 2007-09-21 23:26:51 UTC (rev 761)
@@ -0,0 +1,18 @@
+#!/usr/bin/expect -f
+
+set rt_time 12
+set rt_tol 6
+set adm_prompt "> \rAdm> "
+set mob_prompt "> \rMob> "
+set timeout -1
+cd ..
+spawn ./amShell
+match_max 100000
+expect $adm_prompt
+send "mob\r"
+expect $mob_prompt
+send "dump 1\r"
+expect $mob_prompt
+send "move 40.0 6.5 0.8\r"
+expect $mob_prompt
+interact
More information about the TeamTalk-developers
mailing list