Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
adapt.py
Go to the documentation of this file.
1from skopt.space import Real
2
3# Define the parameter space as a list of `Real` objects, specifying the range for each parameter.
4param_space = [
5 Real(0, 20, name="angle_weight"),
6 Real(0, 20, name="distance_weight"),
7 Real(0, 20, name="ncones_weight"),
8 Real(0, 10, name="distance_exponent"),
9 Real(0, 10, name="angle_exponent"),
10 Real(0, 80, name="max_cost"),
11]
12
13params1 = [
14 8.089748165412072,
15 4.481112717588674,
16 6.538940942092987,
17 0.7929921809618147,
18 2.9846881916431918,
19 64.55265403601587,
20]
21
22params2 = [
23 0.0,
24 14.16236432745398,
25 5.33282693020819,
26 0.8069423579816568,
27 4.31592836948307,
28 80.0,
29]
30params3 = [
31 7.999146341232352,
32 10.867903810813948,
33 7.59670853621077,
34 0.7951361065701903,
35 5.001991175710679,
36 80.0,
37]
38params4 = [
39 2.5036366399844723,
40 9.230972680602905,
41 6.93447117874158,
42 0.7985945531629085,
43 3.7688073553028274,
44 80.0,
45]
46params5 = [
47 3.033271334001328,
48 8.561458806002841,
49 6.713705336752474,
50 0.7968794824887211,
51 3.531145094725373,
52 80.0,
53]
54params6 = [11, 8, 8.7, 0.698, 5.3, 40]
55params7 = [
56 1.913196876350798,
57 16.26522041019923,
58 8.818786857572633,
59 0.697207576173325,
60 6.196503788316914,
61 74.6033253491355,
62]
63# Some specific parameters you may want to test
64parameters_list = [params1, params2, params3, params4, params5, params6, params7]