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

Optimization hangs for long periods of time #1337

Closed
santosj opened this issue Jun 27, 2019 · 1 comment
Closed

Optimization hangs for long periods of time #1337

santosj opened this issue Jun 27, 2019 · 1 comment

Comments

@santosj
Copy link

santosj commented Jun 27, 2019

I am experiencing a similar behavior as documented in #247. I have followed all the solutions mentioned in #247, such as the cmake build type set to "Release" and I have checked if all the dependencies are correctly installed such as libatlas-base-dev and libsuitesparse-dev and when the bag stops playing, the optimization can last up to 30 minutes. If i try to finish the trajectory by calling the service rosservice call /finish_trajectory "trajectory_id: 0", I get the result Trajectory 0 already pending to finish. endlessly. I have noticed that this does not happen when running the same setup with release 1.0.0, in that case the optimization is done quite fast and the service to finish the trajectory does not hang.

  1. the output of rosbag_validate can be found here: https://gist.github.com/santosj/cb0f3937962e5e8b31377781d5492c39

  2. I have uploaded launch file, configuration file and rosbag to: https://drive.google.com/drive/folders/1LbXY6mQHCs1l2vCKURQ3kxkPcaKQSxbZ?usp=sharing

Thanks in advance.

@MichaelGrupp
Copy link
Contributor

Usually it helps to decrease some sampling ratios, e.g. of the constraint builder. A good guide is here: https://google-cartographer-ros.readthedocs.io/en/latest/tuning.html#low-latency

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