I'm trying to decode the 'left_right_balance' field in a Record message.
I'm expecting to get a 'left_right_balance' (actually a UInt8) value, but I'm getting a string, something like 'FitField(withName: left_right_balance_178'.
I've had a look through the 'fitsdkparser.py' but I can't quite work out how the parts of the swift files are generated for different field types.
Sample file attached
LRBalanceTest.fit.zip
.
I'm trying to decode the 'left_right_balance' field in a Record message.
I'm expecting to get a 'left_right_balance' (actually a UInt8) value, but I'm getting a string, something like 'FitField(withName: left_right_balance_178'.
I've had a look through the 'fitsdkparser.py' but I can't quite work out how the parts of the swift files are generated for different field types.
Sample file attached
LRBalanceTest.fit.zip
.