|
From: Jérémie D. <Ba...@us...> - 2010-02-03 22:18:11
|
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 579992aba17245d88ae186930491cd1e9cc752b8 (commit)
from 7c9492bfc78f863b0653b59238963a4f61fa9d20 (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 579992aba17245d88ae186930491cd1e9cc752b8
Author: Jérémie Dimino <je...@di...>
Date: Wed Feb 3 23:17:32 2010 +0100
inverse direction for the left motor
-----------------------------------------------------------------------
Changes:
diff --git a/PC_Mainboard/clients/tools/joy_control.ml b/PC_Mainboard/clients/tools/joy_control.ml
index f6ce1c1..1fb1edb 100644
--- a/PC_Mainboard/clients/tools/joy_control.ml
+++ b/PC_Mainboard/clients/tools/joy_control.ml
@@ -125,7 +125,7 @@ let parent_loop krobot pipe =
return ()
| JoyRAxis n ->
if not !rstop then
- lwt () = Krobot.set_speed krobot ~motor:`Right ~speed:(n * axis_coef) ~acc:acceleration in
+ lwt () = Krobot.set_speed krobot ~motor:`Right ~speed:((-n) * axis_coef) ~acc:acceleration in
loop ()
else
loop ()
hooks/post-receive
--
krobot
|