add lazy REID in code, better tracking to one target

就是yolo这一帧没检测到目标,因为正常来说前后的detections都是2,他这时候只是1,确实就是没检测到
This commit is contained in:
hjy
2026-04-16 21:43:44 +08:00
parent 19b8b1b472
commit 7163663118
13 changed files with 1081 additions and 152 deletions
+59 -13
View File
@@ -14,8 +14,11 @@ Panels:
- /Prediction1
- /Prediction1/Image1
- /Prediction1/Marker2
- /Planning1
- /Planning1/GridMap1
- /Planning1/path1
Splitter Ratio: 0.5
Tree Height: 865
Tree Height: 892
- Class: rviz_common/Selection
Name: Selection
- Class: rviz_common/Tool Properties
@@ -426,7 +429,7 @@ Visualization Manager:
Value: /target/pred_trajectory
Value: true
- Class: rviz_default_plugins/Image
Enabled: false
Enabled: true
Max Value: 1
Median window: 5
Min Value: 0
@@ -438,7 +441,7 @@ Visualization Manager:
History Policy: Keep Last
Reliability Policy: Reliable
Value: /target/pred_image
Value: false
Value: true
- Alpha: 1
Class: rviz_default_plugins/PointStamped
Color: 224; 27; 36
@@ -473,7 +476,7 @@ Visualization Manager:
Enabled: true
Name: Marker
Namespaces:
traj_prediction: true
{}
Topic:
Depth: 5
Durability Policy: Volatile
@@ -484,6 +487,49 @@ Visualization Manager:
Value: true
Enabled: true
Name: Prediction
- Class: rviz_common/Group
Displays:
- Alpha: 1
Autocompute Intensity Bounds: true
Class: grid_map_rviz_plugin/GridMap
Color: 200; 200; 200
Color Layer: traversability
Color Transformer: GridMapLayer
Enabled: true
Height Layer: elevation
Height Transformer: GridMapLayer
History Length: 1
Invert Rainbow: true
Max Color: 255; 255; 255
Max Intensity: 10
Min Color: 0; 0; 0
Min Intensity: 0
Name: GridMap
Show Grid Lines: true
Topic:
Depth: 5
Durability Policy: Volatile
Filter size: 10
History Policy: Keep Last
Reliability Policy: Reliable
Value: /local_grid_map
Use Rainbow: true
Value: true
- Class: rviz_default_plugins/MarkerArray
Enabled: true
Name: path
Namespaces:
future_path: true
future_yaw: true
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Reliable
Value: /odin1/odometry_rts_future_markers
Value: true
Enabled: true
Name: Planning
Enabled: true
Global Options:
Background Color: 48; 48; 48
@@ -530,37 +576,37 @@ Visualization Manager:
Views:
Current:
Class: rviz_default_plugins/ThirdPersonFollower
Distance: 31.34433937072754
Distance: 8.066532135009766
Enable Stereo Rendering:
Stereo Eye Separation: 0.05999999865889549
Stereo Focal Distance: 1
Swap Stereo Eyes: false
Value: false
Focal Point:
X: -29.93891143798828
Y: -29.894529342651367
Z: -3.1263247365131974e-05
X: -0.3127555847167969
Y: 0.25075721740722656
Z: 0
Focal Shape Fixed Size: false
Focal Shape Size: 0.05000000074505806
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.009999999776482582
Pitch: 0.545399010181427
Pitch: 0.9853979349136353
Target Frame: odin1_base_link
Value: ThirdPersonFollower (rviz_default_plugins)
Yaw: 0.24540430307388306
Yaw: 2.8103888034820557
Saved: ~
Window Geometry:
Displays:
collapsed: false
Height: 1016
Height: 1043
Hide Left Dock: false
Hide Right Dock: false
Image:
collapsed: false
Image_undistort:
collapsed: false
QMainWindow State: 000000ff00000000fd0000000400000000000001d40000039efc020000000dfb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb0000000a0049006d006100670065000000003d000002040000002800fffffffb000000100044006900730070006c006100790073010000003d0000039e000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d00610067006500000001f7000001700000002800fffffffb0000002200640065006e00730065005f00640065007000740068005f0069006d006100670065000000023e0000007a0000002800fffffffb0000001e0049006d006100670065005f0075006e0064006900730074006f00720074000000028f0000014c0000002800fffffffb0000002a0063006c006f007500640073006c0061006d005f0072006500700072006f006a006500630074006500640000000310000000cb0000002800ffffff000000010000010f0000039efc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003d0000039e000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d006501000000000000045000000000000000000000044b0000039e00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
QMainWindow State: 000000ff00000000fd0000000400000000000001d4000003b9fc020000000dfb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb0000000a0049006d006100670065000000003d000002040000002800fffffffb000000100044006900730070006c006100790073010000003d000003b9000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d006100670065030000082a00000112000002bd00000249fb0000002200640065006e00730065005f00640065007000740068005f0069006d006100670065000000023e0000007a0000002800fffffffb0000001e0049006d006100670065005f0075006e0064006900730074006f00720074000000028f0000014c0000002800fffffffb0000002a0063006c006f007500640073006c0061006d005f0072006500700072006f006a006500630074006500640000000310000000cb0000002800ffffff000000010000010f000003b9fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003d000003b9000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d006501000000000000045000000000000000000000044b000003b900000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Selection:
collapsed: false
Tool Properties:
@@ -569,7 +615,7 @@ Window Geometry:
collapsed: false
Width: 1850
X: 70
Y: 27
Y: 0
cloudslam_reprojected:
collapsed: false
dense_depth_image: