-
The Example of session is very clear and good. It could see clear of PSM1 movement. But there was only PSM1.rviz and PSM3.rviz in the subdirectory. How can I run the MTM simulation? I know there are other examples on ROS1, Is there possible to convert it to ROS2? |
Beta Was this translation helpful? Give feedback.
Answered by
adeguet1
May 5, 2023
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adeguet1
-
Dear Professor:
Thanks for your help. I am so appreciate and honored.
I finally try as the ROSMA (
https://github.com/SurgicalRoboticsUMA/rosma_dataset) method on their web -
ROS part. It failed. Then I try the file in original dVRK git clone file
"""
roslaunch dvrk_robot dvrk_full_rviz.launch slave1:=PSM1 slave2:=PSM2
master1:=MTMR master2:=MTML
config:=/home/$(whoami)/catkin_ws/src/cisst-saw/sawIntuitiveResearchKit/share/console/console-full-system-simulated.json
"""
It still failed. It links PSM and MTM together.
[image: error4.png]
And the node is only one, instead of four (two PSM, two MTM)
[image: error4a.png]
I will keep try.
Thank for your help.
Best regards,
JJ You
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
roslaunch dvrk_robot dvrk_arm_rviz.launch arm:=MTMR
.dvrk_arm_rviz
launch file to display two PSMs in Rviz. Instead, you will need to create your own console JSON configuration file and userosrun dvrk_robot dvrk_console_json -j ...
. See for example https://github.com/jhu-dvrk/sawIntuitiveResearchKit/blob/master/share/console/console-dVRK-cart-simulated.json. Then you will have to load two URDF models in Rviz. I've personally never done that but I'm sure it's not too hard and google can help you.