This work is done in simulation using Franca 7 DOF arm and with Variable friction gripper. The project aims at integrating the gripper with the franca arm to attempt to grasp objects, slide and rotate blocks in Gazebo simulator (supported by ROS).
The 'src' folder contains all the ROS project. For a description of what each folder and directory does, please refer to their individual 'README.md' files.
To setup the ros workspace locally:
- Go to the workspace location you want
- Run 'git clone'
- 'cd' into the repository
- Run 'rosdep install --from-paths --ignore-src ros_ws -y' to install all dependencies
- 'cd' into the 'ros_ws' folder
- Run 'catkin_make' Note that the above instructions are no substitute for actually install ros and setting up rosdep, please first follow the instructions at 'http://wiki.ros.org/melodic/Installation/Ubuntu' (or whatever your ros distribution and linux distro combination happen to be).
Due to the use of the 'rosdep' command, it is recommended to explicitly list all build/exec dependencies in your package's 'package.xml' file. This ensures the above command will download and setup all necessary files when a new user is setting up the workspace.
These files generated by moveit can differ from project to project, even if the same robot is used
For this reason, we recommend the names of the config files to be changed from the default to avoid interference
The process to do so is as follows:
-
No config file generated:
- Run moveit setup assistant:
rosrun moveit_setup_assistant moveit_setup_assistant
- Click 'Create New Moveit Configuration Package'
- Fill out all necessary information on the robot
- When done, at the last page (Configuration Files), set the folder to be the custom config
- Run moveit setup assistant:
-
Config file has already been generated:
- Run moveit setup assistant:
rosrun moveit_setup_assistant moveit_setup_assistant
- Click Edit Existing Moveit Configuration Package
- Go to the last page (Configuration Files), and set the folder to be the new custom config name. Replace project_name with the name of the project this moveit_config file is for
- Try launching moveit from the required package that needs it and connecting to it
- If successfull, delete old moveit_config package
- Run moveit setup assistant: