Skip to content

Get current behavior after executed first time #69

@kanehuang

Description

@kanehuang

Hello,

I am using behaviors without operator and want to get correct executing behavior to know the current process. The process is launch roslaunch flexbe_onboard behavior_onboard.launch run flexbe_widget be_action_server and flexbe_mirror. It used to be an unstable process to get current behavior and somehow related to flexbe_mirror threading problem which has been fixed by adding threading lock. However, it also introduces another issue that we can get first and only the first behavior. It seems caused by return without releasing the lock. If I released the lock at the end of _mirror_callback function, things look good to me. I can get current behaviors after second time executing. Do you thing that is the cause/fix to this problem?

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