Fixed Frame [map] does not exist
Hi.
I'm asking this question after going through almost every thread with similar questions, but still unable to solve this issue. I'll elaborate all steps I'm doing to make it easy for troubleshooting.
I'm trying to run this package. I'm using two Logitech C270 USB cameras and the usb_cam
package. The launch
file looks like this:
<launch>
<group ns="camera1">
<node name="usb_cam1" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video0" />
<param name="image_width" value="640" />
<param name="image_height" value="480" />
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="yuyv" />
<param name="io_method" value="mmap"/>
</node>
<node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen">
<remap from="image" to="/camera1/usb_cam1/image_raw"/>
<param name="autosize" value="true" />
</node>
</group>
<group ns="camera2">
<node name="usb_cam2" pkg="usb_cam" type="usb_cam_node" output="screen" >
<param name="video_device" value="/dev/video1" />
<param name="image_width" value="640" />
<param name="image_height" value="480" />
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="yuyv" />
<param name="io_method" value="mmap"/>
</node>
<node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen">
<remap from="image" to="/camera2/usb_cam2/image_raw"/>
<param name="autosize" value="true" />
</node>
</group>
</launch>
Cameras are grabbing images and there's no issue. If I do a rostopic list
I get these topics:
/camera1/image_view/output
/camera1/image_view/parameter_descriptions
/camera1/image_view/parameter_updates
/camera1/usb_cam1/camera_info
/camera1/usb_cam1/image_raw
/camera1/usb_cam1/image_raw/compressed
/camera1/usb_cam1/image_raw/compressed/parameter_descriptions
/camera1/usb_cam1/image_raw/compressed/parameter_updates
/camera1/usb_cam1/image_raw/compressedDepth
/camera1/usb_cam1/image_raw/compressedDepth/parameter_descriptions
/camera1/usb_cam1/image_raw/compressedDepth/parameter_updates
/camera1/usb_cam1/image_raw/theora
/camera1/usb_cam1/image_raw/theora/parameter_descriptions
/camera1/usb_cam1/image_raw/theora/parameter_updates
/camera2/image_view/output
/camera2/image_view/parameter_descriptions
/camera2/image_view/parameter_updates
/camera2/usb_cam2/camera_info
/camera2/usb_cam2/image_raw
/camera2/usb_cam2/image_raw/compressed
/camera2/usb_cam2/image_raw/compressed/parameter_descriptions
/camera2/usb_cam2/image_raw/compressed/parameter_updates
/camera2/usb_cam2/image_raw/compressedDepth
/camera2/usb_cam2/image_raw/compressedDepth/parameter_descriptions
/camera2/usb_cam2/image_raw/compressedDepth/parameter_updates
/camera2/usb_cam2/image_raw/theora
/camera2/usb_cam2/image_raw/theora/parameter_descriptions
/camera2/usb_cam2/image_raw/theora/parameter_updates
/rosout
/rosout_agg
Now I run the nodes as described in the README
file here. When I run rviz
, I get these
No tf data. Actual error: Fixed Frame [map] does not exist
So I used gmapping
as pointed out here
rosrun gmapping slam_gmapping
this time I do get Global Status: Ok
Fixed Frame: Ok
.
Now I can add a new display of the topic /camera_left_rect/disparity_map
and disparity map is shown without any problem.
But if I add a new display of the topic /camera_left_rect/point_cloud
(where point cloud is the output) I get this error:
Transform [sender=unknown_publisher] For frame [jackal]: Frame [jackal] does not exist
I did rosrun tf view_frames
and the output is this.
Where am I doing wrong? Please help.
Could you please attach your
view_frames
sshot to this post directly? I've given you enough karma to do so. Thanks.