Skip to content

theabhithakan/ProMP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProMP

Description

Probabilistic Movement Primitives implementation for learning motion of basic tasks in robotics, based on the research of Alexandros Paraschos, Christian Daniel, Jan Peters, and Gerhard Neumann at TU Darmstadt, Germany.

Installation

  1. Install the Baxter workspace

  2. Install baxter-pykdl

  3. Enter your ROS workspace

  • cd ~/ros_ws/src
  1. Clone the following repositories into your ros_ws/src folder
  • git clone https://github.com/baxter-flowers/promplib.git
  • git clone https://github.com/baxter-flowers/baxter_commander.git
  • git clone https://github.com/baxter-flowers/trac_ik_baxter.git
  • git clone https://github.com/baxter-flowers/trac_ik.git
  1. Install the baxter_commander dependancies
  • sudo apt-get install ros-indigo-moveit-full python-pip
  • sudo pip install xmltodict
  1. If you get Invoking "make install -j8 -l8" failed due to error: package directory 'src/trajectories' does not exist
  • cd ~ros_ws/src/baxter_commander/src
  • mkdir -p trajectories
  • cd ~ros_ws/
  1. Build
  • catkin_make
  • catkin_make install
  • source devel/setup.bash

Installation / Runtime errors

  1. fatal error: nlopt.hpp: No such file or directory
  • sudo apt-get install libnlopt-dev
  1. Import error: no module name ros
  • cd ~/ros_ws/src/promplib
  • gedit setup.py
  • edit this line to be d['packages'] = ['promp', 'promp.ros'] and save and close the file
  • sudo python setup.py install
  • cd ~/ros_ws | catkin_make | catkin_make install
  1. OSError: [Errno 110] Right limb init failed to get current joint_states from robot/joint_states
  • Run the code on Baxter's computer to allow access of joint angles publisher thread
  1. If code is stuck at: rospy.wait_for_service(self._kinematics_names['ik'][self._selected_ik]) or gives error: rospy.exceptions.ROSInterruptException: rospy shutdown
  • Comment line - of file.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.5%
  • MATLAB 14.5%