8000 Corrected motor comment by RaisingAwesome · Pull Request #5 · nickrehm/dRehmFlight · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ void controlMixer() {
*/

//Quad mixing - EXAMPLE
m1_command_scaled = thro_des - pitch_PID + roll_PID + yaw_PID; //Front left
m2_command_scaled = thro_des - pitch_PID - roll_PID - yaw_PID; //Front right
m1_command_scaled = thro_des - pitch_PID + roll_PID + yaw_PID; //Front Left
m2_command_scaled = thro_des - pitch_PID - roll_PID - yaw_PID; //Front Right
m3_command_scaled = thro_des + pitch_PID - roll_PID + yaw_PID; //Back Right
m4_command_scaled = thro_des + pitch_PID + roll_PID - yaw_PID; //Back Right
m4_command_scaled = thro_des + pitch_PID + roll_PID - yaw_PID; //Back Left
m5_command_scaled = 0;
m6_command_scaled = 0;

Expand Down
0