Left Right issue

I have two questions,  

1. How do you calculate left right balance.  I have the following in my fit file does this mean my left leg is doing 165 and right leg is at 135?

--- power=300=300 watts
--- left_right_balance=165=165

2. Does this indicate a dropout from the right power meter

--- left_right_balance=128=right

  • The left_right_balance value is a percentage that can be applied to the power value in the same Record mesg. 

    The most significant bit of the left_right_balance value indicates if the balance is for the right or left side. It is really right side or unknown side. Masking off that bit leaves the percent contribution for that side. The math looks like this:

    is_right  = left_right_balance & 0x80
    percentage_contribution = left_right_balance & 0x7F 
    value = power * percentage_contribution
     
    There are constants in the SDK for bothy 0x80 and 0x7F. Look for the left_right_balance type in the SDK that you are using.
    See the answer here for more information on how to decode left/right power values in the session and lap messages.
    RE: Questions about left/right balance and its decodification