Skip to content

Update for example_4_keys_instances for Python #51

@mattmz

Description

@mattmz

While running through the Python examples, I noticed a few updates to example 4 that seem to be more inline with the C++ step-by-step flow at https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/getting_started/cpp11/intro_keys_instances.html#example-chocolate-factory.

Example edits in #50

There may be some confusion as of step 4.5 when the user starts to learn about ChocolateLotState instance disposal. It looked like monitor_lot_state was being called for temperature topics (which aren't explored until 4.6+), leading to misleading output (e.g., "Received lot update: ").

The example changes above seem to fix this, in that the readers/monitors are hooked up correctly, the output matches the guide and they can see the instance disposal in step 4.5.

The user can still later explore the ChocolateTemperature reader support in steps 4.6+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions