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

Global plan has orientations set to 0 degrees #63

Open
sanchitbadamikar opened this issue Jul 28, 2023 · 1 comment
Open

Global plan has orientations set to 0 degrees #63

sanchitbadamikar opened this issue Jul 28, 2023 · 1 comment

Comments

@sanchitbadamikar
Copy link

sanchitbadamikar commented Jul 28, 2023

QUESTION:

I've been working with the planner for about a year now and I just realized that my global plan has no orientations for the intermediate poses. It only has an orientation on the goal pose.

Since it seems to be reviewing the footprint using the correct orientation, I am not sure if I'm missing something as simple as a parameter going true to include the orientations for intermediate poses.

Any suggestions on how I should proceed or do I have to access and edit the source code within my package?

@sanchitbadamikar sanchitbadamikar changed the title Global plan has orientations set to 0 Global plan has orientations set to 0 degrees Jul 28, 2023
@mintar
Copy link
Collaborator

mintar commented Aug 4, 2023

I can't reproduce the problem. If you run these commands:

roslaunch sbpl_lattice_planner move_base_sbpl_fake_localization_2.5cm.launch
rostopic echo move_base_node/SBPLLatticePlanner/plan

... and then send a navigation goal via RViz, you'll see that the plan has orientations:

header: 
  seq: 0
  stamp: 
    secs: 21
    nsecs: 400000000
  frame_id: "map"
poses: 
  - 
    header: 
      seq: 0
      stamp: 
        secs: 21
        nsecs: 400000000
      frame_id: "map"
    pose: 
      position: 
        x: 15.637500233016908
        y: 27.93750041630119
        z: 0.0
      orientation: 
        x: 0.0
        y: 0.0
        z: 0.7071080798594735
        w: 0.7071054825112363
  - 
    header: 
      seq: 0
      stamp: 
        secs: 21
        nsecs: 400000000
      frame_id: "map"
    pose: 
      position: 
        x: 15.637500233016908
        y: 27.93750041630119
        z: 0.0
      orientation: 
        x: 0.0
        y: 0.0
        z: 0.6915263849067544
        w: 0.72235120196328
[...]

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