This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
创建内容
内容优化
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

ROS Vehicle

This demo is based on ROS2 Galactic and showcases integration of the Robot Operating System (ROS 2) with a UNIGINE project to help build robot applications. The demo implements simulation of the automotive vehicle control via ROS and simulation of sensors (cameras and LiDARs) mounted on the car. In the application, you can control two vehicles available in the demo scene. The data from cameras and LiDARs can be sent via ROS to any other listening app.

Features#

This demo requires at least two applications to be run simultaneously:

  • ROS Vehicle (Simulator App) — renders the simulation and sensor data that can be sent via ROS to any other listening app. Use WASD controls + mouse to move the overall view camera. To control the vehicles, use Teleop applications, the Simulator shall receive user input and move vehicles accordingly.
  • ROS Control (Teleop App) — processes the input (pressed control keys) from the user and transmits it. You can run two Teleop applications to control two vehicles simultaneously. A vehicle can also be controlled from another PC via the local network.

RViz 3D visualization tool for ROS (included in the original ROS2 package) can be used to render point cloud visualization based on the sensor data received from the ROS Vehicle application (LiDAR, camera).

To launch RViz 3D application use the corresponding script depending on your OS: run_rviz2_linux.sh/run_rviz2_windows.bat.

Accessing Demo Source Code#

You can study and modify the source code of this demo to create your own projects. To access the source code do the following:

  1. Find the ROS Vehicle demo in the Demos section and click Install (if you haven't installed it yet).
  2. After successful installation the demo will appear in the Installed section, and you can click Copy as Project to create a project based on this demo.
  3. In the Create New Project window, that opens, enter the name for your new project in the corresponding field and click Create New Project.
  4. Now you can click Open Code IDE to check and modify source code in your default IDE, or click Open Editor to open the project in the UnigineEditor.
Last update: 2022-10-10
Build: ()