update hector

This commit is contained in:
Robot 2023-06-16 17:23:49 +08:00
parent 0f5fde211a
commit f88d5b381a
2 changed files with 60 additions and 41 deletions

View File

@ -4,7 +4,9 @@
<include file="$(find wpr_simulation)/launch/wpb_stage_slam.launch"/>
<!-- Hector SLAM -->
<node pkg="hector_mapping" type="hector_mapping" name="hector_mapping"/>
<node pkg="hector_mapping" type="hector_mapping" name="hector_mapping">
<param name="tf_map_scanmatch_transform_frame_name" value="base_footprint" />
</node>
<!-- Rviz 显示 -->
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find wpr_simulation)/rviz/slam.rviz"/>

View File

@ -3,15 +3,9 @@ Panels:
Help Height: 78
Name: Displays
Property Tree Widget:
Expanded:
- /Global Options1
- /Status1
- /Grid1
- /LaserScan1
- /Map1
- /TF1
Expanded: ~
Splitter Ratio: 0.5
Tree Height: 878
Tree Height: 862
- Class: rviz/Selection
Name: Selection
- Class: rviz/Tool Properties
@ -20,17 +14,18 @@ Panels:
- /2D Nav Goal1
- /Publish Point1
Name: Tool Properties
Splitter Ratio: 0.588679016
Splitter Ratio: 0.5886790156364441
- Class: rviz/Views
Expanded:
- /Current View1
Name: Views
Splitter Ratio: 0.5
- Class: rviz/Time
Experimental: false
Name: Time
SyncMode: 0
SyncSource: LaserScan
Preferences:
PromptSaveOnExit: true
Toolbars:
toolButtonStyle: 2
Visualization Manager:
@ -42,7 +37,7 @@ Visualization Manager:
Color: 160; 160; 164
Enabled: true
Line Style:
Line Width: 0.0299999993
Line Width: 0.029999999329447746
Value: Lines
Name: Grid
Normal Cell Count: 0
@ -69,22 +64,20 @@ Visualization Manager:
Enabled: true
Invert Rainbow: false
Max Color: 255; 255; 255
Max Intensity: 999999
Min Color: 0; 0; 0
Min Intensity: -6.83680113e-37
Name: LaserScan
Position Transformer: XYZ
Queue Size: 10
Selectable: true
Size (Pixels): 3
Size (m): 0.0299999993
Size (m): 0.029999999329447746
Style: Flat Squares
Topic: /scan
Unreliable: false
Use Fixed Frame: true
Use rainbow: true
Value: true
- Alpha: 0.699999988
- Alpha: 0.699999988079071
Class: rviz/Map
Color Scheme: map
Draw Behind: false
@ -114,16 +107,51 @@ Visualization Manager:
Show Axes: false
Show Trail: false
Value: true
base_top_link:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
body_back_link:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
body_link:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
front_link:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
head_link:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
kinect2_camera_frame:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
kinect2_dock:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
kinect2_front_frame:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
kinect2_head_frame:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
kinect2_ir_optical_frame:
Alpha: 1
Show Axes: false
@ -145,20 +173,6 @@ Visualization Manager:
Update Interval: 0
Value: true
Visual Enabled: true
- Class: rviz/TF
Enabled: false
Frame Timeout: 15
Frames:
All Enabled: true
Marker Scale: 0.5
Name: TF
Show Arrows: true
Show Axes: true
Show Names: true
Tree:
{}
Update Interval: 0
Value: false
Enabled: true
Global Options:
Background Color: 48; 48; 48
@ -174,7 +188,10 @@ Visualization Manager:
- Class: rviz/FocusCamera
- Class: rviz/Measure
- Class: rviz/SetInitialPose
Theta std deviation: 0.2617993950843811
Topic: /initialpose
X std deviation: 0.5
Y std deviation: 0.5
- Class: rviz/SetGoal
Topic: /move_base_simple/goal
- Class: rviz/PublishPoint
@ -184,25 +201,25 @@ Visualization Manager:
Views:
Current:
Class: rviz/Orbit
Distance: 14.0163193
Distance: 8.90985107421875
Enable Stereo Rendering:
Stereo Eye Separation: 0.0599999987
Stereo Eye Separation: 0.05999999865889549
Stereo Focal Distance: 1
Swap Stereo Eyes: false
Value: false
Field of View: 0.7853981852531433
Focal Point:
X: -0.629478931
Y: -0.149214342
Z: -1.89850044
X: 0.9705339074134827
Y: 0.17890144884586334
Z: -1.1741498708724976
Focal Shape Fixed Size: true
Focal Shape Size: 0.0500000007
Focal Shape Size: 0.05000000074505806
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.00999999978
Pitch: 1.14479995
Near Clip Distance: 0.009999999776482582
Pitch: 1.1447999477386475
Target Frame: <Fixed Frame>
Value: Orbit (rviz)
Yaw: 3.13039994
Yaw: 3.1303999423980713
Saved: ~
Window Geometry:
Displays:
@ -210,7 +227,7 @@ Window Geometry:
Height: 1167
Hide Left Dock: false
Hide Right Dock: true
QMainWindow State: 000000ff00000000fd000000040000000000000192000003fdfc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006100fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c0061007900730100000028000003fd000000d700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f0000037afc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007300000000280000037a000000ad00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000072700000046fc0100000002fb0000000800540069006d00650100000000000007270000030000fffffffb0000000800540069006d006501000000000000045000000000000000000000058f000003fd00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
QMainWindow State: 000000ff00000000fd000000040000000000000192000003e9fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d000003e9000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f0000037afc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007300000000280000037a000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000072700000046fc0100000002fb0000000800540069006d0065010000000000000727000003bc00fffffffb0000000800540069006d006501000000000000045000000000000000000000058f000003e900000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Selection:
collapsed: false
Time: