Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.
中文简介正在准备中。当前显示原文说明。
Use this skill when implementing the inner control loop for a quadrotor — attitude (roll/pitch/yaw) PID control and attitude planning (converting desired acceleration to desired Euler angles). Covers gain layout, integral reset pattern, and the attitude planner inverse kinematics.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Two cooperating modules form the inner loop:
Given desired acceleration [ax, ay] and current yaw ψ, compute desired roll/pitch via inverse kinematics:
φ_des is proportional to (ax·sin(ψ) − ay·cos(ψ)) / gθ_des is proportional to (ax·cos(ψ) + ay·sin(ψ)) / gReturn rot = [φ_des, θ_des, ψ] and omega = [0, 0, desired_yaw_rate].
PID control on Euler angle errors, scaled by the inertia matrix:
e = desired_rot − current_rot (element-wise, 3D vector).integral_e += e * dt.M = I @ (kp * e + ki * integral_e + kd * (desired_omega − current_omega)).Use make_attitude_integral() to create a fresh {"e": zeros(3)} dict before the simulation loop. Never use a mutable default argument for this state.
No tuning range is provided — choose PID gains freely to best satisfy the success criteria. Start with small values (e.g. kp_att = [100, 100, 50], ki_att = [0.0, 0.0, 0.0], kd_att = [0.0, 0.0, 0.0]) and increase gradually.
integral explicitly and create it with make_attitude_integral() before the loop.dt = 1.0 / params['sample_rate'] — never hardcode 0.005.[phi, theta, psi]; multiply element-wise, not matrix multiply, before the inertia @.| Symptom | Fix |
|---|---|
| Slow roll/pitch correction | Increase kp_att[0] or kp_att[1] |
| Roll/pitch oscillates | Increase kd_att[0] or kd_att[1] |
| Yaw drifts slowly | Increase ki_att[2] |
| x/y oscillation during hover | Decrease ki_att |
att_integral = make_attitude_integral() # once before the loop
for iter_ in range(max_iter - 1):
...
desired_state.rot, desired_state.omega = attitude_planner(desired_state, params)
M = attitude_controller(current_state, desired_state, params, att_integral)
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.
中文简介正在准备中。当前显示原文说明。
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching `acopf-math-model.md` and MATPOWER branch fields. Use when computing branch flows in either direction, aggregating bus injections for nodal balance, checking MVA (rateA) limits, computing branch loading %, or debugging sign/units issues in AC power flow.
中文简介正在准备中。当前显示原文说明。
Redact text from PDF documents for blind review anonymization
中文简介正在准备中。当前显示原文说明。
Use when checking simplified ADA-derived plan-view bathroom accessibility constraints such as turning space, door clear width, toilet centerline, grab bars, and lavatory knee/toe clearance.
中文简介正在准备中。当前显示原文说明。
Analyze failed GitHub Action jobs for a pull request.
中文简介正在准备中。当前显示原文说明。
Use when extracting plan-view architectural geometry from DXF files with semantic CAD layers, especially when outputs must normalize rooms, doors, fixtures, clearances, and grab bars into machine-checkable JSON.
中文简介正在准备中。当前显示原文说明。