Variables
4_swath_generator Namespace Reference

Variables

 bf_sw_gen = f2c.SG_BruteForce();
 
 cells = field.getField();
 
 const_hl = f2c.HG_Const_gen();
 
 field = rand.generateRandField(1e4, 5);
 
 n_swath = f2c.OBJ_NSwath();
 
 no_hl = const_hl.generateHeadlands(cells, 3.0 * robot.getWidth());
 
 rand = f2c.Random(42);
 
 robot = f2c.Robot(2.0, 6.0);
 
 swath_length = f2c.OBJ_SwathLength();
 
 swaths_bf_angle = bf_sw_gen.generateSwaths(math.pi, robot.getCovWidth(), no_hl.getGeometry(0));
 
 swaths_bf_nswath = bf_sw_gen.generateBestSwaths(n_swath, robot.getCovWidth(), no_hl.getGeometry(0));
 
 swaths_bf_swathlength = bf_sw_gen.generateBestSwaths(swath_length, robot.getCovWidth(), no_hl.getGeometry(0));
 

Variable Documentation

◆ bf_sw_gen

4_swath_generator.bf_sw_gen = f2c.SG_BruteForce();

Definition at line 20 of file 4_swath_generator.py.

◆ cells

4_swath_generator.cells = field.getField();

Definition at line 14 of file 4_swath_generator.py.

◆ const_hl

4_swath_generator.const_hl = f2c.HG_Const_gen();

Definition at line 15 of file 4_swath_generator.py.

◆ field

4_swath_generator.field = rand.generateRandField(1e4, 5);

Definition at line 13 of file 4_swath_generator.py.

◆ n_swath

4_swath_generator.n_swath = f2c.OBJ_NSwath();

Definition at line 19 of file 4_swath_generator.py.

◆ no_hl

4_swath_generator.no_hl = const_hl.generateHeadlands(cells, 3.0 * robot.getWidth());

Definition at line 16 of file 4_swath_generator.py.

◆ rand

4_swath_generator.rand = f2c.Random(42);

Definition at line 11 of file 4_swath_generator.py.

◆ robot

4_swath_generator.robot = f2c.Robot(2.0, 6.0);

Definition at line 12 of file 4_swath_generator.py.

◆ swath_length

4_swath_generator.swath_length = f2c.OBJ_SwathLength();

Definition at line 29 of file 4_swath_generator.py.

◆ swaths_bf_angle

4_swath_generator.swaths_bf_angle = bf_sw_gen.generateSwaths(math.pi, robot.getCovWidth(), no_hl.getGeometry(0));

Definition at line 40 of file 4_swath_generator.py.

◆ swaths_bf_nswath

4_swath_generator.swaths_bf_nswath = bf_sw_gen.generateBestSwaths(n_swath, robot.getCovWidth(), no_hl.getGeometry(0));

Definition at line 21 of file 4_swath_generator.py.

◆ swaths_bf_swathlength

4_swath_generator.swaths_bf_swathlength = bf_sw_gen.generateBestSwaths(swath_length, robot.getCovWidth(), no_hl.getGeometry(0));

Definition at line 31 of file 4_swath_generator.py.



fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31