Merge pull request #14 from tstellanova/multirotor_test

Need to set timestamp on rates_sp after updating
This commit is contained in:
Lorenz Meier
2013-08-23 13:55:12 -07:00
@@ -247,6 +247,8 @@ void multirotor_control_attitude(const struct vehicle_attitude_setpoint_s *att_s
}
rates_sp->thrust = att_sp->thrust;
//need to update the timestamp now that we've touched rates_sp
rates_sp->timestamp = hrt_absolute_time();
motor_skip_counter++;
}