This is ROS package for swift pro started by ufactory team. These packages support Moveit!, RViz and serial communication for swift pro.
- ROS
Download ros packages for uarm swift pro
cd ~/catkin_ws/src
git clone https://github.com/asukiaaa/RosForSwiftPro.gitInstall all dependencies
rosdep install --from-paths ./ -iCompile
catkin_makeLoad
source ~/catkin_ws/devel/setup.bashConnect your swift/swiftpro to computer and get USB permission to access uArm
sudo chmod 666 /dev/ttyACM0Get data from serial and simulate swiftpro in RViz.
roslaunch swiftpro pro_display.launchYou can drag your swiftpro and it will simulate in Rviz.
Connect swiftpro, send data though serial.
roslaunch swiftpro pro_control.launchOpen another ternimal to get joint angles from Moveit!.
roslaunch pro_moveit_config demo.launchYou can do trajectory planning or grasping in moveIt!.