-
Notifications
You must be signed in to change notification settings - Fork 65
Visualizing OPT Data in RViz
The ROS Tool RViz makes it easy to view a variety of different internal data available in OpenPTrack.
Review the RViz manual here for information on its basic operation: http://wiki.ros.org/rviz/UserGuide
To add topics using the most appropriate visual display, click on Add > By Topic and then select the topic desired.
To add any topic to Rviz start by clicking the add button on the bottom left of the Rviz screen:
Then in the window that appears, select the By Topic tab:
These first two steps are the same for the rest of the topics that follow:
In the By Topic Tab, scroll down and look for the header tracker and the sub-group skeleton_markers_array. Now select the MarkerArray under this header. Lastly select Okay to add this topic to Rviz:
Object/Props Identification (/tracker/object_markers_array_smoothed) [i.e. seeing the object marker with its name defined in the object training GUI]
In the By Topic Tab, scroll down and look for the header tracker and the sub-group object_markers_array_smoothed. Now select the MarkerArray under this header. Lastly select Okay to add this topic to Rviz:
In the By Topic Tab, scroll down and look for the header tracker and the sub-group object_history. Now select the PointCloud2 under this header. Lastly select Okay to add this topic to Rviz:
In the By Topic Tab, scroll down and look for the header recognizer and the sub-group markers. Now select the MarkerArray under this header. Lastly select Okay to add this topic to Rviz:
I made a mistake, and did not take the correct screenshot for this, but if you have gotten this far you should be able to find this topic :)
- /opt_calibration/markers - Calibration markers (camera position?)
- origin?
- /<sensor_name>/depth_ir/points - Point cloud per image
- RGB image?
- camera position?
- /tracker/tracks_smoothed - Person tracks, smoothed (as reported in UDB)
- /tracker/alive_ids - IDs of tracks considered alive
- /tracker/history_smoothed - Historical trail of person tracks
- /tracker/markers_array_smoothed - ??
- /detector/detections - Raw detections (per detection node)
- /tracker/markers - See below
- /tracker/object_markers_array_smoothed - Object tracks, smoothed (as reported in UDP)
- /tracker/object_history - Path history of objects
- Object ids?
- /tracker/skeleton_markers_array - Raw skeletons
- /recognizer/markers - Recognized poses
- Pose id?
By default all skeletons are shown, including both raw and fused. It is possible to select whatever preferred views (for example fused/smooth). To do this select only the *_valid namespaces under the topic by unchecking the rest. An image is shown below:
Eventually should be part of the section above on person tracking
- Select: Add (bottom left of Rviz)
- Under the “By display type tab” in the popup window, select “MarkerArray”
- Then within the topic (where it is shown on the left hand side in Rviz), make sure the topic is expanded and open the dropdown “Marker Topic”
- Within this dropdown select “/tracker/markers_array_smoothed”
- Then have someone walk around the space
- while this is happening under the MarkerArray topic, expand the dropdown Namespace
- within this you should see each of the cameras that has tracker during the entire time Rviz has been running, not only the cameras that are currently tracking.
- while the person is walking around the space you should see multiple balls representing the person in rviz.
- within the Namespaces you can toggle each camera on and off. By toggling the different cameras on and off you can determine what cameras are tacking a person This is a slow tedious process.
- System Requirements
- Supported Hardware
- Initial Network Configuration
- Example Hardware List for UCLA Setup
- Making the Checkerboard
- Time Synchronization
- Pre-Tracking Configuration
- Camera Network Configuration
- Single Camera
- Setting Parameters
- Multi-Sensor Person Tracking
- HOG vs YOLO Detectors
- World Coordinate Settings
- Single Camera
- Pose Initialization
- Multi Sensor Pose Annotation
- Pose Best Practices
- Setting Parameters
- Single Camera
- Setting Parameters
- Multi Sensor Object Tracking
- YOLO Custom Training & Testing
- Yolo Trainer
- Single Camera
- Setting Parameters
- Multi Sensor Face Detection and Recognition
- Face Detection and Recognition Data Format
How to receive tracking data in: