Variables
8_complete_flow Namespace Reference

Variables

 bf = f2c.SG_BruteForce()
 
 const_hl = f2c.HG_Const_gen()
 
string DATA_PATH = os.path.dirname(os.path.realpath(__file__))+"/" + 2 * "../"+"data/";
 
 dubins = f2c.PP_DubinsCurves()
 
 field = f2c.Parser().importFieldGml(DATA_PATH + "test1.xml");
 
 L = f2c.LineString(f2c.VectorPoint(ps))
 
 no_hl = const_hl.generateHeadlands(field.getField(), 3.0 * robot.getWidth())
 
 orig_field = field.clone();
 
 path = path_planner.planPath(robot, swaths, dubins);
 
 path_gps = f2c.Transform.transformToPrevCRS(path, field);
 
 path_planner = f2c.PP_PathPlanning()
 
list ps = [path_gps.getState(i).point for i in range(path_gps.size())]
 
 robot = f2c.Robot(2.0, 6.0);
 
 snake_sorter = f2c.RP_Snake()
 
 swaths = bf.generateSwaths(math.pi, robot.getCovWidth(), no_hl.getGeometry(0))
 

Variable Documentation

◆ bf

8_complete_flow.bf = f2c.SG_BruteForce()

Definition at line 21 of file 8_complete_flow.py.

◆ const_hl

8_complete_flow.const_hl = f2c.HG_Const_gen()

Definition at line 19 of file 8_complete_flow.py.

◆ DATA_PATH

string 8_complete_flow.DATA_PATH = os.path.dirname(os.path.realpath(__file__))+"/" + 2 * "../"+"data/";

Definition at line 10 of file 8_complete_flow.py.

◆ dubins

8_complete_flow.dubins = f2c.PP_DubinsCurves()

Definition at line 28 of file 8_complete_flow.py.

◆ field

8_complete_flow.field = f2c.Parser().importFieldGml(DATA_PATH + "test1.xml");

Definition at line 13 of file 8_complete_flow.py.

◆ L

8_complete_flow.L = f2c.LineString(f2c.VectorPoint(ps))

Definition at line 44 of file 8_complete_flow.py.

◆ no_hl

8_complete_flow.no_hl = const_hl.generateHeadlands(field.getField(), 3.0 * robot.getWidth())

Definition at line 20 of file 8_complete_flow.py.

◆ orig_field

8_complete_flow.orig_field = field.clone();

Definition at line 14 of file 8_complete_flow.py.

◆ path

8_complete_flow.path = path_planner.planPath(robot, swaths, dubins);

Definition at line 29 of file 8_complete_flow.py.

◆ path_gps

8_complete_flow.path_gps = f2c.Transform.transformToPrevCRS(path, field);

Definition at line 40 of file 8_complete_flow.py.

◆ path_planner

8_complete_flow.path_planner = f2c.PP_PathPlanning()

Definition at line 27 of file 8_complete_flow.py.

◆ ps

list 8_complete_flow.ps = [path_gps.getState(i).point for i in range(path_gps.size())]

Definition at line 43 of file 8_complete_flow.py.

◆ robot

8_complete_flow.robot = f2c.Robot(2.0, 6.0);

Definition at line 18 of file 8_complete_flow.py.

◆ snake_sorter

8_complete_flow.snake_sorter = f2c.RP_Snake()

Definition at line 23 of file 8_complete_flow.py.

◆ swaths

8_complete_flow.swaths = bf.generateSwaths(math.pi, robot.getCovWidth(), no_hl.getGeometry(0))

Definition at line 22 of file 8_complete_flow.py.



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