Skip to content

Gui update#310

Merged
cal-pratt merged 6 commits intomasterfrom
gui-update
Jun 1, 2017
Merged

Gui update#310
cal-pratt merged 6 commits intomasterfrom
gui-update

Conversation

@cal-pratt
Copy link
Copy Markdown
Contributor

Today I spent some time ghostbusting on the ROV. This PR has two notable bug fixes// gotchas to avoid.

Bug 1: Maestro channel values
I thought that setting the maestro channel to negative 1 would be a good option for unused channels, however, sending a -1 to the maestro causes it to freak out and not work properly. Values are now set to random unused channel (this should be less dumb)

Bug 2: JavaFX scheduler NPE
Refs findings in and fixes #309

Update the video decoder
The video decoder now uses an rxjava SyncOnSubscribe object to handle its threading. This overall makes controlling the decoder easier and avoids managing non final instance fields and all the fun that goes along with null checking.

Update the sensor view
Finally decide to remove some of the useless values in the sensor view. We only have one external pressure sensor, one internal pressure (IMU) and one internal temperature (IMU). The ExternalPressureValue[A|B] has been replaced with ExternalPressureValue, similarly DepthValue[A|B] with DepthValue

@cal-pratt cal-pratt added this to the MATE 2017 milestone May 31, 2017
@cal-pratt cal-pratt self-assigned this May 31, 2017
@cal-pratt cal-pratt requested review from CalvinGregory and ConnorWhalen and removed request for CalvinGregory May 31, 2017 20:52
@cal-pratt cal-pratt merged commit 0a60f26 into master Jun 1, 2017
@cal-pratt cal-pratt deleted the gui-update branch June 1, 2017 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null pointer exception on the JavaFX thread.

1 participant