From: Jérémie D. <Ba...@us...> - 2010-03-08 23:41: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 40d7e9b7b1788708da82a356bd671dd6dbccf68f (commit) from 973aff6d5670f48ceba7442182bcfbdd46e1cf33 (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 40d7e9b7b1788708da82a356bd671dd6dbccf68f Author: Jérémie Dimino <je...@di...> Date: Tue Mar 9 00:40:40 2010 +0100 add a command to write motor configurations ----------------------------------------------------------------------- Changes: diff --git a/PC_Mainboard/interface/interface.ml b/PC_Mainboard/interface/interface.ml index 9274bec..4fa41ad 100644 --- a/PC_Mainboard/interface/interface.ml +++ b/PC_Mainboard/interface/interface.ml @@ -562,6 +562,16 @@ let interfaces = [ ~repl:[Arg("right", typ "motor-config"); Arg("left", typ "motor-config")] (); + command + ~name:"write-config" + ~code:PcInterface.cmd_traj + ~args:[Cst(uint8, PcInterface.traj_config); + Arg("motor", typ "motor"); + Arg("kp", uint16); + Arg("ki", uint16); + Arg("kd", uint16); + Arg("li", uint16)] + (); ]); Module("servo", [ hooks/post-receive -- krobot |