#SUBDIRS = test
-#default_CONFIG = CONFIG_OPEN_LOOP=n
+default_CONFIG = CONFIG_OPEN_LOOP=n
LOCAL_CONFIG_H = robot_config.h
#bin_PROGRAMS += robomain
robot.mcl.maxnoisecycle = 10;
/* amount of particles */
- robot.mcl.count = 2000;
+ robot.mcl.count = 1000;
robot.mcl.parts = (struct mcl_particle *)
malloc(sizeof(struct mcl_particle)*robot.mcl.count);
robot.orte.drives.brush_right = RIGHT_BRUSH_DRIVE_OFF;
robot.orte.drives.bagr = BAGR_DRIVE_OFF;
- /* localizaton initialization */
- robot_loc_init();
+ /* init localization if needed */
+ if (robot.use_loc == 1)
+ robot_loc_init();
/* init ORTE domain, create publishers, subscribers, .. */
robot_init_orte();