2021-01-25unity ROS

转自:
https://my.oschina.net/zhangrelay/blog/4822630

[ROS#资讯汇总(ROS、C#、.NET和Unity3D)]

ROS#是C#中的一组软件库和工具,用于.NET应用程序(尤其是Unity)与ROS进行通信。

之前博文涉及windows系统与ROS应用可参考(ROS2有windows版本):链接1链接2

^_^

本文是西门子公司的Martin Bischoff客座博客文章。 感谢Martin的更新,感谢西门子对ROS-Industrial Consortium的支持!

ROS#包括如下内容:

  • 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#可以实现功能有:

  1. Communicate:<u style="box-sizing: inherit;">通过Windows应用程序与ROS进行通讯</u>:订阅和发布主题,调用和发布服务,设置和获取参数以及使用rosbridge套件提供的所有功能。
image
  1. Import:<u style="box-sizing: inherit;">将机器人的URDF模型作为GameObject</u><u style="box-sizing: inherit;">导入到Unity3D中</u>。 使用robot_description服务直接从ROS系统导入数据,或通过复制到Unity资源文件夹中的URDF文件导入数据。
image
image
  1. Control:<u style="box-sizing: inherit;">通过Unity3D控制真实机器人</u>。
image
image
  1. Visualize:<u style="box-sizing: inherit;">在Unity3D中可视化机器人的实际状态和传感器数据</u>。
image
image
  1. Simulate:使用URDF提供的数据在Unity3D中实现机器人仿真(这里不使用与ROS的连接的方式)。 除了网格和纹理的可视化组件之外,还可以导入了刚体的关节参数、质量、CoMs、惯性和碰撞等规格指标。
image
image
  1. And much more:更多功能!ROS#可用于各种应用,如机器学习、人机交互、远程监控、虚拟原型、机器人操作、游戏和娱乐等!

其他附加资料(英文):

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 (ros-sharp.ct@siemens.com), Siemens AG, Corporate Technology, 2017


ROS# is a set of open source software libraries and tools in C# for communicating with ROS from .NET applications, in particularUnity3D.

Find some examples what you can do with ROS# here.

Contents:

RosBridgeClient

... provides a .NET API to ROS via rosbridge_suite.

UrdfImporter

... provides a URDF file parser for .NET applications.

ROS

... contains code for ROS nodes and ROS launch files which are useful to RosBridgeClient and/or UrdfImporter.

Unity3D

... is a Unity3D reference project providing Unity3D-specifc extensions to

Release

... contains RosSharp.unitypackage the latest package of ROS# assets from the Unity3D project.

Tutorials

... contains Unity3D tutorial projects described described in the Wiki.

Licensing:

ROS# is open source under the Apache 2.0 license and is free for commercial use.

External Dependencies:

RosBridgeClient uses the following 3rd party libraries:

UrdfImporter uses the following 3rd party libraries:

.NET Standard 2.0:

Both RosBridgeClient and UrdfImporter are running on .NET Framework 3.5 as this is the .NET platform currently supported by official Unity3D releases.

For Non-Unity3D-Applications blommers kindly provides a .NET Standard 2.0 version of UrdfImporter.

Special Thanks:

Further Info:


© Siemens AG, 2017

Author: Dr. Martin Bischoff (martin.bischoff@siemens.com)


User Documentation

1. Installation and Configuration

1.1 Unity3D on Windows

1.2 Ubuntu on Oracle VM

1.3 ROS on Ubuntu

1.4 Robot Setup and Configuration

1.4.1 NextageOpen

1.4.2 TurtleBot2

2. Application examples without ROS connection

2.1 Importing a URDF on Windows

2.2 Simulating a robot model in Unity3D

3. Application examples with ROS connection

3.1 Importing a URDF from ROS

3.2 Animating a robot model in Unity3D via ROS

3.2.1 Animating a robot model using /joint_states

3.2.2. Animating a robot model using /odom

Developer Documentation

General Information

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 《腾讯桌球:客户端总结》 本次分享总结,起源于腾讯桌球项目,但是不仅仅限于项目本身。虽然基于Unity3D,很多东...
    吴秦阅读 25,342评论 12 143
  • 安装最新版cmake & cmake https://blog.csdn.net/u011291667/artic...
    Jimmy_Tong阅读 1,529评论 0 0
  • 本文原创版权归 博客园吴秦所有,此处纯粹技术收藏,如有再转,敬请于显示位置标明原创作者及出处,以示尊重!! 作者:...
    Magic_Dong阅读 4,739评论 0 7
  • 目前推荐使用: https://code.visualstudio.com/ From: http://blog....
    fishg阅读 10,042评论 2 11
  • 夜莺2517阅读 128,347评论 1 9

友情链接更多精彩内容