存在这样的问题是文件丢失,因此,直接新建一个该文件,然后写入即可。
- 打开一个新的终端,输入:
sudo gedit /opt/ros/indigo/share/hector_pose_estimation/hector_pose_estimation_nodelets.xml
-在打开的文件中输入以下内容:
<library path="lib/libhector_pose_estimation_nodelet">
<class name="hector_pose_estimation/PoseEstimationNodelet" type="hector_pose_estimation::PoseEstimationNodelet" base_class_type="nodelet::Nodelet">
<description>
This nodelet initializes the pose estimation filter with a generic system model driven by IMU measurements only.
</description>
</class>
</library>
保存文件即可。