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

Can not set initial pose in planning simulator after code update #1907

Closed
3 tasks done
NorahXiong opened this issue Sep 19, 2022 · 3 comments
Closed
3 tasks done

Can not set initial pose in planning simulator after code update #1907

NorahXiong opened this issue Sep 19, 2022 · 3 comments
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) type:bug Software flaws or errors.

Comments

@NorahXiong
Copy link
Contributor

NorahXiong commented Sep 19, 2022

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

I failed to set initial pose in planning simulator after updating the code(5f7fbd7).

Set_Pose_Failed.mp4

Expected behavior

Planning simulator works normally.

Actual behavior

Can not set initial pose in planning simulator.

Steps to reproduce

Update the project and try to set initial pose in planning simulator.

Versions

  • OS: Ubuntu 20.04
  • ROS2: Galactic
  • Autoware: Autoware.universe:main

Possible causes

In PR #1500, simple_planning_simulator topic "/initialpose" is changed to "/initialpose3d" but no message is sent on topic "/initialpose3d" when simulating. Maybe there are some relating parameters need modification at the same time.

Additional context

I changed the rviz_default_plugins/SetInitialPose topic from "/initialpose" to "/initialpose3d" and the simulator worked. Anyway, it seems not a proper fix as the pose set through rviz_default_plugins still missing z axis value(z value is always 0).

@VRichardJP
Copy link
Contributor

I'm facing the same problem after updating autoware. I think autoware's launch files should run this module https://github.com/autowarefoundation/autoware.universe/tree/main/system/default_ad_api_helpers/ad_api_adaptors

@YamatoAndo YamatoAndo added type:bug Software flaws or errors. component:localization Vehicle's position determination in its environment. (auto-assigned) labels Sep 20, 2022
@isamu-takagi
Copy link
Contributor

Sorry, it was because these PRs were not merged at the same time. It's fixed now.

@NorahXiong
Copy link
Contributor Author

Sorry, it was because these PRs were not merged at the same time. It's fixed now.

Planning simulator works well now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) type:bug Software flaws or errors.
Projects
None yet
Development

No branches or pull requests

5 participants