[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Strange motor mix values resulting from Quatos

Strange motor mix values resulting from Quatos

The new control algorithm for AutoQuad flight controllers.

Strange motor mix values resulting from Quatos

Postby DUKE40 » Sun Feb 08, 2015 7:00 pm

Hi,

I have measured ma Air Fram geometry and entered it into the quatos tool for calculation of the parameters.
The resulting values were imported into QGC and transmitted to my nanoHexa, but this is resulting in strange motor mix values, the sum of all values for toll are not equal to 0 and a warning is displayed.

How can this happen?
Attached my XML file
M4_NanoHexa.xml
(1.74 KiB) Downloaded 808 times
and the resulting parameters.
M4-NanoHexa-Parameters.txt
(5.47 KiB) Downloaded 757 times


Any help would be appreciated. Currently I am a little bit reluctant doing the maiden with these parameters.
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Re: Strange motor mix values resulting from Quatos

Postby Max » Sun Feb 08, 2015 8:21 pm

Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Strange motor mix values resulting from Quatos

Postby DUKE40 » Sun Feb 08, 2015 10:02 pm

Why do they not look right?
A is Port M2
B is Port M5
C is Port M6
D is Port M7
E is Port M8
F is Port M4

So it should be OK, or do the number 2, 4, 5, 6, 7 and 8 have different meaning in the config file than M2, M4, M5, M6, M7 and M8?
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Re: Strange motor mix values resulting from Quatos

Postby Max » Sun Feb 08, 2015 10:10 pm

The rotations (+/- 1). You have 2 CW and 2 CCW next to each other.

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Strange motor mix values resulting from Quatos

Postby DUKE40 » Sun Feb 08, 2015 10:24 pm

Hi Max,

could you please elaborate?
Do you mean the file should look like:
<port rotation="+1">2</port>
<port rotation="-1">5</port>
<port rotation="+1">6</port>
<port rotation="-1">7</port>
<port rotation="+1">8</port>
<port rotation="-1">4</port>

If this is the case, this should not be a problem changing it, and having the parameters calculated again.
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Re: Strange motor mix values resulting from Quatos

Postby Max » Sun Feb 08, 2015 11:01 pm

The order of the ports in the XML matters and should match your physical configuration. First one should be front or front-left motor (depending on if "+" or "X" layout), then continue in a CW direction to the other motors. So yes, based on what you've said so far, the new version looks more correct.

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Strange motor mix values resulting from Quatos

Postby DUKE40 » Mon Feb 09, 2015 6:18 am

Did use the new order of the ports for calculation, but the result is exactly the same.
So there must be something else which influences the calculation of the Motor Mix as well.
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Re: Strange motor mix values resulting from Quatos

Postby Kisssys » Mon Feb 09, 2015 3:21 pm

For a pre-defined configuration you do not need the motors parameter in the first line.

Try this.
<craft id="NanoHexa" config="hex_x">
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: Strange motor mix values resulting from Quatos

Postby DUKE40 » Mon Feb 09, 2015 3:51 pm

OK, I will try it this evening and let you know if it solved the issue.
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Re: Strange motor mix values resulting from Quatos

Postby DUKE40 » Mon Feb 09, 2015 6:03 pm

Just changed my XML configuration file, got the parameters calculated, but again Motor Mix looks odd:
summ for Roll, mmRoll and Yaw is not equal to 0 and a red cross is displayed in front of the sum and warning when transferring the data to the M4 is shown.
Attached the new XML file I used:
M4_NanoHexa.xml
(1.26 KiB) Downloaded 780 times

I have no idea where I should look now, and what might be causing this, whihc is really meking me uncomfortable for the maiden flight.
Best regards,
Image
DUKE40
 
Posts: 364
Joined: Tue Mar 26, 2013 9:49 pm

Next

Return to Quatos Adaptive Control

Who is online

Users browsing this forum: No registered users and 4 guests

cron