-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Image rendered by Unity stream to ROS topic #31
Comments
Hi @peneroka, Since Unity requires the users to agree to their license, we cannot provide Unity application inside our containers. However, we have given the steps to install Unity inside the containers (https://openuav.us/#unity) and you will have to agree to their license as per your needs. For the projects you are working on, you can create a Unity world similar to the one in Gazebo and use ROS-Sharp to communicate the position of Gazebo objects to Unity. In our experiments, we disable Unity physics and use the physics from Gazebo through ROS-Sharp. (https://github.com/siemens/ros-sharp) This enables us to rely only on physics from Gazebo while the photorealistic outdoor rendering is done by Unity. More details here: https://download.openuas.us/Thesis.pdf |
Thanks for the kind answer @harishanand95 Yes, I know that the Unity software itself can not be shared. But, it is not violating the Unity license to share the project files, isn't it? I mean, maybe you could kindly share an example of Unity project file (plus its corresponding Gazebo world/sdf and ROS launch files), also maybe with instructions of how to set it up so we can use Unity rendering to be streamed as an image topic in ROS. Thanks in advance 👍 |
Hi @peneroka, Unfortunately, I have other commitments, but I will try to get a sample UAV Unity code added to the repo. The approach you can follow is very well documented in ROS-Sharp community. You can get Turtlebot models to communicate between Unity and Gazebo by following the instructions in this pages.
Few other considerations to look out for,
Here are few other related works,
|
Hello! Is there any example where I can launch to demonstrate usage of Unity to render image stream and subscribe it from ROS? (maybe something similar) Where is it located and how to launch it? Thanks before.
The text was updated successfully, but these errors were encountered: