ROSLogger is an Unreal Engine 5.3 plugin designed to log ROS2 messages by fetching them from rosbridge and forwarding them to the internal Unreal Engine log. It allows users to specify which topics and nodes to listen to, facilitating seamless integration of ROS2 systems with Unreal Engine projects.
- Fetch ROS2 messages from rosbridge
- Log ROS2 messages to Unreal Engine internal log
- Specify topics and nodes to listen to
- Easy integration with Unreal Engine 5.3 projects
- Unreal Engine 5.3
- ROS2 Humble
Ensure you have ROS2 Humble and rosbridge_suite installed and running:
- Install ROS2 Humble: ROS2 Installation Guide
- Install rosbridge_suite:
sudo apt update sudo apt install ros-humble-rosbridge-suite
- Run rosbridge:
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
-
Clone this repository into your Unreal Engine project's
Plugins
directory:cd YourUnrealProject/Plugins git clone https://github.com/yourusername/ROSLogger.git
-
Open your Unreal Engine project and navigate to the
Plugins
menu. Enable the "ROSLogger" plugin and restart the editor if prompted.
- Open the Unreal Engine project settings and navigate to
Plugins > ROSLogger
. - Configure the connection settings for rosbridge:
- WebSocket Address: The WebSocket address of your rosbridge server (e.g.,
ws://localhost:9090
). - Topics: List the ROS2 topics you want to listen to.
- Nodes: List the ROS2 nodes you want to listen to (optional).
- WebSocket Address: The WebSocket address of your rosbridge server (e.g.,
Here's an example configuration:
- WebSocket Address:
ws://localhost:9090
- Topics:
/example_topic1
/example_topic2
- Nodes (optional):
/example_node1
ROS2 messages from the specified topics and nodes will be logged to the Unreal Engine internal log. You can view the log messages in the Output Log window within the Unreal Engine editor.
Contributions are welcome! Please open an issue or submit a pull request with any improvements or bug fixes.