[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

Thilo Zimmermann via ros-users


### [ROS#](https://github.com/siemens/ros-sharp) is a set of software libraries and tools in C# for communicating with ROS from .NET applications, in particular Unity.  

### ROS# consists of...  

* _RosBridgeClient_, a .NET API to ROS using rosbridge_suite on the ROS side.
* _UrdfImporter_, a URDF file parser for .NET applications.
* _RosSharp.unitypackage_, a Unity Asset package providing Unity-specific extensions to RosBridgeClient and UrdfImporter.

### ROS# helps you to...  
* **Communicate** with ROS from within your Windows app:

        Subscribe and publish topics, call and advertize services, set and get parameters and use all features provided by rosbridge_suite. (See code example below.)
               
* **Import** your robot's URDF model as a Gameobject in Unity3D (see https://youtu.be/EhSbufLlvvc).

        Import the data either directly from the ROS system using the robot_description service or via a URDF file that you copied into your Unity Asset folder.
       
* **Control** your real Robot via Unity3D (see https://youtu.be/OytzagQirrk)

* **Visualize** your Robot's actual state and sensor Data in Unity3D (see https://youtu.be/wo3hwsPFEPY)
                   
* **Simulate** your robot in Unity3D with the data provided by the URDF and without using a connection to ROS.
 
Beside visual components as meshes and textures, also Joint parameters and masses, CoMs, Inertia and Collider specifications of Rigidbodies are imported.
       
* **And much more!** ROS# is useful for a wide variety of applications. Think about Machine Learning, Human-Machine Interaction, Tele-Engineering, Virtual Prototyping, Robot Fleet Operation, Gaming and Entertainment!

### Got Interested? ###
Please do not hesitate to try it out yourself and to get in touch with us!
We are very interested in your feedback, applications, improvement suggestions, and contributions!

---

ROS# Development Team ([hidden email]), Siemens AG, Corporate Technology, 2017





---
[Visit Topic](https://discourse.ros.org/t/ros-on-github-com-siemens-ros-sharp/3405/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

Thilo Zimmermann via ros-users


## Code Example ##
A simple Publisher/Subscriber Example:

```cs
using System;
using RosSharp.RosBridgeClient;

// commands on ROS system:
// roscore
// rostopic echo /talker
// rostopic pub /listener std_msgs/String "World!"
// roslaunch rosbridge_server rosrbridge_websocket.launch

public class HelloWorld
{
    public static void Main(string[] args)
    {
        RosSocket rosSocket = new RosSocket("ws://192.168.0.101:9090");

        // Publication:
        int publication_id = rosSocket.Advertize("/talker", "std_msgs/String");

        StandardString message = new StandardString();
        message.data = "Hello!";
        rosSocket.Publish(publication_id, message);

        // Subscription Example:
        int subscription_id = rosSocket.Subscribe("/listener", "std_msgs/String", subscriptionHandler);

        Console.WriteLine("Press any key to close...");
        Console.ReadKey(true);
        rosSocket.Close();
    }
    private static void subscriptionHandler(Message message)
    {
        StandardString standardString = (StandardString)message;
        Console.WriteLine(standardString.data);
    }
}


```





---
[Visit Topic](https://discourse.ros.org/t/ros-on-github-com-siemens-ros-sharp/3405/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

Thilo Zimmermann via ros-users
In reply to this post by Thilo Zimmermann via ros-users


My post above was limited to 5 links and 2 pictures only :frowning_face:
...here is some additional media :

(1)
        [video](https://www.youtube.com/watch?v=cjp75A_HBSs)
(2)
        ![RVizUnity|345x180](upload://wv0kzVi7ZDQ8hldb4sJSKoAl33.jpg)
(3)
        ![Simulation|345x180](upload://6K3a6Bk1EfzAzP8sqpHEx0DDBXE.jpg)





---
[Visit Topic](https://discourse.ros.org/t/ros-on-github-com-siemens-ros-sharp/3405/3) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

Thilo Zimmermann via ros-users
In reply to this post by Thilo Zimmermann via ros-users


We get Texture2Ds in Unity which can be converted to Jpeg or Pngs and further base64 encodings. Can these video feed be transferred over RosBridge to convert it into an image topic?





---
[Visit Topic](https://discourse.ros.org/t/ros-on-github-com-siemens-ros-sharp/3405/4) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] ROS# on github.com/siemens/ros-sharp

Thilo Zimmermann via ros-users
In reply to this post by Thilo Zimmermann via ros-users


Hi pushkalkatara,
you opened an issue on our Github project site with the same question yesterday. We already gave you an answer there:
https://github.com/siemens/ros-sharp/issues/28





---
[Visit Topic](https://discourse.ros.org/t/ros-on-github-com-siemens-ros-sharp/3405/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>