DENSORobot / denso_robot_ros

Other
43 stars 42 forks source link

How to run two robots that are same except IP address?(only IP address is different) #45

Open et4141 opened 2 years ago

et4141 commented 2 years ago

I have no idea how to run two hsr065a1 scalar robots at the same time(that are same except IP address).

At the very first time, I operated the robots with different IP address on denso robot bringup package. But when I operated the second robot, the motor of the first robot turned off.

And then after I made different robot package file names, such as robot1, robot2, I operated robot1 first. But as soon as I operated robot2, I got a message [Setting the scen for model ‘robot1’ but model ‘robot2’ is loaded] without turnning off the motor of the robot1.

Please let me know how to operate two robot at the same time that are same except IP address?

DensoWaveRobot commented 2 years ago

@et4141 To control several arm, You have to set different namespace to each node. Could you change robot_name in launch file?

et4141 commented 2 years ago

Which launch file are you talking about? robot name_bringup.launch in denso_robot_bringup package? or denso_robot_control.launch in denso_robot_control package? I want to control the robots with moveit.