PTAM CameraCalibrator错误

时间:2015-07-08 19:01:50

标签: camera-calibration ros

我正在尝试根据http://wiki.ros.org/ethzasl_ptam/Tutorials/camera_calibration使用ptam运行cameracalibrator.launch。但是,当我这样做时,我收到以下错误:

ERROR: cannot launch node of type [ptam/cameracalibrator]: can't locate node [cameracalibrator] in package [ptam]

我在运行代码之前我的devel / setup.bash来源,它仍然不起作用。这是我的启动文件:

<launch>
    <node name="cameracalibrator" pkg="ptam" type="cameracalibrator" clear_params="true" output="screen">
        <remap from="image_raw" to usb_cam/image_raw" />
        <remap from="pose" to="pose"/>
        <rosparam file="$(find ptam)/PtamFixParams.yaml"/>
    </node>
</launch>

以下是rostopic list的内容:

/rosout
/rosout_agg
/svo/dense_input
/svo/image
/svo/image/compressed
/svo/image/compressed/parameter_descriptions
...
/tf
/usb_cam/camera_info
/usb_cam/image_raw
/usb_cam/image_raw/compressed
...
/usb_cam/image_raw/theora
/usb_cam/image_raw/parameter_descriptions
/usb_cam/image_raw/parameter_updates

cameracalibration.launch文件为catkin_ws/src/ethzasl_ptam/ptam/launch的路径。

我不确定为什么会出现这种错误,因为当我运行roslaunch ptam cameracalibrator.launch时,它说:

NODES
  /
    cameracalibrator (ptam/cameracalibrator)

所以我认为ptam确实包含了cameracalibrator。如果有人可以请指出我的错误,那将非常有帮助。我一直在使用这篇文章作为指南,但它并没有给我太多帮助:Ros Dynamic Config file

正如在上面的链接中所说,我尝试了find . -executable,但我找不到cameracalibrator。我只能找到下面的内容。我该怎么办?

./include
./include/ptam
./cfg
...
./launch
./src
./src/ptam
./src/ptam/cfg
...

谢谢!

0 个答案:

没有答案