SeqLog is an Unreal Engine 5 plugin designed to extend the functionality of the ROS2UE5 repository by providing an interface to the Seq log data sink. It allows you to collect and retrieve detailed simulation data and log information from Cyber-Physical System (CPS) simulations, enhancing your ability to analyze and debug your robotic simulations.
- Logs and stores detailed simulation data from Unreal Engine and ROS2 in Seq, a centralized logging platform.
- Enables easy debugging and performance tracking of Cyber-Physical System simulations.
- Integrates seamlessly with the ROS2UE5 plugin for advanced data analysis and monitoring.
To use the SeqLog plugin, you will need the following:
-
Datalust Seq: A centralized logging and analytics platform that allows for real-time monitoring of logs and metrics. The recommended way to install Seq is through its Docker container (see installation instructions below).
-
Unreal Engine 5.3: The SeqLog plugin is designed to work with projects built in Unreal Engine version 5.3 or higher.
-
ROS2UE5 Plugin: While the SeqLog plugin can be used on its own for logging purposes, it is most effective when used alongside the ROS2UE5 plugin for robotic simulations.
The easiest and most recommended way to install Seq is by using the Docker container provided by Datalust.
-
First, ensure Docker is installed on your system. You can find Docker installation instructions here.
-
Run the following command to pull and run the official Seq Docker container:
docker run --name seq -d --restart unless-stopped -e ACCEPT_EULA=Y -p 5341:80 datalust/seq
-
Once the container is up and running, Seq will be accessible at
http://localhost:5341
. You can open this URL in your browser to access the Seq dashboard. -
Optionally, if you want to persist logs across container restarts, you can add a volume to the Docker run command:
docker run --name seq -d --restart unless-stopped -e ACCEPT_EULA=Y -p 5341:80 -v /path/to/seq/log:/data datalust/seq
-
Download or clone the SeqLog repository to your local machine:
git clone https://github.com/ManuETR/SeqLog.git
-
Copy the
SeqLog
plugin folder into your Unreal project’sPlugins
directory:<YourUnrealProject>/Plugins/SeqLog
-
Open your project in Unreal Engine and activate the SeqLog plugin:
- Go to Edit -> Plugins.
- Search for "SeqLog" and enable the plugin.
- Restart Unreal Engine if prompted.
-
In Unreal Engine, navigate to the SeqLog Settings in the project settings:
- Edit -> Project Settings -> SeqLog
- Configure the Seq server URL (e.g.,
http://localhost:5341
) to point to your running Seq instance.
Once the plugin is set up and your project is running:
-
Start Simulation: Run your simulation in Unreal Engine as usual. SeqLog will automatically send log data to your Seq instance.
-
Monitor Logs in Seq: Open the Seq dashboard at
http://localhost:5341
to monitor real-time simulation data. You will be able to search, filter, and analyze logs from your simulation. -
Data Analysis: Use the Seq query language (SQL-like) to search for specific log events, visualize data trends, and create alerts or dashboards for deeper insights into the performance and behavior of your simulation.
-
Logging Custom Data: You can also customize the logging behavior in Unreal Engine to send specific log messages or data points to Seq. See the Unreal Engine logging API for details on how to log custom events.