|
From: Jérémie D. <Ba...@us...> - 2010-02-23 17:36:24
|
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 f3530f39db8f3f91c4e699cdb2b62dc4deecbd23 (commit)
from b8f7544dccaa2e3b7fae129e3aab7753be831561 (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 f3530f39db8f3f91c4e699cdb2b62dc4deecbd23
Author: Jérémie Dimino <je...@di...>
Date: Tue Feb 23 18:35:49 2010 +0100
[joy_control] cancel the previous thread when changing speed
-----------------------------------------------------------------------
Changes:
diff --git a/PC_Mainboard/clients/joy_control.ml b/PC_Mainboard/clients/joy_control.ml
index ac6b39a..f0dcd05 100644
--- a/PC_Mainboard/clients/joy_control.ml
+++ b/PC_Mainboard/clients/joy_control.ml
@@ -159,6 +159,7 @@ let parent_loop krobot pipe =
and laxis_h = ref 0
and laxis_v = ref 0 in
let set_velocities () =
+ cancel !thread;
if not !stop then
thread :=
set_velocities krobot
hooks/post-receive
--
krobot
|