nicog wrote:And if you want to use it, as you said, code it and commit to svn.
Or better yet, open a pull request on GitHub! https://github.com/fiendie/baseflight
I am maintaining an up to date clone of the SVN repo just there to piss dongs off ;P
nicog wrote:And if you want to use it, as you said, code it and commit to svn.
nicog wrote:I'm not competing with you either.
But my code is free to everyone. it's not closed source.
Please understand that the telemetry implementation maybe is not needed in the 32bits port.
timecop wrote:Yeah airplane mix stuff will be done separately, to allow servos/direction/etc.
Still planning a good way to do that.
Will probably merge flying wing and aeroplane mixers together, and just allow enough customization so it can be configured either way.
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.
timecop wrote:p.s. enabled GPS in PWM mode as well - reduces number of channels to 4RC+2 AUX.
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.
Code: Select all
pwmWriteServo(0, servo[0]);
pwmWriteServo(1, servo[1]);
frog32 wrote:thanks for bringing flying wing back. i'll test it as soon as i can leave the city.
regarding your mixer thing: what about having a set of configurable mixes like in er9x (http://www.youtube.com/watch?v=uc3TdQhNc_g). it would be enough to have those sources: rcchannels, pid loops, fixed value and a weight for each of them.
it's not that easy to implement it so it's usable in the console but it would be possible
edit: i tried it on my wing right now. mixes in gui seem ok but they aren't written to the servos. tried to addCode: Select all
pwmWriteServo(0, servo[0]);
pwmWriteServo(1, servo[1]);
in writeServos in mixer.c line 200 but it didn't do the job
Gimbal wrote:Any chance airplane mode will be implemented ?
frog32 wrote:on pwm1/2 i have valid servo outputs but they seem to be the wing servo mixes. maybe the servo mapping is wrong and it overrides motor out.
Your pwm init procedure is too crazy for me without some more comments. But the Problem seems to be in there.
acc_lpf_for_velocity = 10
baro_tab_size = 21
baro_noise_lpf = 0.600
baro_cf = 0.985