mc_pos_control: unused variables removed

This commit is contained in:
Anton Babushkin 2014-02-18 23:42:02 +04:00
parent 3508a42f6a
commit 84d9e3479f
1 changed files with 0 additions and 1 deletions

View File

@ -730,7 +730,6 @@ MulticopterPositionControl::task_main()
} else {
/* run position & altitude controllers, calculate velocity setpoint */
math::Vector<3> pos_err;
float err_x, err_y;
get_vector_to_next_waypoint_fast(_global_pos.lat, _global_pos.lon, _lat_sp, _lon_sp, &pos_err.data[0], &pos_err.data[1]);
pos_err(2) = -(_alt_sp - alt);