Coder Social home page Coder Social logo

huangchuhccc / exotica Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ipab-slmc/exotica

1.0 1.0 0.0 9.34 MB

Extensible Optimization Framework

Home Page: http://wcms.inf.ed.ac.uk/ipab/slmc/research/EXOTica

License: BSD 3-Clause "New" or "Revised" License

Shell 0.07% CMake 1.41% C++ 44.31% C 53.15% Python 0.98% Makefile 0.03% Batchfile 0.04%

exotica's Introduction

EXOTica Build Status Analytics

Documentation - C++ Doxygen

The EXOTica library is a generic Optimisation Toolset for Robotics platforms, written in C++. Its motivation is to provide a more streamlined process for developing algorithms for such tasks as Inverse-Kinematics and Trajectory Optimisation. Its design advocates:

  • Modularity: The library is developed in a modular manner making use of C++’s object-oriented features (such as polymorphism). This allows users to define their own components and ’plug them into’ the existing framework. The end-effect is that an engineer need not implement a whole system whenever he needs to change a component, but rather can re-implement the specific functionality and as long as he follows certain guidelines, retain the use of the other modules.
  • Extensibility: The library is also heavily extensible, mainly thanks to the modular design. In addition, the library makes very minimal prior assumptions about the form of the problem so that it can be as generic as possible.
  • Integration with ROS: The library is designed to be fully integrated with ROS allowing to set up, configuration, consuming data from ros topics, and publishing debug display using ros tools.

The library itself consists of two major specifications, both of which are abstract classes. The first is the Problem Solver which defines the way optimisation should proceed: current implementation include iLQG, AICO, Jacobian pseudo-inverse IK, and a range of sampling based solvers from the OMPL library. The other is the Task Definition which describes the task itself by providing two necessary functions to compute the forward map from Configuration space (say joint angles in IK) to Task space (say end-effector positions in IK). The tasks themselves can describe a complete trajectory. Using the library then involves passing in an initial state and requesting a solution to the problem, which may consist of a single configuration or complete trajectory.

Prerequisites

  • Ubuntu 14.04 (16.04 is periodically tested and compiles, not tested on CI yet)
  • catkin_tools (catkin_make is no longer supported)
  • rosdep
  • ROS Indigo (ros-indigo-desktop-full is recommended but more minimal versions may be sufficient in conjunction with rosdep)
  • Eigen > 3.2.7. We recommend system-installing 3.2.10 or newer, for which we provide a Debian.
  • gcc > 4.9 -- the 14.04 system-installed 4.8.4 won't work

Installation

  1. Create a catkin workspace or use an existing workspace. catkin_tools is the preferred build system.
  2. Clone this repository into the src/ subdirectory of the workspace (any subdirectory below src/ will do): git clone [email protected]:ipab-slmc/exotica.git --recursive.
  3. cd into the the cloned directory.
  4. Install dependencies
  5. If running the rosdep for the first time start by running: sudo rosdep init
  6. rosdep update ; rosdep install --from-paths ./ -i
  7. Compile the code catkin build -s.
  8. Source the config file (ideally inside ~/.bashrc): source path_to_workspace/devel/setup.bash. You may have to source the config file from your installspace if your workspace is configured for installation.

Demos

Have a look at examples/exotica_examples. If you have sourced the workspace correctly you should be able to run any of the demos:

roslaunch exotica_examples Core.launch
roslaunch exotica_examples AICOplanner.launch
roslaunch exotica_examples GenericInitialization.launch
roslaunch exotica_examples ManualInitialization.launch
roslaunch exotica_examples OMPLplanner.launch
roslaunch exotica_examples XMLInitialization.launch

exotica's People

Contributors

wxmerkt avatar yimingyanged avatar iamwolf avatar edbot avatar bmagyar avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.