ROS ERROR

ERROR1: Failed to build tree: parent link [plate_2_link] of joint [camera_joint] not found.
roslaunch mrobot_description display_mrobot_with_camera.launch

ROS ERROR_第1张图片

ANSWER

原来的xacro文件的宏调用是现将其修改为
https://blog.csdn.net/weixin_43978019/article/details/110131040

ERROR2: Cannot load command parameter [robot_description]: command [[’/opt/ros/noetic/lib/xacro/xacro’, ‘–inorder’

RLException: Invalid tag: Cannot load command parameter [robot_description]: command [[’/opt/ros/noetic/lib/xacro/xacro’, ‘–inorder’, ‘/home/xng/catkin_ws/src/mrobot_description/urdf/mrobot.urdf.xacro’]] returned with code [2].
Param xml is
The traceback for the exception was written to the log file

ANSWER

改为绝对路径.

古月居ROS gazebo仿真不显示机器人问题

轮子等模型前加上xacro:

参见:
https://www.dtmao.cc/news_show_494144.shtml
https://blog.csdn.net/weixin_51326570/article/details/112862184

气得我想装melodic,发现ubuntu20.04还装不上…

  • 已重装18.04+melodic,世界又清净了:)
gazebo : [gazebo-2] process has died [pid 18299, exit code 255, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/***/.ros/log/630c298c-48c4-11ea-8111-000c29fced79/gazebo-2.log].
killall gzserver
gazebo building editor 添加窗户时闪退,
  • 集显,gazebo9和gazebo11均有同样问题。
  • 原因未知。
rosdep init /rosdep update 由于网络问题无限ERROR

1 已有加速器,加速器无法代理终端;
2 使用proxychains

		sudo apt-get install proxychains

在/etc/proxychains.conf最后sock5设置中将其改为自己的socks主机
ROS ERROR_第2张图片
编辑/usr/bin/proxychains

#!/bin/sh
echo "ProxyChains-3.1 (http://proxychains.sf.net)"
if [ $# = 0 ] ; then
    echo "  usage:"
    echo "      proxychains  [args]"
    exit
fi
#export LD_PRELOAD=libproxychains.so.3
#此处修改为实际路径
export LD_PRELOAD=/usr/lib/*******/libproxychains.so.3                                                                  
exec "$@

3 只需要在运行程序的命令前加上proxychains即可

proxychains rosdep update

你可能感兴趣的:(SLAM)