RVIZ, multiple cameras (kinects), same global frame [closed]
I have 2 kinects (v1 1414) running from the same launch file. I can access both in rviz but I have to switch Global Options > Fixed Frame from kinect1_link
to kinect2_link
.
#Question
How can I make both cameras be viewed in the same Fixed Frame ?
Launch file:
<launch>
<arg name="camera1_id" default="#1" />
<arg name="camera2_id" default="#2" />
<arg name="camera1_name" default="kinect1" />
<arg name="camera2_name" default="kinect2" />
<!-- Launching first kinect-->
<include file="$(find freenect_launch)/launch/freenect.launch">
<arg name="device_id" value="$(arg camera1_id)" />
<arg name="camera" value="$(arg camera1_name)" />
<!--arg name="depth_registration" value="$(arg depth_registration)" /-->
</include>
<!-- Launching second kinect-->
<include file="$(find freenect_launch)/launch/freenect.launch">
<arg name="device_id" value="$(arg camera2_id)" />
<arg name="camera" value="$(arg camera2_name)" />
</include>
</launch>