Skip to content

seed line too long error #12

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

Open
fractal1z opened this issue Mar 26, 2025 · 5 comments
Open

seed line too long error #12

fractal1z opened this issue Mar 26, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@fractal1z
Copy link

sometimes I get error:

/super_planner/src/super_core/corridor_generator.cpp", line 113, in SearchPolytopeOnPath [0x55b465146d81]
110: if ((path[first_id] - path[second_id]).norm() > seed_line_max_length_ * 1.5) {
111: fmt::print("first: {}\n second: {}\n seed line max: {}\n", path[first_id].transpose(),
112: path[second_id].transpose(), seed_line_max_length_);
> 113: throw std::runtime_error("seed line too long");
114: return false;
115: }
116: if (!GeneratePolytopeFromLine(seed_lines.back(), temp_poly)) {
#5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28", at 0x7f68f0eeb698, in __cxa_throw
#4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28", at 0x7f68f0eeb3e6, in std::terminate()
#3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28", at 0x7f68f0eeb37b, in
#2 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28", at 0x7f68f0edf8d0, in
#1 Source "/build/glibc-LcI20x/glibc-2.31/stdlib/abort.c", line 79, in abort [0x7f68f0b05858]
#0 Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0x7f68f0b2600b]
Aborted (Signal sent by tkill() 1313467 1000)

why this error happen?

@last-venus
Copy link

I meet the same error, how to solve it.

@RENyunfan
Copy link
Collaborator

Thank you for bringing this issue to my attention. This assertion was originally included for debugging purposes in the early stages, and I believed I had resolved the bug. However, it seems to have resurfaced. Could you please provide more details about how frequently this occurs and the steps to reproduce it?

@DML-0205Michael
Copy link

It didn't generate the log file (see picture 3) so I paste the screenshots here. It happened for the first time after more than 50 times of giving it a new goal point.

imageimageimage

@RENyunfan
Copy link
Collaborator

Dear all,

Thank you for your investigation. To bypass this issue, you can simply comment out the following line:

113: throw std::runtime_error("seed line too long");

This will allow the program to continue running without throwing an error and exiting. I will allocate time to address and fix this bug soon.

@fractal1z
Copy link
Author

Dear all,

Thank you for your investigation. To bypass this issue, you can simply comment out the following line:

113: throw std::runtime_error("seed line too long");
This will allow the program to continue running without throwing an error and exiting. I will allocate time to address and fix this bug soon.

In my recent tests, this error almost never occurred, and no data was recorded

@RENyunfan RENyunfan added the bug Something isn't working label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants