Skip to content

Commit

Permalink
Same orientation of coordinate frames in rviz ang gazebo (#3751)
Browse files Browse the repository at this point in the history
* rviz view straight in default xy orientation

Signed-off-by: Christian Henkel <christian.henkel2@de.bosch.com>

* gazebo orientation to match rviz

Signed-off-by: Christian Henkel <christian.henkel2@de.bosch.com>

* rotating in direction of view

---------

Signed-off-by: Christian Henkel <christian.henkel2@de.bosch.com>
  • Loading branch information
ct2034 authored Aug 10, 2023
1 parent c1e7713 commit 66596b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions nav2_bringup/rviz/nav2_default_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ Visualization Manager:
Value: true
Views:
Current:
Angle: -1.6150002479553223
Angle: -1.5708
Class: rviz_default_plugins/TopDownOrtho
Enable Stereo Rendering:
Stereo Eye Separation: 0.05999999865889549
Expand All @@ -570,11 +570,11 @@ Visualization Manager:
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.009999999776482582
Scale: 127.88431549072266
Scale: 160
Target Frame: <Fixed Frame>
Value: TopDownOrtho (rviz_default_plugins)
X: -0.044467076659202576
Y: -0.38726311922073364
X: 0
Y: 0
Saved: ~
Window Geometry:
Displays:
Expand Down
8 changes: 4 additions & 4 deletions nav2_bringup/rviz/nav2_namespaced_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Visualization Manager:
Value: true
Views:
Current:
Angle: -1.5700000524520874
Angle: -1.5708
Class: rviz_default_plugins/TopDownOrtho
Enable Stereo Rendering:
Stereo Eye Separation: 0.05999999865889549
Expand All @@ -352,11 +352,11 @@ Visualization Manager:
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.009999999776482582
Scale: 134.638427734375
Scale: 160
Target Frame: <Fixed Frame>
Value: TopDownOrtho (rviz_default_plugins)
X: -0.032615214586257935
Y: -0.0801941454410553
X: 0
Y: 0
Saved: ~
Window Geometry:
Displays:
Expand Down
2 changes: 1 addition & 1 deletion nav2_bringup/worlds/world_only.model
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<gui fullscreen='0'>
<camera name='user_camera'>
<pose frame=''>0.319654 -0.235002 9.29441 0 1.5138 0.009599</pose>
<pose frame=''>0 0 10 0 1.570796 0</pose>
<view_controller>orbit</view_controller>
<projection_type>perspective</projection_type>
</camera>
Expand Down

0 comments on commit 66596b0

Please sign in to comment.