Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example doesn't run. #4

Open
yangxule opened this issue Jul 9, 2024 · 2 comments
Open

The example doesn't run. #4

yangxule opened this issue Jul 9, 2024 · 2 comments

Comments

@yangxule
Copy link

yangxule commented Jul 9, 2024

Mr.Guo

It doesn't work when I run the script 'agents_planner.py' in Intro->Examples->multi.
There is an error that AttributeError: 'ltl_planner' object has no attribute 'contract_time'.
There are similar problems in the script 'agents_planner.py' when I browse it
such as 'Planner[i].delay_cooperation(DELAY, SPEED[i])' ,
'Request[i] = Planner[i].cooperative_action_in_horizon(dep,horizon[i])',
'Reply[i] = Planner[i].evaluate_request(request,alpha=1)' etc. How can I solve these?
Best wishes!

@MengGuo
Copy link
Owner

MengGuo commented Jul 11, 2024

Hello, you may need to add the ltl_planner module to your PYPATH.

@yangxule
Copy link
Author

Mr. Guo ,I'm sorry for reply you so long. I think I have added the ltl_planner module to my PYPATH.I can run the script test.py and square_world.py in folder Examples->to_matlab successfully.But when I run agents_planner.py in folder Examples->multi,there has an error AttributeError: 'ltl_planner' object has no attribute 'cooperative_action_in_horizon'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants