Comments (18)
@micahpearlman @tejasps28 Hi, I have found the problem. Just correct the ZO_CONTROLLER_MANAGER_SERVICE in Unity Editor with name undefined_10 -> ur_10_control
. It will work. Please correct and commit.
I have verified it with docker and VNC. I will try to test it on noetic as well.
from zerosimrosunity.
Folllow the "LEO Robot" Example, except for UR10: https://github.com/fsstudio-team/ZeroSimROSUnity#import-urdf
Also, you may need to use a 2020 version of Unity as we have not done any thorough testing with 2021 and it seems to break a lot of things -- we are slowly working through the issues with 2021.
from zerosimrosunity.
FYI: Some random notes for UR10 Import from awhile ago -- should be still relevant. Note: the ZeroSim Docker image already has UR10 repo in the Catkin Worksapace.
-
Convert STL & DAE meshes to OBJ:
/zerosim_tools/convert_meshes_to_obj.sh ./src/universal_robot/ur_description/meshes/ur10/
-
Generate UR10 URDF
rosrun xacro xacro src/universal_robot/ur_description/urdf/ur10_robot.urdf.xacro transmission_hw_interface:=hardware_interface/PositionJointInterface > /tmp/ur10.urdf
-
Copy the generated URDF
docker cp my_zerosim_vnc_docker:/tmp/ur10.urdf .
-
Copy the meshes:
docker cp my_zerosim_vnc_docker:/catkin_ws/src/universal_robot/ur_description/meshes .
-
Fixup the mesh paths
from zerosimrosunity.
Not super clear on that at the moment. Trying to back track to what has changed to have caused this issue -- we haven't done a lot of changes in the past several months, either to the Unity code base or the Docker image -- so it is one of those very odd bugs.
from zerosimrosunity.
I'm sure there is just some weird ROS namespace thing or some minor configuration with RViz MoveIt. Take a look at the launch file: /catkin_ws# vim src/zero_sim_ros/launch/ur10_moveit.launch
. But it appears RQT and MoveIt! Python works just fine -- RViz I don't have an ETA on fixing this.
from zerosimrosunity.
I'm also facing the same issue!
I have noticed that after following the steps mentioned in the tutorial, i did rostopic list. "/arm_controller" topics come up on the first time, but on re-running the rostopic list command, i have observed that amr_controller doesnt seem to be on the list. Something is causing the arm controller to stop and hence action client says not found.
Please check for the same.
from zerosimrosunity.
It looks like the newer versions of Unity mess up the rigged Unity UR10 model. You can try to re-import the UR10 URDF or wait for us to update.
from zerosimrosunity.
It looks like the newer versions of Unity mess up the rigged Unity UR10 model. You can try to re-import the UR10 URDF or wait for us to update.
Hello, thank you for your reply. To re-import the URDF i'll need to follow your "Import URDF" tutorial right?
I shall let you know how this goes.
Also, would this issue be resolved if we try this tutorial in your version of the editor, i.e 2020.1.1f1?
from zerosimrosunity.
Folllow the "LEO Robot" Example, except for UR10: https://github.com/fsstudio-team/ZeroSimROSUnity#import-urdf
Also, you may need to use a 2020 version of Unity as we have not done any thorough testing with 2021 and it seems to break a lot of things -- we are slowly working through the issues with 2021.
Okay, will try this out. Thank you!
Also, yes. I am using Unity version 2020.3.33f1 LTS.
from zerosimrosunity.
@micahpearlman Thanks a lot for this precise guidance. I shall let you know how it goes. Cheers!
from zerosimrosunity.
@tejasps28 after further analysis I may be sending you down the wrong rabbit hole. Apologies. I am now seeing some weird connection issue through ROS bridge. In the Unity console I'm getting:
ERROR: ZOROSBridgeConnection::ClientReadAsync System.InvalidOperationException: Queue empty.
And in the Docker I'm getting:
[ERROR] [1652115654.246938824]: Unable to identify any set of controllers that can actuate the specified joints: [ elbow_joint shoulder_lift_joint shoulder_pan_joint wrist_1_joint wrist_2_joint wrist_3_joint ]
[ERROR] [1652115654.247015161]: Known controllers and their joints:
from zerosimrosunity.
@tejasps28 after further analysis I may be sending you down the wrong rabbit hole. Apologies. I am now seeing some weird connection issue through ROS bridge. In the Unity console I'm getting:
ERROR: ZOROSBridgeConnection::ClientReadAsync System.InvalidOperationException: Queue empty.
And in the Docker I'm getting:
[ERROR] [1652115654.246938824]: Unable to identify any set of controllers that can actuate the specified joints: [ elbow_joint shoulder_lift_joint shoulder_pan_joint wrist_1_joint wrist_2_joint wrist_3_joint ] [ERROR] [1652115654.247015161]: Known controllers and their joints:
Uh, yes. I had noticed these myself too. So could you suggest what's the right way forward?
Also, i did try the aforementioned steps and it didn't seem to work. Got the same error.
from zerosimrosunity.
Not super clear on that at the moment. Trying to back track to what has changed to have caused this issue -- we haven't done a lot of changes in the past several months, either to the Unity code base or the Docker image -- so it is one of those very odd bugs.
Okay. Please let me know the solution to this when you find the bug. Thank you!
from zerosimrosunity.
So RQT works just fine (see above). Something broken with the RViz config. Try launching RViz without the configuration and hand configure it?
from zerosimrosunity.
@micahpearlman Thanks, i did this and was able to reproduce the same using RQT. Willl try rviz configuration manually and let you know how it goes.
from zerosimrosunity.
@micahpearlman @tejasps28 Hi, I have found the problem. Just correct the ZO_CONTROLLER_MANAGER_SERVICE in Unity Editor with name
undefined_10 -> ur_10_control
. It will work. Please correct and commit.I have verified it with docker and VNC. I will try to test it on noetic as well.
Yes, i tried this! It seems to work perfectly fine! Thank you @ptiwari0664 @micahpearlman
from zerosimrosunity.
Fantastic! I will put in a fix for this ASAP.
from zerosimrosunity.
from zerosimrosunity.
Related Issues (20)
- Timestamp mismatch in RGBDepthPublisher HOT 1
- Issue with "DefaultAssets" when building for Windows HOT 1
- ZODocker.cs error after installing ZeroSim package for Unity 3D HOT 9
- publish the point cloud of the lidar in its own frame HOT 1
- Cannot Import URDF as described in tutorial HOT 1
- How to rename/remap topics? HOT 2
- Running in ROS2 HOT 1
- Distorted reconstructed Pointcloud from rgbd-Camera HOT 11
- ROS Camera depth publisher: ROSUnityManager not instantiate HOT 4
- Import URDF not working as expected HOT 17
- save point cloud data HOT 3
- Custom Message Creation HOT 5
- Unable to import package HOT 5
- Unity 2020. add package from git url failed HOT 4
- SPOT robot support HOT 6
- 3D lidar orientation issue HOT 2
- Fix: Joint Angles Bug HOT 4
- Fix: Communication with ZeroSim is lost when controller_manager node is terminated HOT 4
- About 2 finger gripper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerosimrosunity.