diff --git a/documentation/Kommunikation.pdf b/documentation/Kommunikation.pdf index d5d582f..c67ead0 100644 Binary files a/documentation/Kommunikation.pdf and b/documentation/Kommunikation.pdf differ diff --git a/software/roboter/raspy/functions.py b/software/roboter/raspy/functions.py index 177a5b4..9129f96 100644 --- a/software/roboter/raspy/functions.py +++ b/software/roboter/raspy/functions.py @@ -98,7 +98,7 @@ def get_position(clients: mqtt.Client, userdata, message: mqtt.MQTTMessage): clients.publish(Topics["ROBOT_DATA_POSITION"], json.dumps(position, indent=4)) -def get_BatteryStatus(clients: mqtt.Client, userdata, message: mqtt.MQTTMessage): +def get_batteryStatus(clients: mqtt.Client, userdata, message: mqtt.MQTTMessage): """ Callback function for battery status request Function to read battery status from ev3 and send via MQTT diff --git a/software/roboter/raspy/raspy_sensors.py b/software/roboter/raspy/raspy_sensors.py index 7d7b1ac..b05de60 100644 --- a/software/roboter/raspy/raspy_sensors.py +++ b/software/roboter/raspy/raspy_sensors.py @@ -67,11 +67,11 @@ class RaspySensors: #TODO - take picture function def takePicture(self): """ - Take picture and return image + Take picture and return picture Returns: _type_: _description_ """ - return self.image + return self.picture #TODO - read position with sensor def readPosition(self):