attitude_pid_controller.c question
Posted: Sun May 20, 2018 8:39 am
Hello, nice to meet you. However, I am going to skip a little greetings because I have a kind of urgent question.
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?
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);
}