paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Adjusting Rudder of Aileron


From: Matthew Fitz
Subject: Re: [Paparazzi-devel] Adjusting Rudder of Aileron
Date: Sat, 26 Apr 2014 13:37:54 -0700

Yeah, I think that might be a possible solution. But I just talked to our pilot and he actually likes the fact that the rudder moves with the ailerons. So I'll keep it the way it is. Thanks again for the help!

Matthew

On Apr 26, 2014 11:43 AM, "Chris" <address@hidden> wrote:
This is standard behavior it is normal.
The laws apply everywhere so when aileron is commanded in any mode the rudder also moves.
If you don't want it to move in manual mode then make a mixer with the opposite sign
IN THE RC TX RADIO (not the autopilot) which will be active only in manual mode and subtract the value added by the mixer in the airframe file.
It might exist another way of doing this but i don't know it so if anyone knows how to make the mix active only in auto2 mode let us both know.
Chris


On 04/26/2014 05:44 PM, paparazzi_guy wrote:
Thank you very much Chris, that worked very well! But the yaw moves with the
ailerons in both auto and manual control, even though I only changed the
command_ laws section and did not touch the rc_commands section. So when I'm
rolling in manual it's automatically giving me some yaw as well. Do you have
any idea why it's doing that?

This is the section of my code.

   <rc_commands>
     <set command="THROTTLE" value="@THROTTLE"/>
     <set command="ROLL" value="@ROLL"/>
     <set command="PITCH" value="@PITCH"/>
     <set command="YAW" value="@YAW"/>
   </rc_commands>

   <command_laws>
     <set servo="AILEVON_LEFT" value="@ROLL"/>
     <set servo="AILEVON_RIGHT" value="address@hidden"/>
     <set servo="THROTTLE" value="@THROTTLE"/>
     <set servo="ELEVATOR" value="@PITCH"/>
     <set servo="RUDDER" value="-(@YAW + @ROLL*RUDDER_OF_AILERON)"/>
   </command_laws>

Where RUDDER_OF_AILERON is defined to be a value between 0 and 1.

Matthew



--
View this message in context: http://lists.paparazziuav.org/Adjusting-Rudder-of-Aileron-tp15200p15202.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]