Replay Logs And Visualize Sample Data
PolySync has the ability to replay prerecorded sensor data stored in a PolySync logfile session. This article shows you how to replay the logfile session `1000` that ships with PolySync, but this workflow is used to replay any logfile session that exists in the Studio logfile manager. ### 1. Run PolySync manager Start the PolySyncbefore any other PolySync nodes. ```bash $ polysync-manager 2033-08-10 17:57:34 DEBUG [8854:src/polysync_core.c:884] manager_daemon : created daemon process ``` ### 2. 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: ```bash $ polysync-studio ``` Studio will open in standby mode, signifying it is ready to replay a logfile session or enter hardware mode. Click the green [system state](https://help.polysync.io/releases/2.0.8//articles/system-state/) indicator in the bottom-left for more details about the system mode and status. ![System state selection](https://help.polysync.io/releases/2.0.8//wp-content/uploads/2016/11/system-state-icon.png) ### 3. Load the logfile session Open the logfile manager. ![Setup](https://help.polysync.io/releases/2.0.8//wp-content/uploads/2016/11/studio-import-02-with-emphasis.png) 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 the (SDF) for this logfile session. ### 4. Replay 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 `plog` file. ![Ready for Logfile Session Replay](https://help.polysync.io/releases/2.0.8//wp-content/uploads/2016/11/studio-logfile-4.png) 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 `ps_platform_motion_msg`. The system state indicator at the bottom-left changes from green to blue to indicate a session is being replayed. ![Logfile Session 1000 Playback](https://help.polysync.io/releases/2.0.8//wp-content/uploads/2016/11/studio-logfile-5.png) 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](/articles/?p=2237). ### Conclusion Congratulations! You have successfully replayed and visualized the sample data.