Skip to content

Commit

Permalink
Filght test succeed! Both accro and angle mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
liourej committed Jun 3, 2017
1 parent 8b7a3e3 commit 0cdc6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeDroneDIY.ino
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void setup() {
pitchSpeedPID.SetGains(accroSpeedPIDParams);
}

yawSpeedPIDParams[1] = map(analogRead(2), 0, 1023, 0, 300);
yawSpeedPIDParams[1] = map(analogRead(2), 0, 1023, 0, 300); // Flight test succeed with yaw kp=300
yawSpeedPID.SetGains(yawSpeedPIDParams);

time.Init();
Expand Down

0 comments on commit 0cdc6bb

Please sign in to comment.