打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Install DART on Ubuntu | DART: Dynamic Animation and Robotics Toolkit

Build Environments

Supported Platforms

DART 6.8 supports Ubuntu 32 and 64 bit 16.04 (Xenial), 18.04 (Bionic), 18.10 (Cosmic), and 19.04 (Disco) systems.

Install DART using Ubuntu packages

If you want to use dart as a dependent library for your development, then installing dart using Ubuntu packages is the most convenient way.

Adding Personal Package Archives (PPA’s) for DART and dependencies

sudo apt-add-repository ppa:dartsim/ppa
sudo apt-get update  # not necessary since Bionic

Install DART

  • Install the core library

    sudo apt-get install libdart6-dev
    
  • Install optional components

    e.g., installing collision-bullet component:

    sudo apt-get install libdart6-collision-bullet-dev
    
  • Install everything

    sudo apt-get install libdart6-all-dev
    

Install DART from source

Install Required Dependencies

Make sure you have removed the DART packages:

sudo apt-get remove libdart*

Install required dependencies. A clean Ubuntu system will need:

sudo apt-get install build-essential cmake pkg-config git
sudo apt-get install libeigen3-dev libassimp-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev
sudo apt-get install libopenscenegraph-dev
Note: libopenscenegraph-dev is not an actual required dependency for building the core component of DART, but it’s necessary to build OpenSceneGraph based examples.

Install Optional Dependencies

  • NLopt Optimization Support

    • Xenial and Bionic

      sudo apt-get install libnlopt-dev
      
    • Since Cosmic

      sudo apt-get install libnlopt-cxx-dev
      
  • IPopt Optimization Support

    sudo apt-get install coinor-libipopt-dev
    
  • Bullet Collision Detector Support

    sudo apt-get install libbullet-dev
    
  • ODE Collision Detector Support

    sudo apt-get install libode-dev
    
  • VoxelGridShape
    sudo apt-get install liboctomap-dev
    
  • DART Planning Module
    Warning: The DART planning module is deprecated.
    sudo apt-get install libflann-dev
    
  • DART Parsers: SKEL, URDF, SDF, VSK

    sudo apt-get install libtinyxml2-dev
    sudo apt-get install liburdfdom-dev
    
  • GLUT GUI

    sudo apt-get install libxi-dev libxmu-dev freeglut3-dev
    
  • OpenSceneGraph GUI

    Note: If you’re going to build OpenSceneGraph based examples, then please install OpenSceneGraph.
    sudo apt-get install libopenscenegraph-dev
    

Build and Install DART

  1. Clone the repository into a directory in your home folder:

    git clone git://github.com/dartsim/dart.git
    
  2. Change directory to the DART repository and checkout the latest tag of DART 6, v6.8.2:

    cd dart
    git checkout tags/v6.8.2
    
  3. Create a build directory:

    mkdir build
    cd build
    
  4. Configure and build DART:

    cmake ..
    make -j4
    
  • Build Options

    • DART tests, tutorials, examples

      If you want to build the tests, tutorials, or examples, run follows:

      make -j4 tests
      make -j4 tutorials
      make -j4 examples
      

      Once you successfully build the tests, you can run all the tests at once as:

      $ make -j4 test  # or cmake -j4
      

      or run a particular test as:

      $ ./unittests/<category_name>/<test_name>  # e.g., ./unittests/unit/test_Uri
      

      Also, you can run tutorials and examples as:

      $ ./bin/<executable_name>  # e.g., ./bin/rigidCubes
      
  • Build Type

    You can specify the build type [ Debug | Release | RelWithDebInfo | Profile ] as:

    cmake .. -DCMAKE_BUILD_TYPE=Debug
    

    The default build type is Release.

  1. Install DART:

    sudo make install
    

    If you want to uninstall DART, then:

    sudo make uninstall
    
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
在UBUNTU虚拟机上安装R软件包
Ubuntu 安装 Sigil-EPub电子书编辑器
从iso文件到可以随时移植的虚拟机vdi镜像 (Ubuntu20版本和R语言4.0版本)
KinectV2+Ubuntu 14.04+Ros 安装教程
手把手教你搭建百度Apollo自动驾驶环境
Ubuntu 20.04 + opencv 4 + cuda 11 + opengl 详细配置流程
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服