From 246309957d3fd370a8c68a7e1ef88e906ce5c9b2 Mon Sep 17 00:00:00 2001 From: at669 Date: Mon, 21 Jun 2021 16:40:11 -0600 Subject: [PATCH 1/3] Modify troubleshooting & instructions for EventSystem --- tutorials/pick_and_place/2_ros_tcp.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/pick_and_place/2_ros_tcp.md b/tutorials/pick_and_place/2_ros_tcp.md index b92620e0..be9119d2 100644 --- a/tutorials/pick_and_place/2_ros_tcp.md +++ b/tutorials/pick_and_place/2_ros_tcp.md @@ -148,7 +148,7 @@ To enable communication between Unity and ROS, a TCP endpoint running as a ROS n > Note: While using the ROS Settings menu is the suggested workflow as of this version, you may still manually create a GameObject with an attached ROSConnection component. -1. Next, we will add a UI element that will allow user input to trigger the `Publish()` function. In the Hierarchy window, right click to add a new UI > Button. Note that this will create a new Canvas parent as well. +1. Next, we will add a UI element that will allow user input to trigger the `Publish()` function. In the Hierarchy window, right click to add a new UI > Button. Note that this will also create a new Canvas parent, as well as an Event System. > Note: In the `Game` view, you will see the button appear in the bottom left corner as an overlay. In `Scene` view the button will be rendered on a canvas object that may not be visible. > Note: In case the Button does not start in the bottom left, it can be moved by setting the `Pos X` and `Pos Y` values in its Rect Transform component. For example, setting its Position to `(-200, -200, 0)` would set its position to the bottom right area of the screen. @@ -208,6 +208,8 @@ ROS and Unity have now successfully connected! - If the ROS TCP handshake fails (e.g. `ROS-Unity server listening...` printed on the Unity side but no `ROS-Unity Handshake received` on the ROS side), the ROS IP may not have been set correctly in the params.yaml file. Try running `echo "ROS_IP: $(hostname -I)" > src/niryo_moveit/config/params.yaml` in a terminal from your ROS workspace. +- If the UI buttons appear to be unresponsive, such as not responding to clicks, ensure there is an [EventSystem](https://docs.unity3d.com/2020.1/Documentation/Manual/UIE-Events.html) in the scene hierarchy. This should be added automatically when adding UI elements, but if it is not, you can add one to your scene via `(+) > UI > Event System`. + --- ## Resources From 059af277342314dd83b54631c1214bc55209e6c5 Mon Sep 17 00:00:00 2001 From: at669 Date: Wed, 7 Jul 2021 09:38:23 -0600 Subject: [PATCH 2/3] PR feedback: hierarchy clarification --- tutorials/pick_and_place/2_ros_tcp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/pick_and_place/2_ros_tcp.md b/tutorials/pick_and_place/2_ros_tcp.md index be9119d2..7e435306 100644 --- a/tutorials/pick_and_place/2_ros_tcp.md +++ b/tutorials/pick_and_place/2_ros_tcp.md @@ -208,7 +208,7 @@ ROS and Unity have now successfully connected! - If the ROS TCP handshake fails (e.g. `ROS-Unity server listening...` printed on the Unity side but no `ROS-Unity Handshake received` on the ROS side), the ROS IP may not have been set correctly in the params.yaml file. Try running `echo "ROS_IP: $(hostname -I)" > src/niryo_moveit/config/params.yaml` in a terminal from your ROS workspace. -- If the UI buttons appear to be unresponsive, such as not responding to clicks, ensure there is an [EventSystem](https://docs.unity3d.com/2020.1/Documentation/Manual/UIE-Events.html) in the scene hierarchy. This should be added automatically when adding UI elements, but if it is not, you can add one to your scene via `(+) > UI > Event System`. +- If the UI buttons appear to be unresponsive, such as not responding to clicks, ensure there is an [EventSystem](https://docs.unity3d.com/2020.1/Documentation/Manual/UIE-Events.html) in the scene hierarchy. This should be added automatically when adding UI elements, but if it is not, you can add one to your scene from the Hierarchy window via `(+) > UI > Event System`. You can also access this dropdown from right-clicking in an empty area in the Hierarchy window. --- From b29de02fb77c396481187c5a3b9de635aa536b5c Mon Sep 17 00:00:00 2001 From: at669 Date: Wed, 7 Jul 2021 09:43:13 -0600 Subject: [PATCH 3/3] Precommit fixes --- tutorials/urdf_importer/urdf_appendix.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/urdf_importer/urdf_appendix.md b/tutorials/urdf_importer/urdf_appendix.md index b9e62c5a..8cd924fe 100644 --- a/tutorials/urdf_importer/urdf_appendix.md +++ b/tutorials/urdf_importer/urdf_appendix.md @@ -374,8 +374,8 @@ To address this predicament we have integrated another algorithm to create Conve - limit - lower - upper - - + + ## Disable Collision Support