diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-09-28 13:43:42 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-09-28 13:43:42 +0400 |
commit | 2d81c2cf466596b7c4f787a52836fd200af2a097 (patch) | |
tree | 3d2aa0faf6ba8100e54c6ee01781ae0431e18781 /src/modules/mc_pos_control | |
parent | fac28555792a98d3e0ed2db76987aecdbe556622 (diff) | |
download | px4-firmware-2d81c2cf466596b7c4f787a52836fd200af2a097.tar.gz px4-firmware-2d81c2cf466596b7c4f787a52836fd200af2a097.tar.bz2 px4-firmware-2d81c2cf466596b7c4f787a52836fd200af2a097.zip |
mc_pos_control: commented code block removed
Diffstat (limited to 'src/modules/mc_pos_control')
-rw-r--r-- | src/modules/mc_pos_control/mc_pos_control_main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/mc_pos_control/mc_pos_control_main.cpp b/src/modules/mc_pos_control/mc_pos_control_main.cpp index ce26f7dc2..99deb0d29 100644 --- a/src/modules/mc_pos_control/mc_pos_control_main.cpp +++ b/src/modules/mc_pos_control/mc_pos_control_main.cpp @@ -1022,16 +1022,6 @@ MulticopterPositionControl::task_main() _vel_sp(2) = _params.land_speed; } - -// if (!_control_mode.flag_control_manual_enabled) { -// /* limit 3D speed only in non-manual modes */ -// float vel_sp_norm = _vel_sp.edivide(_params.vel_max).length(); -// -// if (vel_sp_norm > 1.0f) { -// _vel_sp /= vel_sp_norm; -// } -// } - _global_vel_sp.vx = _vel_sp(0); _global_vel_sp.vy = _vel_sp(1); _global_vel_sp.vz = _vel_sp(2); |