Our great sponsors
-
ros-sharp
ROS# is a set of open source software libraries and tools in C# for communicating with ROS from .NET applications, in particular Unity3D
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
unity_moveit_connector
Unity script which acts as controller for Unity ArticulationBody robotics arms for a ROS moveit instance.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
There are several ways of using Unity for robotics. Robotics for Unity is a new field and support is still custom made. Most of the applications out there are proprietary software created by private companies and not easily accessible or configurable by others. ROS support has been recently introduced by Unity itself, and it is a fork from a previous library from Siemens' RosSharp. In my setup, I used the Unity ROS library which works with the latest ArticulationBody types.
unity_connector_manager.cpp which sends the trajectory to Unity after calling execute() on a planned MoveIt! trajectory.
Here we setup a script to control Unity's ArticulatedBody objects with MoveIt! messages from ROS. I have uploaded the script in this repository https://github.com/szandara/unity_moveit_connector/blob/master/Editor/ROSMoveItControllerGeneric.cs
zandara@XXX:$ cd ~ zandara@XXX:$ mkdir unity_demo zandara@XXX:$ cd unity_demo zandara@XXX:$ git clone https://github.com/szandara/unity_reachy_tutorial zandara@XXX:$ cd unity_reachy_tutorial
For this demo project I have chosen a cute robotic manipulator which is open sourced. To use a robot with ROS in Unity you need an existing URDF (robot file descriptor) which is usually shipped by the robot manufacturer. In specific I have decided to work on a static robotic manipulator and operate it with MoveIt!.
zandara@XXX:$ cd src zandara@XXX:$ git clone https://github.com/szandara/reachy_description_ros1 zandara@XXX:$ git clone https://github.com/pollen-robotics/reachy_moveit_config