Skip to content

Meguenani/kuka_kr6r900sixx_moveit_gazebo_setup-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Needed Installations (this code has been tested on Ubuntu 16.04) :

See video of the simulation in here :

https://www.youtube.com/watch?v=7sTgo5UZ8-M

ROS & GAZEBO INSTALLATION

The following packages are also needed (to be found on my github, these packages are to be placed in your catkin_ws/src) :

  • mastering_ros_robot_description_pkg

  • cylinder

  • Gripper2

  • gazebo-pkgs-master

  • gazebo_ros_pkgs-kinetic-devel

To run the code (each step in a terminal):

Simulation with 1 pivot part:

  1. roscore

  2. cd ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6_gazebo/launch roslaunch kr6r900sixx_gazebo_1_pivot.launch

  3. cd ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6r900sixx_moveit_config/launch roslaunch moveit_planning_execution_rsi.launch sim:=true

  4. rosrun rviz rviz -d ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/Robotics_1_pivot_simu.rviz

  5. cd ~/catkin_ws/devel/lib/cloud_process_for_kuka_kr6r900sixx_pivot_demo ./cloud_process_for_kuka_kr6r900sixx_1_pivot_demo

  6. cd ~/catkin_ws/devel/lib/moveit_cpp_for_kuka_kr6r900sixx ./move_group_interface_tutorial_kuka_kr6r900sixx

  7. Optional (made for testing possible poses) cd ~/catkin_ws/devel/lib/moveit_cpp_for_kuka_kr6r900sixx ./save_kuka_kr6r900sixx_poses

After launching ./save_kuka_kr6r900sixx_poses, the "Robotics_1_pivot_simu.rviz" template can be used on rviz. The robot can be moved with the Moveit! interface then, using "RvizVisualToolsGui", the pointcloud of each pose can be saved (push button "Next"). Push the "Break" button to reset the acquisition. The robot joint poses are available on the "/joint_states" topic (rostopic echo /joint_states).

The new poses can be saved directly in the SRDF file to be found in "~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6r900sixx_moveit_config/config"

OR run the simulation with 2 pivot parts:

  1. roscore

  2. cd ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6_gazebo/launch roslaunch kr6r900sixx_gazebo_2_pivot.launch

  3. cd ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6r900sixx_moveit_config/launch roslaunch moveit_planning_execution_rsi.launch sim:=true

  4. rosrun rviz rviz -d ~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/Robotics_2_pivots_simu.rviz

  5. cd ~/catkin_ws/devel/lib/cloud_process_for_kuka_kr6r900sixx_pivot_demo ./cloud_process_for_kuka_kr6r900sixx_2_pivot_demo

  6. cd ~/catkin_ws/devel/lib/moveit_cpp_for_kuka_kr6r900sixx ./move_group_interface_tutorial_kuka_kr6r900sixx2

  7. Optional (made for testing possible poses) cd ~/catkin_ws/devel/lib/moveit_cpp_for_kuka_kr6r900sixx ./save_kuka_kr6r900sixx_poses

After launching ./save_kuka_kr6r900sixx_poses, the "Robotics_2_pivot_simu.rviz" template can be used on rviz. The robot can be moved with the Moveit! interface then, using "RvizVisualToolsGui", the pointcloud of each pose can be saved (push button "Next"). Push the "Break" button to reset the acquisition. The robot joint poses are available on the "/joint_states" topic (rostopic echo /joint_states).

The new poses can be saved directly in the SRDF file to be found in "~/catkin_ws/src/kuka_kr6r900sixx_moveit_gazebo_setup-master/src/kuka_experimental/kuka_kr6r900sixx_moveit_config/config"

Useful Links :

About

kuka_kr6r900sixx_moveit_gazebo_setup-master

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published