- Host Configuration
- Runtime Node Configuration
- SDF Configuration
- Logfile Management
- Managing the Runtime
- Application Code Portability
- Building C Examples
- Building C++ Examples
- Building a Node
- Clone Example Repos
- Coordinate Frames
- Diagnostic Trouble Codes
- Extending the Data Model
- IDE Setup
- Logged vs Source vs Published Video Parameters
- MATLAB to Export - BETA
- PolySync Messages
- ROS Bridge
- Release Notes
- Standard Units
- Dynamic Driver/HW Interface Development
- Application Development
Import and Replay Logfile Data
PolySync Studio allows you to visualize and manage the different kinds of data that sensors have captured in logfile sessions. This article will introduce you to the most commonly used workflow within the PolySync ecosystem.
PolySync Core has the ability to replay prerecorded sensor data stored in a PolySync logfile session.
This article shows you how to import and replay the logfile session
1000 that ships with PolySync Core, but this workflow is used to import and replay any logfile session.
1. Run PolySync manager
Start the PolySyncas a service before any other PolySync nodes.
$ sudo service polysync-core-manager start
Note that while in the replay state, the system is referencing the.
2. Import the logfile session using Studio
Studio provides an interface to export recorded logfile sessions, from a single-host or a distributed system, and import the logfile session to any other PolySync system.
Follow these steps to import a previously exported logfile session.
Start PolySync manager.
Start Studio with the desktop icon, or the command.
Click the icon.
Right-click within the logfile manager section, or select the icon.
Navigate to and select the extracted and decompressed logfile session folder
/usr/local/polysync/rnr_logs/1000, click the Import button.
Allow the logfile session to fully import.
Studio will begin importing the files to the logfile management section. The import status is shown with a loading bar. A textual status and description of the file transfer is provided in the console debug log messages.
Once the session is visible within the logfile manager, it can be selected for playback by dragging the folder to the playlist and double-clicking the playlist entry.
3. Visualize sample data
visualizes data being published to the , and provides an interface to record and replay PolySync logfile sessions.
Start PolySync Studio from the Ubuntu icon, or from the command line:
Studio will open in standby mode, signifying it is ready to replay a logfile session or enter hardware mode. Click the green system state indicator in the bottom-left for more details about the system mode and status.
4. Load the logfile session
Open the logfile manager.
Logfile sessions that are available for replay show up in the logfile manager pane. Select the logfile session that ships with PolySync releases─”Session 1000”─and drag it to the playlist pane on the right.
Click on the arrow to dropdown and list the nodes associated with the logfile session. These are the same nodes defined in thefor this logfile session.
Before selecting a logfile session for replay, open the 3D View plugin in preparation to visualize data.
To replay a logfile session, double click the session Name in the playlist pane. Each nodes status is shown in the playlist dropdown menu, where you can watch nodes change as they each load an individual
When the selected logfile session has been loaded by all nodes, it will begin playback automatically. The 3D View plugin will begin displaying RADAR and LiDAR data. The Xsens data is visible in the trace plugin, as a
The system state indicator at the bottom-left changes from green to blue to indicate a session is being replayed.
If there is an error in loading, the system state indicator at the bottom-left will change to red. Click it for more details, and see solutions to common problems here.
Congratulations! You have successfully replayed and visualized the sample data.