Search found 10 matches

by gsenroc
Mon May 12, 2014 10:55 am
Forum: Boards
Topic: STM32F3DISCOVERY , a flight controller for US$10
Replies: 30
Views: 15440

Re: STM32F3DISCOVERY , a flight controller for US$10

It looks very nice, is there any possibility that the cleanflight can support STM32F4? We have some STM32F407 boards lying around for different projects, they're smalller than the Discovery boards and we would like to use it as a flight controller. Looks like the codes can be made compatible pretty ...
by gsenroc
Sun Apr 06, 2014 6:23 pm
Forum: Software development
Topic: Teensy 3.1 and Arduino Due support?
Replies: 4
Views: 2560

Teensy 3.1 and Arduino Due support?

Hi, I'm not sure whether people have talked about this before but I couldn't find any info, I decided to ask it. Being thinking about 32bit multiwii for some days, I'm so excited to see some great 32 bit FC on the market like Naze32. But since there are already some 32 bit boards available like Teen...
by gsenroc
Thu Mar 06, 2014 10:07 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

It will apply throttle until the correct altitude is reached. But you could make a change in the code to move Baro control to Pitch channel. In V2.3 Row 1166 - 1183. Change all three apperances of rcCommand[THROTTLE] to rcCommand[COLLECTIVE_PITCH] And in row 991 Note this is untested but should wor...
by gsenroc
Thu Mar 06, 2014 1:54 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

Baro controlls Throtle. But that seems to be a problem for those who use a constant throttle. I only control the ascend and descend by changing the pitch, the throttle is always 80%. Does that mean that if I switch to baro, my constant 80% throttle will just make my heli climbing up and it won't st...
by gsenroc
Mon Mar 03, 2014 9:51 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

I'm very close to finish setting up my nanowii hooked up with a barometer, but I have a question before test flight. I've set the COLLECTIVE_PITCH control via channel AUX2, and I'm going to use a throttle curve which is flat and constant. As I'm going to use baro mode I'm now wondering which channel...
by gsenroc
Sun Feb 23, 2014 4:23 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

PatrikE wrote:
gsenroc wrote:The yaw output stays at around 1245 when the board is sitting still. Isn't it supposed to be around 1500 in the middle?

Yaw I-term builds up in PID regulator.

Thanks Patrik, I guess I got it.
by gsenroc
Sun Feb 23, 2014 3:32 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

I think this gets activated automatically when you enable nanowii board? You can check in def.h Yes you're right. I've just checked def.h, it's activated if nanowii is enabled. There is another thing that makes me curious, the yaw output stays at around 1245 when the board is sitting still. Isn't i...
by gsenroc
Sat Feb 22, 2014 11:55 pm
Forum: Software development
Topic: Helicopter integration
Replies: 318
Views: 110475

Re: Helicopter integration

was asked several times, so here is my wiring diagram for a true nanoWii (_not_ the HK lookalike) with spektrum satellite and HW-PWM: A3 - vbat 4 buzzer 9 right 10 left 5 yaw 6 motor 11 nick Best verify servo signal freq with pwm meter - if servo is attached to motor output, then 490Hz motor signal...
by gsenroc
Tue Dec 31, 2013 1:22 pm
Forum: Software development
Topic: I think I'm crazy. LQR instead of PID?
Replies: 6
Views: 3457

Re: I think I'm crazy. LQR instead of PID?

Submit a patch for a third controller based on LQR Just reading through those papers... this stands out to me as a potential problem: "However, as a method the determination of PID parameters are easier to obtain using LQR method." people often struggle with PID tuning already. Also, it a...
by gsenroc
Mon Dec 30, 2013 11:48 pm
Forum: Software development
Topic: I think I'm crazy. LQR instead of PID?
Replies: 6
Views: 3457

I think I'm crazy. LQR instead of PID?

Yes I think I'm crazy, but I can easily achieve better results with LQR (linear quadratic regulator) than PID controller (in Simulink for my assignments in the university). Of course if I have the model of my machine I can even make a pole placement controller but that can be a lot of work and not v...