Sending and Receiving

yodel.listen()yodel.dynamicheaders.Section[source]

used to listen for data being sent to your robot, is non-blocking

Returns

contains any received message which is accessible through the .payload attribute, also contain meta data about the message

Return type

yodel.Section

yodel.send(payload: any, name: str = '', group: str = '')NoReturn[source]

take in payload and generate additional data needed to be complient with yodel standard header and add it to the stack for the thread to access.

Parameters
  • payload – data being sent

  • name – name of recipient

  • group – group of recipient