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

[ewok_simulation/src/trajectory_replanning_example.cpp] Initialization of offset is wrong #19

Open
Flighy opened this issue Dec 1, 2020 · 0 comments

Comments

@Flighy
Copy link

Flighy commented Dec 1, 2020

Hi. I think there is a problem in line 145 of 'trajectory_replanning_example.cpp.'
As far as I understand, offset in Ring Buffer is the lower left corner of the map. However, it seems that you are setting the sensor origin as offset in initialization step(line 139-147). Well, in your simulation case there was no problem, but in the situation of me this caused the problem.

Eigen::Vector3i _OFF(_N_2, _N_2, _N_2);
edrb->setOffset(idx - _OFF);

It would be nice to change line145 this way.
Thanks.

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

1 participant