marsinstituteSC / MissionControl

Mission Control Center Application for MISC's Mars Rover, Viking III
GNU General Public License v3.0
2 stars 1 forks source link

A way to distribute the incoming json messages onto the main window widgets #31

Closed Segath closed 5 years ago

Segath commented 5 years ago

Haven't looked too much if there is one, just close this if it exists.

BerntA commented 5 years ago

This should be covered already yeah, in the main window, subscribes to an event @ udp conn: ` @pyqtSlot('PyQt_PyObject') def receivedDataFromRover(self, data):

TODO Add more stuff here...

    if 'speed' in data:
        self.setSpeedometerValue(data['speed'])
        self.log.logData("Now running at {} m/s.".format(data['speed']), 0)

`

once we know what the incoming data looks like we can add more stuff to that method.. :+1: