-
Hello, I'm currently working on visualizing the kinematic tree of a humanoid robot in RViz2. My approach so far is: Parse the robot’s URDF to build the Pinocchio model. However, I've encountered some issues:
How can I compute or convert the global joint placements from Pinocchio into the proper relative (parent-to-child) transforms expected by RViz2? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @shikajiko! We have developed such a thing and more. You can see the project here: https://github.com/loco-3d/whole_body_state_rviz_plugin However, this code supports ROS-1 at the moment. Could you help us support ROS-2 as well? Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hello
(there's a RVizViewer in pinocchio, but it should be refactored. It supports only python, ros1 and uses markers instead of RobotState and TF ...) |
Beta Was this translation helpful? Give feedback.
Hello
data.liMi[j]
gives you the placement of the i-th joint relatively to its parent.(there's a RVizViewer in pinocchio, but it should be refactored. It supports only python, ros1 and uses markers instead of RobotState and TF ...)