Architecture added, spelling fixes

This commit is contained in:
waldluis 2023-05-02 14:08:07 +02:00
parent 1e4fb4c4b4
commit d3ee161444
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -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)) 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 Callback function for battery status request
Function to read battery status from ev3 and send via MQTT Function to read battery status from ev3 and send via MQTT

View File

@ -67,11 +67,11 @@ class RaspySensors:
#TODO - take picture function #TODO - take picture function
def takePicture(self): def takePicture(self):
""" """
Take picture and return image Take picture and return picture
Returns: Returns:
_type_: _description_ _type_: _description_
""" """
return self.image return self.picture
#TODO - read position with sensor #TODO - read position with sensor
def readPosition(self): def readPosition(self):