Research in Action Primitive Discovery in Robotics through Parameter Variation
Setup each of the following, in order:
-
Ubuntu 16.04
-
ROS Kinetic (http://wiki.ros.org/kinetic/Installation/Ubuntu & http://wiki.ros.org/ROS/Tutorials)
-
Gazebo 7 (Installs with ROS installation)
-
PyperPlan (https://bitbucket.org/malte/pyperplan) a. Manually download the code to the src directory and rename it 'pyperplan'
-
Clone the RAPDR_param project
** At this point, the file heirarchy should take the following form:
catkin_ws/src/Hacking-SotA-UR5/
catkin_ws/src/moveit_robots
catkin_ws/src/pyperplan/
catkin_ws/src/RAPDR_param/
-
Build:
cd ~/catkin_ws catkin_make source devel/setup.bash
Each of the following should be run in a separate terminal window:
-
Launch UR5 sim.
roslaunch agent UR5.launch -
Spawn the physical agent executor node, responsible for advertising UR5 action services.
rosrun agent physical_agent_executor.py -
Spawn the environment elements (cup and cover)
rosrun environment initialize_environment.py -
Spawn data push_object action service node
rosrun agent push_object.py -
Spawn data grasp_object action service node
rosrun agent grasp_object.py
-
Many of the .py files might not be runnable. Navigate to their directories and run:
chmod +x [filename]
For example:
chmod +x brain.py