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

when use roslaunch ltl_automaton_planner study_2.launch, it broke ,can you help me? tianks!! #2

Open
ChaselLau666 opened this issue Oct 1, 2023 · 23 comments

Comments

@ChaselLau666
Copy link

image

@ChaselLau666
Copy link
Author

log.txt

@ChaselLau666
Copy link
Author

log.txt is presented

@zzhou387
Copy link
Collaborator

zzhou387 commented Oct 9, 2023

Hello,

Thanks for your feedback. What behavior_tree_cpp_v3 version are you using? This problem might be caused by some recent updates of the behavior tree package. Could you try the binary version:

sudo apt-get install ros-noetic-behaviortree-cpp-v3

@ChaselLau666
Copy link
Author

I tried what you said, but still can't solve the problem. gazebo will soon flash back

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

log.txt

@zzhou387
Copy link
Collaborator

zzhou387 commented Oct 9, 2023

This seems still crashing due to the BT node. Can you build from source given this version of BT:
https://github.com/BehaviorTree/BehaviorTree.CPP/tree/3.5.6
Also, remember to do catkin clean and rebuild your workspace when you are changing the dependency version.

@ChaselLau666
Copy link
Author

This still doesn't solve my problem, it still shows the same error as before. I would like to ask, do I need to modify the cmakelist file before catkin build? Thank you for your patient answer

@zzhou387
Copy link
Collaborator

I'm still trying to replicate the problem. Let me get back to you by the end of this week. Thank you.

@ChaselLau666
Copy link
Author

This still doesn't solve my problem, it still shows the same error as before. If possible, is there any way to tell me how to verify that the behavior tree module I installed is functioning properly?

@zzhou387
Copy link
Collaborator

This still doesn't solve my problem, it still shows the same error as before. If possible, is there any way to tell me how to verify that the behavior tree module I installed is functioning properly?

Hello, I was able to reproduce the problem and the issue indeed came from the behavior_tree_cpp_v3 version. There used to be a typo for the node name RetryUntilSuccesful and got fixed after v3.6.0: https://github.com/BehaviorTree/BehaviorTree.CPP/blob/a28df0f77ddcea7915693f276b27147b75d2c07f/CHANGELOG.rst#360-2021-11-10
Technically, the error you reported should be fixed by changing the BT version (not too sure why it complained about the data type mismatch but I saw the same error). Can you make sure you have done catkin clean for your entire workspace, then remove the binary version of BT:

sudo apt-get remove ros-noetic(or melodic)-behaviortree-cpp-v3

Clone this version of BT to the same workspace:
https://github.com/BehaviorTree/BehaviorTree.CPP/tree/3.5.6
Then catkin build everything again.

If this still doesn't solve your problem, I will try to come up with a docker file when I get a chance.

@ChaselLau666
Copy link
Author

study_2 .log

@ChaselLau666
Copy link
Author

After your guidance, the behavior tree module no longer reports errors. It seems to have solved part of the problem, but the previous errors still exist. It seems to be an error in the TF data. Thank you for your answer! My log file has been uploaded

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

Uploading image.png…

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

image

@zzhou387
Copy link
Collaborator

image

Some gazebo plugins might be missing. Could you try

sudo apt-get install ros-noetic-gazebo*

and run again?

@ChaselLau666
Copy link
Author

It still doesn't solve the problem. When I use the roslaunch ltl_automaton_planner study_2.launch command, it still crashes.

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

image

@ChaselLau666
Copy link
Author

I think it is an error in the urdf model or an error in tf data

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