| 
     
      
      
      From: Jérémie D. <Ba...@us...> - 2010-02-20 23:07:51
      
     
   | 
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  88a46a02c10984a60294ece535b3fcbad4e2fe89 (commit)
      from  77d57ce86871b5b3a5a8f9557efd383a9ebc9def (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 88a46a02c10984a60294ece535b3fcbad4e2fe89
Author: Olivier BICHLER <oli...@en...>
Date:   Sun Feb 21 00:06:51 2010 +0100
    [commands] fix left/right
-----------------------------------------------------------------------
Changes:
diff --git a/PC_Mainboard/driver/commands.ml b/PC_Mainboard/driver/commands.ml
index e29aaf6..71db61c 100644
--- a/PC_Mainboard/driver/commands.ml
+++ b/PC_Mainboard/driver/commands.ml
@@ -233,9 +233,9 @@ struct
 
   let turn card ~angle ~speed ~acc =
     if angle < 0 then
-      backend Protocol.traj_tl card (-angle) speed acc
+      backend Protocol.traj_tr card (-angle) speed acc
     else
-      backend Protocol.traj_tr card angle speed acc
+      backend Protocol.traj_tl card angle speed acc
 
   let goto card ~x ~y ~speed ~acc ~mode ~bypass_dist =
     let data = Card.make_buffer () in
hooks/post-receive
-- 
krobot
 |