|
From: Jérémie D. <Ba...@us...> - 2010-02-14 17:38:54
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "krobot".
The branch, master has been updated
via 4487bdbbf8267e3f894707a786880dbe9929a00f (commit)
from eba0bca6e5256da9fb4defc48157e10ea1a7f517 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4487bdbbf8267e3f894707a786880dbe9929a00f
Author: Jérémie Dimino <je...@di...>
Date: Sun Feb 14 18:38:22 2010 +0100
Typo in script.ml
-----------------------------------------------------------------------
Changes:
diff --git a/PC_Mainboard/clients/script.ml b/PC_Mainboard/clients/script.ml
index 5c91e14..158bd3d 100644
--- a/PC_Mainboard/clients/script.ml
+++ b/PC_Mainboard/clients/script.ml
@@ -117,9 +117,9 @@ let exec krobot line =
| "backward" ->
move (Krobot.move krobot ~dist:(-(arg_int "dist" 100)) ~speed:(arg_int "speed" 400) ?acc:(arg_int "acc" 800))
| "left" ->
- move (Krobot.turn krobot ~angle:(arg_int "dist" 100) ~speed:(arg_int "speed" 400) ?acc:(arg_int "acc" 800))
+ move (Krobot.turn krobot ~angle:(arg_int "angle" 100) ~speed:(arg_int "speed" 400) ?acc:(arg_int "acc" 800))
| "right" ->
- move (Krobot.turn krobot ~angle:(-(arg_int "dist" 100)) ~speed:(arg_int "speed" 400) ?acc:(arg_int "acc" 800))
+ move (Krobot.turn krobot ~angle:(-(arg_int "angle" 100)) ~speed:(arg_int "speed" 400) ?acc:(arg_int "acc" 800))
| "stop-motors" ->
Krobot.stop_motors krobot
~motor:(motor_of_string (arg_string "motor" "both"))
hooks/post-receive
--
krobot
|