ros运行D435报错解决 _ZN20ddynamic_reconfigure19DDynamicReconfigureC1ERKN3ros10NodeHandleE

运行以下指令出现报错

roslaunch realsense2_camera rs_camera.launch

报错信息如下所示

/opt/ros/melodic/lib/nodelet/nodelet: symbol lookup error: /home/nico/catkin_ws/devel/lib//librealsense2_camera.so: undefined symbol: _ZN20ddynamic_reconfigure19DDynamicReconfigureC1ERKN3ros10NodeHandleE
[camera/realsense2_camera_manager-1] process has died [pid 11552, exit code 127, cmd /opt/ros/melodic/lib/nodelet/nodelet manager __name:=realsense2_camera_manager __log:=/home/nico/.ros/log/8a4aa5aa-f974-11ed-ac63-a333cc6ddd13/camera-realsense2_camera_manager-1.log].
log file: /home/nico/.ros/log/8a4aa5aa-f974-11ed-ac63-a333cc6ddd13/camera-realsense2_camera_manager-1*.log
ros运行D435报错解决 _ZN20ddynamic_reconfigure19DDynamicReconfigureC1ERKN3ros10NodeHandleE_第1张图片
解决方法卸载ddynamic-reconfigure
运行以下指令

sudo apt-get remove ros-melodic-ddynamic-reconfigure

重新编译运行既可解决

你可能感兴趣的:(slam,ros,d435)