-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board Alignment not corresponding to proper control surface movement in Angle and Acro modes #2050
Comments
The accelerometer calibration is only calibrating the accelerometer, not the aircraft. It's recommended to do that before installing the board in any aircraft. It is not affected by how the FC is later installed in various aircraft. The issue you're experiencing is very likely one two things. Either channel mapping, or a mixer issue. The sign is likely backwards on two of the mixer lines. To confirm, first go the Receiver tab and move one stick at a time, a long one axis at time, and ensure yaw goes up when you move the yaw stick stick right, roll goes up when you move the roll stick right, and pitch goes up when you move the pitch stick forward. Next, the mixer. Mostly likely, two of the mixer lines have the wrong sign (positive vs negative). To start, ignore the right elevon and look only at the left one. Move the pitch only. Does the left elevon move down slightly when you push the pitch forward? If not, reverse the sign on the pitch line for the left elevon. Now roll on the left elevon only - does it rise when you command left roll? If not, reverse the sign. Repeat for the right elevon, without making any changes to the lines for the left elevon, since you already made those correct. If that all checks out and it still looks like they aren't moving correctly for stabilization, we'll go back to the setup page. The 3D model might look like it's moving correctly - but be upside-down or backwards. With the model pointed away from you, into the screen, the wing marked in red should be on the LEFT side. The green wing is the right wing. You are also welcome to join the INAV Discord if you'd like to walk through these steps with someone. |
Thank you for your response. In manual mode, everything is correct. The pitch and roll movements of the sticks do exactly what they are supposed to do. The mixer is setup correctly in this mode. The movement of the FC shows up in telemetry as it should. Its the Angle mode behavior that is not working correctly. It is behaving as if the FC is in a forward facing orientation. So a pitch forward of the plane results in a roll behavior from on the elevons. Joined Discord to further discuss there as well. |
@jbrandwi If its related to PR 2025. The easiest way to prove it. Is to turn off the magnetometer.. This will prove if the IMU and Mag are slightly clashing. |
Currently there are known problem with alignment tool in 7.1:
So I would suggest to:
If plane is moving properly in the Setup tab, but control surfaces are moving incorrectly, then there is problem with mixer and RC channels mapping/AETR/inversion.
|
Closing due to misconfiguration. |
This may be related to 2025, but not sure.
Using Speedybee F405 WING running Inav 7.1.0 - Airplane platform type, Flying wing mixer preset
INAV_7.1.0_cli_20240427_104402.txt
My board is mounted in an orientation that is 90 degrees positive YAW rotation from facing forward. This was setup in the Alignment tool. The Setup page and telemetry all react properly as the plane is moved about various axis, showing proper position with pitch, roll, and yaw. When in Angle or Acro modes (the only two I have currently setup besides manual) the rotation of the plane does not apply the proper control surface movement to correct the position to level flight. It appears to be oriented to the position of the flight controller if it was mounted facing forward in the default configuration.
Is there something I am missing in setting this up? I assume that shifting the orientation of the board would also affect the stabilization controls and properly adjust the ailerons to compensate.
One additional thought - If you do change the alignment of the flight controller, should you then run a calibration of the accelerometer in the new configuration? If that is expected, I did NOT do that yet. Now that I think of it, it makes sense to do that (perhaps??) Again - the orientation in iNav and telemetry is correct without this. I calibrated with the normal orientation of the flight controller. It is the other flight modes that don't appear to move the control surfaces correctly. Based on the note in Accelerometer Calibration -
It appears doing the calibration of the accelerometer should be done in the "normal" orientations to the flight controller.
Thank you.
The text was updated successfully, but these errors were encountered: