Moveit: How to change robot's base_link pose in world frame
I'm using a UR5 robot arm with ROS Noetic and MoveIt. When I load the ur5e.srdf (provide by UR company) and run the program, the robot arm's base is in the original point of world frame and in upright position. But in my real scene my UR5 arm is horizontal(rotate 90 degree from upright, the base is linked to a wall rather than the ground). I want to rotate the whole robot in world frame, but I can't find an API to do so. I noticed Virtual Joints in MoveIt Setup Assistant, but it's seems can't specify the pose of base_link. So my question is: Can I specify the pose of base_link in world frame? How can I do that?
just a small correction: if the files / package(s) you refer to come from
ros-industrial/universal_robot
, those are community contributed and maintained. They are not provided by UR.