Skip to content

Commit 9b04f80

Browse files
authored
add notebooks for sim and fix typo in loglinear (#30)
Signed-off-by: Li-Yu Lin <liyu8561501@gmail.com>
1 parent 0ed498b commit 9b04f80

File tree

4 files changed

+1014
-3
lines changed

4 files changed

+1014
-3
lines changed

cyecca/models/rdd2_loglinear.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def derive_outerloop_control():
239239
# F = - m * Kp' ep - m * Kv' * ev + mg zW + m at_w
240240
# Force is normalized by the weight (mg)
241241

242-
# normalized thrust vectorthrust
242+
# normalized thrust vector
243243
p_norm_max = 0.3 * m * g
244244
uv_w = q_wb @ uv
245245
ua_w = q_wb @ ua
@@ -261,7 +261,7 @@ def derive_outerloop_control():
261261
zB = ca.if_else(nT > 1e-3, T / nT, zW)
262262

263263
# point y using desired camera direction
264-
ec = SO3EulerB321.from_Quat(qc_wb)
264+
ec = SO3EulerB321.from_Quat(q_wb)
265265
yt = ec.param[0]
266266
xC = ca.vertcat(ca.cos(yt), ca.sin(yt), 0)
267267
yB = ca.cross(zB, xC)

notebook/sim/bezier_ff.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
],
452452
"metadata": {
453453
"kernelspec": {
454-
"display_name": "cyecca (3.12.3)",
454+
"display_name": "cyecca-py3.12",
455455
"language": "python",
456456
"name": "python3"
457457
},

0 commit comments

Comments
 (0)