jaspreeth / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

FBW B response to the RC stick is reversed #343

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In FBW B mode a forward stick results in the plane pitching up.
2. This is in real flight and HIL Simulation
3.

What is the expected output? What do you see instead?
Pull back on the stick the plane should pitch up at the programmed degree.

What version of the product are you using? On what operating system?
APM2.11

Please provide any additional information below.

Original issue reported on code.google.com by stafford...@att.net on 12 May 2011 at 11:26

GoogleCodeExporter commented 8 years ago

Cannot duplicate.  Check your dip switches

Original comment by dewei...@gmail.com on 13 May 2011 at 1:40

GoogleCodeExporter commented 8 years ago
In HIL simulation I had to set the three dip switches  (E,A,R) down. With APM1 
they were up.
With them down Stabilize mode works very well for pitch and roll.
See: 
http://diydrones.com/forum/topics/fbwb-anomalies-ver-2012-build?commentId=705844
%3AComment%3A359760.

BTW - Thanks to all the developers.  Great work!

Original comment by stafford...@att.net on 13 May 2011 at 5:57

GoogleCodeExporter commented 8 years ago
hi!

any improvements on this?

Original comment by silvan...@gmail.com on 18 May 2011 at 10:45

GoogleCodeExporter commented 8 years ago
Latest upload of APM 2.0 via latest Planner  v0.4.34 Build 0.4.4156.15620
FBW A roll and pitch response as they should.
FBW B roll response is as it should be but there is NO pitch response (No 
longer reversed)

Original comment by stafford...@att.net on 19 May 2011 at 5:05

GoogleCodeExporter commented 8 years ago
Replace

nav_roll = g.channel_roll.norm_input() * g.roll_limit;

for this one:

nav_roll = g.channel_roll.norm_input() *(-1)* g.roll_limit;

I tried it and it works

Original comment by martinl...@hotmail.com on 26 Jul 2011 at 4:32

GoogleCodeExporter commented 8 years ago
happy birthday for this issue!!!!!!!!!

Original comment by martinl...@hotmail.com on 15 May 2012 at 12:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Stabilize mode and Auto mode function correctly and respond to input correctly. 
 FBW A and FBW B have pitch and Roll input reversed, but the PID control is 
working correctly.  

To get stabilize mode and auto mode functioning, I had to reverse the roll and 
pitch channels and use negative P gain in roll and pitch.

Original comment by an...@dsa-ltd.ca on 24 May 2012 at 5:59

GoogleCodeExporter commented 8 years ago
I flipped the roll and pitch channels in my transmitter, and unchecked the roll 
and pitch reverse in the simulation tab in APM Planner, that now FBW A, 
Stabilize, RTL, and Auto all function 100% correctly.  This seems like a 
software bug with an easy fix to allow me to use reversed channels.

However, the pitch input in FBW B is still reversed (though roll is OK).  This 
also soundss like a software bug with an easy fix.  I'd love to get some input 
on this issue from a dev.

Original comment by an...@dsa-ltd.ca on 26 May 2012 at 5:37

GoogleCodeExporter commented 8 years ago
I should probably mention I'm doing XPlane 9 HIL sims

Original comment by an...@dsa-ltd.ca on 26 May 2012 at 5:46

GoogleCodeExporter commented 8 years ago
I've added a new parameter FBWB_ELEV_REV for the next release (it will be in 
2.60)

Original comment by tridg...@gmail.com on 17 Aug 2012 at 5:05