Skip to content

Add section/link in Debugging topic to observers docs about logging  #123

Open
@hamishwillee

Description

@hamishwillee

When Debugging topic is live and attribute observers "fixed" it makes sense to link to the attribute observer topic.

Perhaps could put in example of a "generic" observer.

# Another callback example - this time "generic"
def attribute_callback(attribute):
    print "Generic callback - '%s' changed: %s" % (attribute, getattr(v, attribute) )


# Set callback observer for mode
v.add_attribute_observer('armed', attribute_callback)   

We should also put in link to the mavlink message callback, but only when API exists to disable it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions