Task #319

Evaluate Daisychained channels as standalone channels (behind the scenes)

Added by Espen Solbu almost 6 years ago. Updated over 5 years ago.

Status:NewStart date:02/03/2012
Priority:LowDue date:
Assignee:-% Done:

0%

Category:RefactorSpent time:-
Target version:3.5 Maintenance

Description

If we have the following scenario:
AD1 -> Pack Voltage -> Cell Voltage
This could mean factors like:
Pack Voltage, f=0.1 (6S battery, max 25.5V)
Cell Voltage, f=0.166667 ( max 4.25V)

The change proposed is purely behind the scenes, the user would still see the chain as AD1 -> Pack Voltage -> Cell Voltage:
  • add concept of "firstChannel" to Channel
  • add concept of firstChannelFactor (own factor*sourceChannels.firstChannelFactor) to Channel
  • Calculate firstChannelFactor when user enters factor
Benefit:
  • Allow to use All channels as unit channels for frsky alarms
  • Less cluttered broadcasts, one would only need to broadcast the server channels
Concerns:
  • is it worth it?
  • Need to support longer chains, E.g. AD1->System Voltage->Pack Voltage->Cell Voltage, this is why firstChannelFactor would be (factor*sourceChannel.getFirstChannelFactor())

History

#1 Updated by Espen Solbu over 5 years ago

  • Target version set to 3.5 Maintenance

Also available in: Atom PDF