This is an example project to demonstrate ros-unity-joint-control-integration script. You can move Panda arm robot on Unity with MoveIt 2 with this example.
- ROS version: ROS 2 humble
- Unity version: 2022.3.46 or above
-
Build demo projects and packages
- Unity Side
- Clone this demo repository
git clone --recurse-submodules https://github.com/wildlarva/example-ros-unity-integration.git
- Import cloned project to Unity
- Load EmptyScene from Assets/Scenes/EmptyScene.unity
- Build the project
- Clone this demo repository
- ROS Side
- Clone panda moveit config for Unity
git clone https://github.com/wildlarva/moveit_resources.git
- Build the cloned ROS packages with colcon
- Clone panda moveit config for Unity
- Unity Side
-
Setup Unity ROS2 environment.
-
Run demo
- Unity Side
- Run Unity simulation
- ROS Side
- Launch panda moveit package with Unity option
ros2 launch moveit_resources_panda_moveit_config demo.launch.py ros2_control_hardware_type:="unity"
- Launch panda moveit package with Unity option
- Unity Side