Table of Contents
-
The game has been tested on publishing the robot state, target pose, and target placement pose to ROS. Select Publisher game object in the Hierarchy view, check
Source Destination Publisher
, and uncheckTrajectory Planner
. Please refer to SourceDestinationPublisher if you want to know howSource Destination Publisher
works. -
Select
Button
game object in Hierarchy view underCanvas
. In theInspector
view,On click ()
, switch toSourceDestinationPublisher.Publish
.
Open a terminal window in the ROS catkin
workspace. Then run the following command
roslaunch ur_moveit part_2.launch
Return to Unity, and press play. Click the UI Publish
Button in the Game view. ROS and Unity have now sucessfully connected!