add multi-target support (TargetObservation + rviz publish);

现在可以发布包含多个目标的消息了,而且自带多目标管理系统,可以支持发布多目标的info,debug和后续推理都可以
This commit is contained in:
hjy
2026-04-19 16:48:54 +08:00
parent a1fddc9638
commit 5b177c90f4
11 changed files with 910 additions and 461 deletions
+16 -21
View File
@@ -13,7 +13,8 @@ Panels:
- /slam1
- /dense_depth_demo1
- /Prediction1
- /Prediction1/Path1
- /Prediction1/detection_pos_world1
- /Prediction1/detection_pos_cam1
- /Prediction1/Marker1
- /Planning1
- /Planning1/GridMap1
@@ -424,35 +425,30 @@ Visualization Manager:
Reliability Policy: Reliable
Value: /target/pred_image
Value: false
- Alpha: 1
Class: rviz_default_plugins/PointStamped
Color: 224; 27; 36
Enabled: false
History Length: 10
Name: target_pos_world
Radius: 0.30000001192092896
- Class: rviz_default_plugins/MarkerArray
Enabled: true
Name: detection_pos_world
Namespaces:
detection_label: true
detection_sphere: true
Topic:
Depth: 5
Durability Policy: Volatile
Filter size: 10
History Policy: Keep Last
Reliability Policy: Reliable
Value: /odin1/sync/target_pos_world
Value: false
- Alpha: 1
Class: rviz_default_plugins/PointStamped
Color: 204; 41; 204
Value: /odin1/sync/detection_pos_world
Value: true
- Class: rviz_default_plugins/MarkerArray
Enabled: false
History Length: 1
Name: target_pos_cam
Radius: 0.20000000298023224
Name: detection_pos_cam
Namespaces:
{}
Topic:
Depth: 5
Durability Policy: Volatile
Filter size: 10
History Policy: Keep Last
Reliability Policy: Reliable
Value: /odin1/sync/target_pos_cam
Value: /odin1/sync/detection_pos_cam
Value: false
- Alpha: 1
Buffer Length: 1
@@ -542,8 +538,7 @@ Visualization Manager:
Enabled: true
Name: path
Namespaces:
future_path: true
future_yaw: true
{}
Topic:
Depth: 5
Durability Policy: Volatile