Baseflight aka multiwii port to stm32

Re: Baseflight aka multiwii port to stm32

Postby copterrichie » Sat Sep 08, 2012 2:01 pm

Well, an I2C-Servo or an I2C-GPS seems to be in other but that will never meet the TC's standard. Hmmm.
copterrichie
 
Posts: 2113
Joined: Sat Feb 19, 2011 8:30 pm

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sat Sep 08, 2012 2:05 pm

With 8 servos available in airplane mix mode, I doubt there's going to be any need for a HACK.
And with serial GPS working in both PPM and PWM input modes, what's the point for I2C GPS again? Remind me. Another point of failure? OK, thanks.
timecop
 
Posts: 1449
Joined: Fri Sep 02, 2011 4:48 pm

Re: Baseflight aka multiwii port to stm32

Postby copterrichie » Sat Sep 08, 2012 2:14 pm

timecop wrote:With 8 servos available in airplane mix mode, I doubt there's going to be any need for a HACK.
And with serial GPS working in both PPM and PWM input modes, what's the point for I2C GPS again? Remind me. Another point of failure? OK, thanks.


Your Words: "p.s. enabled GPS in PWM mode as well - reduces number of channels to 4RC+2 AUX."

P.S. I count six motor pins, where do the other two servo pins come from?
copterrichie
 
Posts: 2113
Joined: Sat Feb 19, 2011 8:30 pm

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sat Sep 08, 2012 2:17 pm

last I checked, that was the max number available on your beloved tarduino pro mini without hacks.
timecop
 
Posts: 1449
Joined: Fri Sep 02, 2011 4:48 pm

Re: Baseflight aka multiwii port to stm32

Postby copterrichie » Sat Sep 08, 2012 2:21 pm

I'm asking about the Naze32, how would one go about connecting eight servos to it?
copterrichie
 
Posts: 2113
Joined: Sat Feb 19, 2011 8:30 pm

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sat Sep 08, 2012 2:23 pm

There are total 14 PWM channels that can be configured as inputs or outputs in various groups.
If you truly care, have a look around http://code.google.com/p/afrodevices/so ... /drv_pwm.c

There are 6+8 header pins where things can be connected. Infact if one so wishes, the 6 motor pins can be used as RC inputs and the 8 pins on the side can be outputs etc.
timecop
 
Posts: 1449
Joined: Fri Sep 02, 2011 4:48 pm

Re: Baseflight aka multiwii port to stm32

Postby copterrichie » Sat Sep 08, 2012 2:26 pm

Thank you for the information and Yes I do care. Just don't like the BaShing at times.
copterrichie
 
Posts: 2113
Joined: Sat Feb 19, 2011 8:30 pm

R: Baseflight aka multiwii port to stm32

Postby multimee » Sat Sep 08, 2012 3:56 pm

timecop wrote:p.s. enabled GPS in PWM mode as well - reduces number of channels to 4RC+2 AUX.


Great, TC! I'm sincerely grateful :D
multimee
 
Posts: 1
Joined: Tue Mar 13, 2012 1:25 pm

Re: Baseflight aka multiwii port to stm32

Postby frog32 » Sun Sep 09, 2012 12:15 pm

timecop wrote:I have a solution that looks like a turd, I can commit it today.
Or I can spend some time on it and make it nice - something most 8bit devs dont seem to care about.


but it would be good for all who are also coding on the same project. i am waiting for your solution i nearly went back to the last commit having flying wing support. you could push those things to a feature-mixer branch and let others participate in searching for ideas.

i don't knew ho expensive merging or rebasing is with svn but i am doing this up to 20 times a day at work using git where branching and merging is low cost.
frog32
 
Posts: 55
Joined: Sun Nov 20, 2011 9:39 pm

Re: Baseflight aka multiwii port to stm32

Postby timecop » Sun Sep 09, 2012 12:18 pm

Basically the problem with current solution is lack of flexibility. Too much stuff needs to be configurable, even previous builds needed recompile. I'll bring that back in a bit w/some more options as a temporary solution (flyingwing only) but for future, proper mixer needs to be reimplemented.

edit: k, flyingwing mixer is back. airplane mixer will happen later.

as far as ideas/discussion, go ahead.
basically: it has to be configurable, nothing hardcoded, fairly flexible (i.e. completed airplane mixer would be able to do flyingwing just by configuring it as such), and be able to mix in X number required servos in whatever orientation.
timecop
 
Posts: 1449
Joined: Fri Sep 02, 2011 4:48 pm

PreviousNext

Return to Software

Who is online

Users browsing this forum: Google Adsense [Bot] and 2 guests