Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing vcc telem parse #49

Merged
merged 3 commits into from
Jan 10, 2017
Merged

Fixing vcc telem parse #49

merged 3 commits into from
Jan 10, 2017

Conversation

kb1lqd
Copy link
Contributor

@kb1lqd kb1lqd commented Jan 6, 2017

This pull request contains

Brenton Salmi added 3 commits January 6, 2017 00:08
Renamed the ADC parsing dictionary ADC6 to VCC.
Fixed parsing offset error. Found that the data was not correct and
fixed per issue #25
@kb1lqd kb1lqd added the bug label Jan 6, 2017
@kb1lqd kb1lqd added this to the Initial Code Release milestone Jan 6, 2017
@kb1lqd kb1lqd self-assigned this Jan 6, 2017
@kb1lqd kb1lqd requested a review from kb1lqc January 6, 2017 08:58
'ADC3': telemetryList[28],
'ADC4': telemetryList[29],
'ADC5': telemetryList[30],
'VCC': telemetryList[31],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK looks like ADC6 is VCC and ADC7 is boardtemp. Thanks for catching this.

'SOURCEID': int(telemetryList[2]),
'DESTINATIONCALLSIGN': telemetryList[3],
'DESTINATIONCALLSIGNLEN': telemetryList[4],
'DESTINATIONID': telemetryList[5],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK you previously would delete index items 1 and 3. Adding it back them would in-fact change the indexing when parsing into a dictionary. These changes would add two to the index for items afterwards which appears correct. No longer deleting item 31 would push any item afterwards upwards by three which appears correct.

Copy link
Member

@kb1lqc kb1lqc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've commented on lines that changed. All appears OK and your changes in indexing make sense. OK to merge!

@kb1lqd kb1lqd merged commit 2d15a73 into master Jan 10, 2017
@kb1lqd kb1lqd deleted the Fixing-VCC-Telem-Parse branch February 17, 2017 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants