Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Choosing component type for your application (See flowchart below)

  2. Choosing inputs datatypes (See SIC standardized pre-defined messages)

  3. Creating a new file following the templates (See https://bitbucket.org/socialroboticshub/framework/src/master/sic_framework/services/templates/)

  4. Implement the appropriate methods.

  5. Start the component (python your_file.py)

Also see: https://youtu.be/C_y42blplhs

At its core, any new component (extending SICComponent) has to implement on_message and/or on_request. on_message allows the component to be linked to one another, and receive and send messages in a data stream. on_request allows it to handle requests and send an explicit reply to the device that requested it.

...