changing the angle of PITCH

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
umma13
Posts: 17
Joined: Thu Dec 12, 2013 1:06 am

changing the angle of PITCH

Post by umma13 »

excuse me
I 'm making a quadcopter for my final project , I want to change the angle of the PITCH from 45 degrees to 5 degrees . on which part should I change ? whether the multiwii or on my TX ?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: changing the angle of PITCH

Post by PatrikE »

Hi,
Do you mean the Max allowed angle for PITCH/ROLL in Angle Mode?
It's set static to 50 degrees in Multiwii.cpp and limits both Axis.

if (f.ANGLE_MODE || f.HORIZON_MODE) { // axis relying on ACC
// 50 degrees max inclination
errorAngle = constrain(rc + GPS_angle[axis],-500,+500) - att.angle[axis] + conf.angleTrim[axis]; //16 bits is ok here

umma13
Posts: 17
Joined: Thu Dec 12, 2013 1:06 am

Re: changing the angle of PITCH

Post by umma13 »

if there is the influence of changing the tilt angle? to number 500 above it mean anything?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: changing the angle of PITCH

Post by PatrikE »

umma13 wrote:if there is the influence of changing the tilt angle? to number 500 above it mean anything?

500 is 50 degrees.

Change it to 50 and it should limit the Tilt angle to 5 degrees.

umma13
Posts: 17
Joined: Thu Dec 12, 2013 1:06 am

Re: changing the angle of PITCH

Post by umma13 »

Thank you for the information, I will try It

Post Reply