[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/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/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/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/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 - M4 Flip and rotate & motor wiring...

M4 Flip and rotate & motor wiring...

Info and discussion about the autonomous Micro FC, suitable for nanos, micros and mini multirotors

M4 Flip and rotate & motor wiring...

Postby Jdmagoo » Mon Jan 05, 2015 2:53 pm

So i have just finished building my lady bird but all it wants to do is flip backwards. I have checked everything however i wonder if i have wired the motors wrong.

I have built the v2 ladybird with the M4 mounted upside down, i have used the v2 configuration file as loaded in the docs. This has the M4 fliped on the roll axis with an IMU rotation of -135 degrees which all makes sense. Now because the front left motor is actually m4 and the front right is m3 do i actually wire motor number 4 to the M4 terminal or does this now get wired to the M1 terminal (because it is where the old M1 was)?

I hope this makes sense

Cheers

james
Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: M4 Flip and rotate & motor wiring...

Postby LPR » Mon Jan 05, 2015 3:52 pm

James

Yes you have the motor order wrong. You can hold the quad in your hand and as you tilt it with the motors running you can tell which motors are not in the correct order because with a little tilt the motors jump to full throttle.

Larry
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: M4 Flip and rotate & motor wiring...

Postby Jdmagoo » Mon Jan 05, 2015 4:28 pm

Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: M4 Flip and rotate & motor wiring...

Postby kinderkram » Mon Jan 05, 2015 4:30 pm

First you need to set it up correctly, motors don´t change as this is taken into account by the flip & rotate function.
In your case it should be IMU_FLIP = 1 (rotate around the roll axis) and orientation should be -45
http://autoquad.org/wiki/wiki/configuri ... n-and-flip
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: M4 Flip and rotate & motor wiring...

Postby Jdmagoo » Mon Jan 05, 2015 4:34 pm

Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: M4 Flip and rotate & motor wiring...

Postby Mattpgreen » Mon Jan 12, 2015 7:08 am

Last edited by Mattpgreen on Mon Jan 12, 2015 8:58 am, edited 2 times in total.
Mattpgreen
 
Posts: 48
Joined: Tue Oct 07, 2014 11:06 am
Location: Melbourne, Australia

Re: M4 Flip and rotate & motor wiring...

Postby Jdmagoo » Mon Jan 12, 2015 8:52 am

Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: M4 Flip and rotate & motor wiring...

Postby Mattpgreen » Mon Jan 12, 2015 9:11 am

Hi James
Thanks - attending to the motor mixing was a new part of the journey...unfortunately I'm still getting frantic hunting...and 20ish seconds of this really heated up the motors?
Mattpgreen
 
Posts: 48
Joined: Tue Oct 07, 2014 11:06 am
Location: Melbourne, Australia

Re: M4 Flip and rotate & motor wiring...

Postby Jdmagoo » Mon Jan 12, 2015 9:15 am

Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: M4 Flip and rotate & motor wiring...

Postby Mattpgreen » Mon Jan 12, 2015 10:51 am

Hi James - yes...I think...ie the parameter file for the LB ref build??
I'm still missing something...the actual motors are built as either CW or CCW units ... so Motor "A" MUST be a CW config and Motor "B" a CCW actual hardware unit config etc
So how can Pos A be aligned with Port "n" which may or may not be the correct CW or CCW config???
Sorry - brain is spinning like the props are...

after re-reading the wiki on mixing ...IT IS NOT SAFE for use with M4s - because towards the end it addresses the CW/CCW matter by ensuring the ESC's are config'd correctly - this physical option is not available on the standard M4 using the built in drivers???
Mattpgreen
 
Posts: 48
Joined: Tue Oct 07, 2014 11:06 am
Location: Melbourne, Australia

Next

Return to AutoQuad M4 Micro Controller

Who is online

Users browsing this forum: No registered users and 23 guests

cron