系统出现的问题及尝试的解决办法
1、moveit died , 用163 的镜像出现 死掉的情况,但是没有提出具体的出错信息,用163 的镜像,出现报错信息“非官方的软件包”,--因为在软件中心勾选了很多选项,尤其是在 ‘其他软件’ 部分; 换成 aliyun 的源 还是会 died ;
换成ustc 的镜像,仍然不发解决deied 的问题
2、采用源码安装的方式:不好使
3、可能的办法(不好使)
At the point where the Setup Assistant isloading the urdf, it starts to make proper use of your OpenGL subsystem. If anything is not ok there, it might lead tocrashes such as your seeing. This is especially true if you are runningUbuntu/ROS in a VM.
其他安装
· 采用其他版本访问:http://moveit.ros.org/install/
· 采用源码安装访问:http://moveit.ros.org/install/source
· 采用Docker安装访问:http://moveit.ros.org/install/docker
源码安装教程http://moveit.ros.org/install/source/
Virtual Machines: There have been many reports of problems with the ROS visualizationtool RViz when used in virtual machines. We therefore discourage the use ofvirtual machines with MoveIt! unless you are not interested in visualizationsupport.
Install ROS Indigo, Kinetic, or Lunar. Please makesure you have followed all steps and have the latest versions of packagesinstalled:
rosdep update
sudo apt-get update
sudoapt-get dist-upgrade
Source installation requires wstool, catkin_tools, andoptionally clang-format:
sudoapt-get install python-wstool python-catkin-tools clang-format-3.8
Optionally create a new workspace, youcan name it whatever:
mkdir -p ~/ws_moveit/src
cd~/ws_moveit/src
Follow the instructions below for eitherIndigo, Kinetic, or Lunar:
Pull down required repositories and buildfrom within the /src directory of your catkin workspace:
wstool init .
wstool mergehttps://raw.githubusercontent.com/ros-planning/moveit/indigo-devel/moveit.rosinstall
wstool update
rosdep install -y --from-paths .--ignore-src --rosdistro indigo
cd ..
catkin config --extend/opt/ros/indigo --cmake-args -DCMAKE_BUILD_TYPE=Release
catkinbuild
See final section below SourceThe Catkin Workspace. Optionally for MongoDB, OMPL, or FCLsource installs, see Building CommonMoveIt! Dependencies from Source in Catkin.
编译时报错
对‘ros::console::g_initialized’未定义的引用
对‘ros::console::initialize()’未定义的引用
ros::console::levels::Level)’未定义的引用
编写的是读取abb机器人关节量的 node,已在cmakelists 中添加了如下语句:
add_executable(get_joint src/get_joint.cpp)
解决报错的办法:
添加:target_link_libraries(get_joint
${catkin_LIBRARIES}
)
以上是必不可少的两步
add_dependencies 要看情况添加