Skip to content

collect_demonstrations.py #48

@wangair

Description

@wangair

Hello, thank you for your excellent contribution!I want to collect some demonstrations by running “collect_demonstrations.py --controller OSC_POSE --camera agentview --num-demonstration 50 --rot-sensitivity 1.5 --bddl-file /home/gc/LIBERO/libero/libero/bddl_files/libero_goal/turn_on_the_stove.bddl --robots Panda”. But I met the below error.How can I solve it?

Traceback (most recent call last):
File "scripts/collect_demonstration.py", line 315, in
env.viewer.add_keypress_callback("any", device.on_press)
TypeError: add_keypress_callback() takes 2 positional arguments but 3 were given

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