feat(tracker): add tracker and RViz packages
This commit is contained in:
41
robot_dynamic_obstacle_tracker_rviz/README.md
Normal file
41
robot_dynamic_obstacle_tracker_rviz/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# Dynamic obstacle tracker RViz review
|
||||
|
||||
This standalone ROS1 demo ray-casts two simulated LiDAR scans at 10 Hz, feeds
|
||||
those same scans through `SensorStore` -> `tf3` -> `TrackerService`, and opens
|
||||
RViz. The scene contains static clutter and several obstacles moving on
|
||||
bounded paths while the robot moves within a small area and turns slowly, so
|
||||
the scene stays visible during review. The default layout
|
||||
has 9 stationary and 3 moving circles; counts can be adjusted with the private
|
||||
ROS parameters `static_circle_count` (1-9) and `moving_circle_count` (1-3).
|
||||
|
||||
Build from the workspace root and launch:
|
||||
|
||||
```bash
|
||||
cd ~/T800_ws
|
||||
catkin_make --pkg robot_dynamic_obstacle_tracker_rviz -j2
|
||||
source devel/setup.bash
|
||||
export ROS_MASTER_URI=http://127.0.0.1:11321
|
||||
export ROS_IP=127.0.0.1
|
||||
roslaunch robot_dynamic_obstacle_tracker_rviz tracker_rviz_sim.launch
|
||||
```
|
||||
|
||||
For a denser scene, set the counts on the launch command, for example:
|
||||
|
||||
```bash
|
||||
roslaunch robot_dynamic_obstacle_tracker_rviz tracker_rviz_sim.launch \
|
||||
robot_dynamic_obstacle_tracker_rviz_sim/static_circle_count:=9 \
|
||||
robot_dynamic_obstacle_tracker_rviz_sim/moving_circle_count:=3
|
||||
```
|
||||
|
||||
The dedicated ROS master port keeps these demo topics and TF frames separate
|
||||
from any already-running Gazebo or robot navigation graph.
|
||||
|
||||
RViz shows front/rear simulated LiDAR in blue/orange, tracked stationary
|
||||
objects in green, moving objects in red, unknown motion in yellow, velocity
|
||||
arrows, and a 2 second constant-velocity prediction. Yellow and purple outlines
|
||||
with `GT STATIC`/`GT MOVING` labels show simulated ground truth, so missed or
|
||||
occluded detections remain visible for comparison. The node also publishes
|
||||
`/tracker/status`. Close the launch terminal with Ctrl-C when done.
|
||||
|
||||
This is a visualization harness for the tracker pipeline, not a Gazebo run and
|
||||
not yet an integration with `move_base2` or the real robot's scan topics.
|
||||
Reference in New Issue
Block a user