Maintainer: chenshudong@aubo-robotics.cn
Aubo_robot ROS meta-package for ROS-Industrial. See the ROS wiki page for more information.
This repository provides ROS support for AUBO robots. This repository holds source code for 'Noetic'. The corresponding robot controller software version is 'V4'. For those software version < 'V4', can refer to here.
For the latest features and developments you might want to install from source.
First set up a catkin workspace (see this tutorials).
Then clone the repository into the src/
folder. It should look like /user_name/catkin_workspace/src/aubo_robot
.
In order to compile the package successfully, you need to install some packages related to MoveIt
and industrial_core
package.
Make sure to source the correct setup file according to your workspace hierarchy, then use catkin_make to compile.
update Moveit_core_lib : enter the direction /user_name/catkin_workspace/src/aubo_robot/UpdateMoveitLib/Kinetic/
,Add permissions to the Update.sh filechmod +x Update.sh
, Execution script file sudo ./Update.sh
The recommended
gcc version is 4.8 for Ubuntu 14.04; And for Ubuntu 16.04, the gcc version is 5.4.
You can use MoveIt! to control the simulated robot like RVIZ ,Gazebo or VREP environment. If you want to simulate the robot in RVIZ:
rviz
1.roslaunch <robot_name>_moveit_config moveit_planning_execution.launch robot_ip:=127.0.0.1
gazebo
2.roslaunch aubo_gazebo aubo_<robot_name>_gazebo_control.launch
you should install some package when you use aubo model in gazebo here
Then select "Interact"
and move the end-effector to a new goal.
In "Motion Planning"
-> "Plan and Execute"
to send trajectory to the sim robot
Exit RViz and Ctrl-C the demo.launch window
+ When operating an AUBO robot under ROS-Industrial control, make certain that no one is within the robot workspace and the e-stop is under operator control.
Source the correct setup shell files and use a new terminal for each command.
To bring up the real robot, run:
roslaunch <robot_name>_moveit_config moveit_planning_execution.launch sim:=false robot_ip:=<192.168.***.***>
Move the robot around manually using a teach-pendant. Make sure the robot is controlled by robot-controller, see here.
Verify that the joint positions in RVIZ match the physical robot configuration.
Then switch to the ros-controller and control the robot through MoveIt.
Repeat for every joint and pose.
CAUTION:
Mistakes made during this verification step can result in dangerous collisions when experiment with using the MoveIt planning environment to command trajectories with the real robot. Be certain that an E-stop is close by whenever commanding robot motion.