This commit is contained in:
trung09122002
2025-10-01 16:49:30 +07:00
parent d5979b83d4
commit 2ddfce8ef7
2 changed files with 84 additions and 32 deletions

View File

@@ -31,11 +31,8 @@
<!-- (3) Ngưỡng theo lớp --> <!-- (3) Ngưỡng theo lớp -->
<param name="use_per_class_th" value="true"/> <param name="use_per_class_th" value="true"/>
<rosparam param="class_thresholds"> <rosparam param="class_thresholds">
bottle: 0.10 cone: 0.12
chair: 0.16 fire_extinguisher: 0.12
tv: 0.22
person: 0.18
book: 0.20
</rosparam> </rosparam>
<!-- (4) Spatial scoring hợp nhất (appearance + 3D + recency) --> <!-- (4) Spatial scoring hợp nhất (appearance + 3D + recency) -->
@@ -53,7 +50,7 @@
<!-- Depth + hiển thị --> <!-- Depth + hiển thị -->
<param name="use_depth" value="true"/> <param name="use_depth" value="true"/>
<param name="publish_markers" value="true"/> <param name="publish_markers" value="true"/>
<param name="show_debug" value="false"/> <param name="show_debug" value="true"/>
<!-- Topics đúng theo realsense2_camera --> <!-- Topics đúng theo realsense2_camera -->
<param name="color_topic" value="/camera/color/image_raw"/> <param name="color_topic" value="/camera/color/image_raw"/>
@@ -62,6 +59,5 @@
</node> </node>
<!-- RViz --> <!-- RViz -->
<node pkg="rviz" type="rviz" name="rviz" <node pkg="rviz" type="rviz" name="rviz" args="-d $(find landmarks_detection)/rviz/landmarks.rviz"/>
args="-d $(find landmarks_detection)/rviz/landmarks.rviz"/>
</launch> </launch>

View File

@@ -1,12 +1,26 @@
Panels: Panels:
- Class: rviz/Displays - Class: rviz/Displays
Help Height: 70
Name: Displays Name: Displays
Property Tree Widget:
Expanded: ~
Splitter Ratio: 0.5
Tree Height: 140
- Class: rviz/Selection - Class: rviz/Selection
Name: Selection Name: Selection
- Class: rviz/Views - Class: rviz/Views
Expanded:
- /Current View1
Name: Views Name: Views
Splitter Ratio: 0.5
- Class: rviz/Time - Class: rviz/Time
Name: Time Name: Time
SyncMode: 0
SyncSource: ""
Preferences:
PromptSaveOnExit: true
Toolbars:
toolButtonStyle: 2
Visualization Manager: Visualization Manager:
Class: "" Class: ""
Displays: Displays:
@@ -16,26 +30,57 @@ Visualization Manager:
Color: 160; 160; 160 Color: 160; 160; 160
Enabled: true Enabled: true
Line Style: Line Style:
Line Width: 0.03 Line Width: 0.029999999329447746
Value: Lines Value: Lines
Name: Grid Name: Grid
Normal Cell Count: 0 Normal Cell Count: 0
Offset:
X: 0
Y: 0
Z: 0
Plane: XY Plane: XY
Plane Cell Count: 10 Plane Cell Count: 10
Reference Frame: <Fixed Frame> Reference Frame: <Fixed Frame>
Value: true Value: true
- Class: rviz/TF - Class: rviz/TF
Enabled: true Enabled: true
Filter (blacklist): ""
Filter (whitelist): ""
Frame Timeout: 15 Frame Timeout: 15
Frames:
All Enabled: true
camera_aligned_depth_to_color_frame:
Value: true
camera_color_frame:
Value: true
camera_color_optical_frame:
Value: true
camera_depth_frame:
Value: true
camera_depth_optical_frame:
Value: true
camera_link:
Value: true
Marker Alpha: 1
Marker Scale: 1 Marker Scale: 1
Name: TF Name: TF
Show Arrows: true Show Arrows: true
Show Axes: true Show Axes: true
Show Names: true Show Names: true
Tree: {} Tree:
camera_link:
camera_aligned_depth_to_color_frame:
camera_color_optical_frame:
{}
camera_color_frame:
{}
camera_depth_frame:
camera_depth_optical_frame:
{}
Update Interval: 0
Value: true Value: true
- Class: rviz/Image - Class: rviz/Image
Enabled: true Enabled: false
Image Topic: /camera/color/image_raw Image Topic: /camera/color/image_raw
Max Value: 1 Max Value: 1
Median window: 5 Median window: 5
@@ -44,12 +89,14 @@ Visualization Manager:
Normalize Range: true Normalize Range: true
Queue Size: 2 Queue Size: 2
Transport Hint: raw Transport Hint: raw
Value: true Unreliable: false
Value: false
- Class: rviz/MarkerArray - Class: rviz/MarkerArray
Enabled: true Enabled: true
Marker Topic: /landmark_markers Marker Topic: /landmark_markers
Name: Landmarks Name: Landmarks
Namespaces: {} Namespaces:
{}
Queue Size: 100 Queue Size: 100
Value: true Value: true
Enabled: true Enabled: true
@@ -61,47 +108,56 @@ Visualization Manager:
Name: root Name: root
Tools: Tools:
- Class: rviz/Interact - Class: rviz/Interact
Hide Inactive Objects: true
- Class: rviz/MoveCamera - Class: rviz/MoveCamera
- Class: rviz/Select - Class: rviz/Select
- Class: rviz/Measure - Class: rviz/Measure
- Class: rviz/SetInitialPose - Class: rviz/SetInitialPose
Theta std deviation: 0.2617993950843811
Topic: initialpose
X std deviation: 0.5
Y std deviation: 0.5
- Class: rviz/SetGoal - Class: rviz/SetGoal
Topic: goal
Value: true
Views: Views:
Current: Current:
Class: rviz/Orbit Class: rviz/Orbit
Distance: 3 Distance: 5.9214677810668945
Enable Stereo Rendering: Enable Stereo Rendering:
Stereo Eye Separation: 0.06 Stereo Eye Separation: 0.05999999865889549
Stereo Focal Distance: 1 Stereo Focal Distance: 1
Swap Stereo Eyes: false Swap Stereo Eyes: false
Value: false Value: false
Field of View: 0.7853981852531433
Focal Point: Focal Point:
X: 0 X: 0
Y: 0 Y: 0
Z: 0 Z: 0
Focal Shape Fixed Size: true Focal Shape Fixed Size: true
Focal Shape Size: 0.05 Focal Shape Size: 0.05000000074505806
Invert Z Axis: false Invert Z Axis: false
Name: 3D View Name: Current View
Near Clip Distance: 0.01 Near Clip Distance: 0.009999999776482582
Pitch: 0.6 Pitch: 0.41500020027160645
Target Frame: camera_color_optical_frame Target Frame: camera_color_optical_frame
Yaw: 0.6 Yaw: 0.5950000286102295
Saved: ~
Window Geometry: Window Geometry:
Color Image:
collapsed: true
Displays: Displays:
collapsed: false collapsed: true
Height: 900 Height: 647
Hide Left Dock: false Hide Left Dock: true
Hide Right Dock: false Hide Right Dock: false
QMainWindow State: 0000000000000000 QMainWindow State: 000000ff00000000fd00000001000000000000049b0000032efc0200000005fb000000160043006f006c006f007200200049006d006100670065000000003b000000a10000001600fffffffb000000100044006900730070006c00610079007300000000e20000010d000000c700fffffffb0000001200530065006c0065006300740069006f006e00000001f5000000830000005c00fffffffb0000000a00560069006500770073000000027e000000ad000000a000fffffffb0000000800540069006d00650000000331000000380000003800ffffff000003250000023100000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Selection: Selection:
collapsed: false collapsed: true
Time: Time:
collapsed: false collapsed: true
Tool Properties:
collapsed: false
Views: Views:
collapsed: false collapsed: true
Width: 1400 Width: 805
X: 100 X: 2024
Y: 50 Y: 269