I have a question about
attitudeControllerReset **** AttitudePID (void)
in attitude_pid_controller.c.
I understand the pidreset (& pidRoll) when the contents in **** are 'roll' but why is not pidreset (& pidPitch) for 'Pitch'?
What is the intent of the actual quadrotor control to drive the same motion?
Code: Select all
void attitudeControllerResetRollAttitudePID(void)
{
pidReset(&pidRoll);
}
void attitudeControllerResetPitchAttitudePID(void)
{
pidReset(&pidRoll);
}