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

Sim state not updating on ego and goal pose reset #46

Open
maforn opened this issue Dec 18, 2024 · 0 comments · May be fixed by #47
Open

Sim state not updating on ego and goal pose reset #46

maforn opened this issue Dec 18, 2024 · 0 comments · May be fixed by #47

Comments

@maforn
Copy link

maforn commented Dec 18, 2024

Describe the bug
When publishing consecutively on /initalpose and /goal_pose the position of the second-to-last message gets overwritten by the values in ego_pose, which are not updated.

To Reproduce
Steps to reproduce the behavior:

  1. Create a node that will publish consecutively on /initalpose and then /goal_pose
  2. Launch the node
  3. You can observe on the sim that just one car gets updated

Expected behavior
Both positions of ego and opp should be correctly updated.

Desktop:

  • OS: Debian 12

Additional context
I've added a pull request fixing this issue, it can be solved by calling self._update_sim_state() after each position reset function.

@maforn maforn linked a pull request Dec 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant