PB, the Cyc/CCPM logic is incorrect

More
04 Dec 2012 15:20 #3623 by suvsuv
PB, the Cyc/CCPM logic is incorrect was created by suvsuv
I am trying to setup CCPM 120(or none) for a heli, and found that the channels output of aile/elev/pit are actually incorrect when throttle hold is on.

In the right implementation , whether or not the thro hold is on, aile/elev/pit's cyclic ouput shouldn't change if the aile/elev/thro sticks are not moved. However, the current logic calculates cyclic output based on channel output, instead of stick input of aile/elev/thro. With such a logic ,I can't measure collective pitch and cyclic pitch when I set my TX to thro hold. Don't tell me to disconnect motor from the ESC :(

I am going to move MIXER_CreateCyclicOutput() to be in front of MIXER_EvalMixers() in order to fix the issue, let me know if you have any concern about the change

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 16:40 - 04 Dec 2012 16:40 #3625 by PhracturedBlue
Replied by PhracturedBlue on topic PB, the Cyc/CCPM logic is incorrect
I don't understand what you mean.
cyclic is set by the virtual channels 1, 2,3 which do not have throttle-hold
the throttle is set independently and has throttle hold. the default 6-ch heli template should achieve this.
I guess I just don't understand the issue you are having.
Last edit: 04 Dec 2012 16:40 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 17:27 #3626 by suvsuv
Replied by suvsuv on topic PB, the Cyc/CCPM logic is incorrect

PhracturedBlue wrote: I don't understand what you mean.
cyclic is set by the virtual channels 1, 2,3 which do not have throttle-hold
the throttle is set independently and has throttle hold. the default 6-ch heli template should achieve this.
I guess I just don't understand the issue you are having.

What you understand is correct ,but what you implemented currently is incorrect. You can check out attached model file, the setting is mainly
1) aile, elev, thr are set with cyc1/2/3
2) cyc-col's complex1 curver is a 7-point line from -10 to +100
3) Swash type is 120 with all mixes set to 60
4) Safetysw is set to RUD DR and saftetyval = -100
You can verify this bug in either emu_devo8 or a real TX with the following steps:
1) Move thro stick to center point, hence ch1=ch2=ch6=13.33%
2) Apply thro hold by pressing "X" key in emulator or Rud DR in TX, ch1=ch2=ch6= 0% --- the correct implementation shouldn't change ch1/ch2/ch6 when throttle stick is central with thro hold set
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 17:35 #3627 by Hexperience
Replied by Hexperience on topic PB, the Cyc/CCPM logic is incorrect
You have a 4th page on your collective mixer. It has the RUD/DR as the switch. If you remove that it doesn't change the collective when you turn on TH.

I may have miss understood the problem though.

There are 10 types of people in this world. Those that understand binary and those that don't.

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 18:59 #3628 by PhracturedBlue
Replied by PhracturedBlue on topic PB, the Cyc/CCPM logic is incorrect
As Hexperience said, why does your virtch3 have a mixer with RUD D/R as the switch?

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 20:44 - 04 Dec 2012 20:45 #3632 by domcars0
Replied by domcars0 on topic PB, the Cyc/CCPM logic is incorrect
I can confirm that it works as expected.
Cyclic outputs does'nt change when the Throttle hold switch (RUDD/DR in my case is the security switch off the 3-THR channel) is activated or not.

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:
Last edit: 04 Dec 2012 20:45 by domcars0.

Please Log in or Create an account to join the conversation.

Time to create page: 0.044 seconds
Powered by Kunena Forum