Skip to content

Commit 3eef2b2

Browse files
committed
Update pwm_min
1 parent 95adf9e commit 3eef2b2

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

drone_models/data/params.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ gravity_vec = [0.0, 0.0, -9.81]
55
mass = 0.033
66
L = 0.03253
77
J = [
8-
[1.68e-5, 0.0, 0.0],
9-
[0.0, 1.68e-5, 0.0],
10-
[0.0, 0.0, 2.98e-5]
8+
[16.8e-6, 0.0, 0.0],
9+
[0.0, 16.8e-6, 0.0],
10+
[0.0, 0.0, 29.8e-6]
1111
]
1212
rpm2thrust = [0.0, 0.0, 3.16e-10] # TODO, Index is order
1313
rpm2torque = [0.0, 0.0, 7.94e-12] # TODO, Index is order
@@ -21,7 +21,7 @@ mixing_matrix = [
2121
]
2222
# The following parameters are for the platform, but are maybe not actually used by the models. However,
2323
# we still keep them here in one place, since some other things (sim, estimator, firmware) might need them.
24-
pwm_min = 20000
24+
pwm_min = 7000
2525
pwm_max = 65535
2626
thrust_min = 0.02 # in N per motor
2727
thrust_max = 0.1125 # in N per motor
@@ -39,10 +39,10 @@ gravity_vec = [0.0, 0.0, -9.81]
3939
mass = 0.03454
4040
L = 0.03253
4141
# J from IROS 2022
42-
J = [
43-
[1.4e-5, 0.0, 0.0],
44-
[0.0, 1.4e-5, 0.0],
45-
[0.0, 0.0, 2.17e-5]
42+
J = [ # TODO
43+
[14e-6, 0.0, 0.0],
44+
[0.0, 14e-6, 0.0],
45+
[0.0, 0.0, 21.7e-6]
4646
]
4747
rpm2thrust = [0.0, 0.0, 5.792654323957372e-10] # TODO, Index is order
4848
rpm2torque = [0.0, 0.0, 7.94e-12] # TODO, Index is order
@@ -54,7 +54,7 @@ mixing_matrix = [
5454
]
5555
# The following parameters are for the platform, but are maybe not actually used by the models. However,
5656
# we still keep them here in one place, since some other things (sim, estimator, firmware) might need them.
57-
pwm_min = 20000
57+
pwm_min = 7000
5858
pwm_max = 65535
5959
thrust_min = 0.02 # in N per motor
6060
thrust_max = 0.1125 # in N per motor
@@ -72,9 +72,9 @@ gravity_vec = [0.0, 0.0, -9.81]
7272
mass = 0.03454 # TODO
7373
L = 0.03253
7474
J = [ # TODO
75-
[1.4e-5, 0.0, 0.0],
76-
[0.0, 1.4e-5, 0.0],
77-
[0.0, 0.0, 2.17e-5]
75+
[14e-6, 0.0, 0.0 ],
76+
[0.0, 14e-6, 0.0 ],
77+
[0.0, 0.0, 21.7e-6]
7878
]
7979
rpm2thrust = [0.0, 0.0, 1.068340683985525e-09] # TODO, Index is order
8080
rpm2torque = [0.0, 0.0, 7.94e-12] # TODO, Index is order
@@ -86,7 +86,7 @@ mixing_matrix = [
8686
]
8787
# The following parameters are for the platform, but are maybe not actually used by the models. However,
8888
# we still keep them here in one place, since some other things (sim, estimator, firmware) might need them.
89-
pwm_min = 20000
89+
pwm_min = 7000
9090
pwm_max = 65535
9191
thrust_min = 0.03 # in N per motor
9292
thrust_max = 0.1625 # in N per motor
@@ -104,9 +104,9 @@ gravity_vec = [0.0, 0.0, -9.81]
104104
mass = 0.04338
105105
L = 0.035355
106106
J = [
107-
[2.5e-5, 0.0, 0.0],
108-
[0.0, 2.8e-5, 0.0],
109-
[0.0, 0.0, 4.9e-5]
107+
[25e-6, 0.0, 0.0],
108+
[0.0, 28e-6, 0.0],
109+
[0.0, 0.0, 49e-6]
110110
]
111111
rpm2thrust = [0.0, 2.6713375766104237e-06, 2.9910560258944037e-10] # TODO , Index is order
112112
rpm2torque = [0.0, 2.435151264350409e-09, 2.424629050055297e-12] # TODO , Index is order
@@ -119,7 +119,7 @@ mixing_matrix = [
119119
]
120120
# The following parameters are for the platform, but are maybe not actually used by the models. However,
121121
# we still keep them here in one place, since some other things (sim, estimator, firmware) might need them.
122-
pwm_min = 20000
122+
pwm_min = 7000
123123
pwm_max = 65535
124124
thrust_min = 0.03 # in N per motor
125125
thrust_max = 0.18 # in N per motor

0 commit comments

Comments
 (0)