mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
AttitudeControl: remove unnecessary scope operator
This commit is contained in:
parent
37d3218d11
commit
43850c24a1
@ -88,7 +88,7 @@ matrix::Vector3f AttitudeControl::update(const Quatf &q) const
|
||||
const Vector3f eq = 2.f * qe.canonical().imag();
|
||||
|
||||
// calculate angular rates setpoint
|
||||
matrix::Vector3f rate_setpoint = eq.emult(_proportional_gain);
|
||||
Vector3f rate_setpoint = eq.emult(_proportional_gain);
|
||||
|
||||
// Feed forward the yaw setpoint rate.
|
||||
// yawspeed_setpoint is the feed forward commanded rotation around the world z-axis,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user