]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
fix mcl width and height type to double (in meters).
authorTran Duy Khanh <trandk1@fel.cvut.cz>
Sat, 19 Apr 2008 09:14:22 +0000 (11:14 +0200)
committerTran Duy Khanh <trandk1@fel.cvut.cz>
Sat, 19 Apr 2008 09:14:22 +0000 (11:14 +0200)
src/mcl/mcl.h

index 977ffcd54ac2a66418829e57be701a8b8edd79ad..6313e244eaf750d981f9f62c561bc720cb5b63ae 100644 (file)
@@ -66,9 +66,9 @@ struct mcl_model {
        double w_max;           /* maximum probability used for resampling */
        double eval_sigma;      /* sigma used for evaluating */
        double aeval_sigma;     /* sigma used for angles evaluating */
-       /* size of the playground */
-       int width;
-       int height;
+       /* size of the playground (in meters) */
+       double width;
+       double height;
        /* counters stuff */
        int cycle;              /* counter of updated cycles */
        int noisecycle;         /* counter of noise cycles */