From: Xavier L. <Ba...@us...> - 2011-04-10 20:17:15
|
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 318972860cd4780ebc131f01cd87017239268874 (commit) from 5a886f436c126dc5f45bcb7f6c51daac842b0247 (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 318972860cd4780ebc131f01cd87017239268874 Author: Xavier Lagorce <Xav...@cr...> Date: Sun Apr 10 22:14:52 2011 +0200 [info] Rotational speed expression correction in krobot_hil_simulator ----------------------------------------------------------------------- Changes: diff --git a/info/control2011/src/tools/krobot_hil_simulator.ml b/info/control2011/src/tools/krobot_hil_simulator.ml index 33b9e2e..57e9105 100644 --- a/info/control2011/src/tools/krobot_hil_simulator.ml +++ b/info/control2011/src/tools/krobot_hil_simulator.ml @@ -135,7 +135,7 @@ lwt () = lwt () = print sim in let u1 = (sim.velocity_l +. sim.velocity_r) *. wheels_diameter /. 4. - and u2 = (sim.velocity_l -. sim.velocity_r) *. wheels_diameter /. wheels_distance in + and u2 = (sim.velocity_l -. sim.velocity_r) *. wheels_diameter /. wheels_distance /. 2. in let dx = u1 *. (cos sim.state.theta) and dy = u1 *. (sin sim.state.theta) and dtheta = u2 in hooks/post-receive -- krobot |