博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
openrave安装
阅读量:2155 次
发布时间:2019-05-01

本文共 2514 字,大约阅读时间需要 8 分钟。

需要用到某篇论文的代码,需要用到openrave等第三方库,折腾一番后记录一下

参考安装

然后测试OpenRAVE 
openrave.py --example hanoi
openrave.py --example graspplanning
注意记得安装下面的:

Collision Checkers and Physics Simulators

Although OpenRAVE is not tied to any particular collision checker, it requires at least one is installed to get basic functions. Here are the following libraries that have OpenRAVE plugins:

  •  - install from sources 0.8-0.10.1 tested to work. It is possible to compile ODE with double precision.
    • For 0.10.1, configuring with –enable-new-trimesh option will randomly crash openrave, so use at your own risk.
    • If not using enable-new-trimesh, disabling asserts (via –disable-asserts) is necessary due to some weird bug in normalization bug.
    • For 0.10+. If installing on x86-64 distro, configure ODE with –enable-shared.
  •  - Need to install to a system directory so OpenRAVE can find it using pkg-config. If using autotools configure, need to remove install-sh before running autogen.sh. Bullet is detected using pkg-config, so bullet.pc is needed.
  •  - source code separate inside pqprave plugin.
安装ODE
sudo dpkg -i file.deb
安装bullet
https://code.google.com/p/bullet/downloads/list
安装python包:
sudo apt-get install python-nltk 
  • Various Python packages: NumPy, YAML, JSON
sudo apt-get install python-scipy 
记得安装!!!
查询软件是否成功安装
dpkg 
-
s python-numpy
安装
JSON  sudo 
apt-get install libjson0-dev libjson0
安装ROS:
然后要先卸载libassimp3.0 ,断了vpn,再安装ROS
测试 roswtf
测试Moveit!是否安装好
roslaunch pr2_moveit_tutorials move_group_interface_tutorial.launch
找文件
find /usr -name "*scipy*"
.bashrc文件里要添加:
export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/dist-packages:/usr/share/pyshared"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_"
export PYTHONPATH="$PYTHONPATH:/usr/local/lib/python2.7/dist-packages"
source /usr/local/share/openrave-0.9/openrave.bash
source /opt/ros/hydro/setup.bash
export GUROBI_HOME="/opt/gurobi502/linux32"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
export GRB_LICENSE_FILE=/home/cwx/gurobi.lic
export PYTHONPATH="$PYTHONPATH:/home/cwx/trajopt-master:/home/cwx/trajopt-master/build/lib"
安装gurobi6.0.5
下载gurobi6.0.5
放到/opt
sudo tar xvfz gurobi6.0.5_linux64.tar.gz
修改环境变量
export GUROBI_HOME="/opt/gurobi605/linux64"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
获取许可证
grbgetkey b3a3ad84-f700-c014-85d1-565bf82e2231
修改环境变量
export GRB_LICENSE_FILE=/home/cwx/gurobi.lic
测试
gurobi.sh

转载地址:http://jctwb.baihongyu.com/

你可能感兴趣的文章
用验证曲线 validation curve 选择超参数
查看>>
用 Grid Search 对 SVM 进行调参
查看>>
用 Pipeline 将训练集参数重复应用到测试集
查看>>
PCA 的数学原理和可视化效果
查看>>
机器学习中常用评估指标汇总
查看>>
什么是 ROC AUC
查看>>
Bagging 简述
查看>>
详解 Stacking 的 python 实现
查看>>
简述极大似然估计
查看>>
用线性判别分析 LDA 降维
查看>>
用 Doc2Vec 得到文档/段落/句子的向量表达
查看>>
使聊天机器人具有个性
查看>>
使聊天机器人的对话更有营养
查看>>
一个 tflearn 情感分析小例子
查看>>
attention 机制入门
查看>>
手把手用 IntelliJ IDEA 和 SBT 创建 scala 项目
查看>>
双向 LSTM
查看>>
GAN 的 keras 实现
查看>>
AI 在 marketing 上的应用
查看>>
Logistic regression 为什么用 sigmoid ?
查看>>