Closed ahcorde closed 2 years ago
I'm getting service call timeout on the connector
[Dbg] [FUSDNoticeListener.hpp:234] path /shapes/box/box_link/box_visual/geometry.xformOp:translate
[Err] [FUSDNoticeListener.hpp:281] Service call timed out
[Dbg] [FUSDNoticeListener.hpp:234] path /shapes/box/box_link/box_visual/geometry.xformOp:translate
[Err] [FUSDNoticeListener.hpp:281] Service call timed out
[Dbg] [FUSDNoticeListener.hpp:234] path /shapes/box/box_link/box_visual/geometry.xformOp:translate
There are also errors on ignition
[Err] [UserCommands.cc:1337] Unable to update the pose for entity id:[0], name[geometry]
[Err] [UserCommands.cc:1337] Unable to update the pose for entity id:[0], name[geometry]
[Err] [UserCommands.cc:1337] Unable to update the pose for entity id:[0], name[geometry]
[Err] [UserCommands.cc:1337] Unable to update the pose for entity id:[0], name[geometry]
I think the problem is that usd allows transformations on geometry but not sdf, so when trying to translate that to sdf we get a non existing target.
I notice ignition physics is still running when isaacsim updates a pose, in theory this could lead to conflicting states. I can't test this now because I had to re-install omniverse to fix some other issues and downloads are down so I can't re-install isaacsim, and because of the above errors.
@koonpeng I was testing your changes, and I'm facing this issue. Translations look wrong
You need this change in ign-gazebo https://github.com/ignitionrobotics/ign-gazebo/pull/1394
I fixed the pose:
But we are facing another issue. Issac Sim dos not provide the joint angle, we can only see changes in the links
Require: https://github.com/ignitionrobotics/ign-gazebo/pull/1394
I tried to implement something to calculate the joint angle but it's wrong https://github.com/ignitionrobotics/ign-omni/pull/16/commits/af1daca5967b8a829cec7cfe2c1477e3c3897754
But we are facing another issue. Issac Sim dos not provide the joint angle, we can only see changes in the links
Require: ignitionrobotics/ign-gazebo#1394
I tried to implement something to calculate the joint angle but it's wrong af1daca
Wasn't able to try this yet. I'm assuming this is the simulation being ran? https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_ros_moveit.html
~Tried to follow the tutorial but getting 404 errors when installing some ros packages.~ Unfortunately I cannot run the sim with my current setup as it is now, it requires both ros2 and omniverse. My ros2 environment is in a container, trying to install nucleus in the container doesn't work for some unknown reason. Either I try to make omniverse work in the container or build ros + ignition on my host.
to test this you can run this script using ROS 1:
You should add the following ROS plugins: Clock
, Tree pose
and Joint state
managed to run the sim in isaac but wasn't able to get the connector to work
ignition logs
<same>
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
[Err] [UserCommands.cc:761] Unable to update the pose for entity id:[0], name[panda_hand]
ign-omni logs
<same>
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link7.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.xformOp:translate
[Err] [FUSDNoticeListener.hpp:450] Service call timed out
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_hand.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_hand.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_hand.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_hand.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_leftfinger.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_leftfinger.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_leftfinger.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_leftfinger.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link1.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link1.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link1.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link2.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link2.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link2.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link3.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link3.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link3.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link3.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link4.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link4.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link4.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link4.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link5.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link5.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link5.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link5.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link6.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link6.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link6.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link6.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link7.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link7.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link7.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link7.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_link8.xformOp:translate
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.physics:angularVelocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.physics:velocity
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.xformOp:orient
[Dbg] [FUSDNoticeListener.hpp:326] path /panda/panda_rightfinger.xformOp:translate
Signed-off-by: ahcorde ahcorde@gmail.com
🎉 New feature
Summary
Communication between IssacSim -> Ignition.
Added a flag to check if the pose are set by Ignition or IssacSim
If you test this PR you might find some issue relative to this issue https://github.com/ignitionrobotics/ign-gazebo/issues/1358
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.