Remote Mapping

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Remote Mapping

Jimmy Notron
Hi every one

I have Xtion sensor that connected to laptob 1 that working with Ros indigo

i set ros IP and ...

and running
roslaunch openni2_launch openni2.launch

and roslaunch remote.launch

remote.launch is denoted below:
################################################################
<launch>
  <include file="$(find openni2_launch)/launch/openni2.launch">
     <arg name="depth_registration" value="True" />
  </include>

  <arg name="rate"  default="5"/>
  <arg name="decimation"  default="1"/> 

 
   <group ns="camera">
    <node pkg="nodelet" type="nodelet" name="data_throttle" args="load rtabmap_ros/data_throttle camera_nodelet_manager" output="screen">
     

      <remap from="rgb/image_in"       to="rgb/image_rect_color"/>
      <remap from="depth/image_in"     to="depth_registered/image_raw"/>
      <remap from="rgb/camera_info_in" to="rgb/camera_info"/>

      <remap from="rgb/image_out"       to="data_throttled_image"/>
      <remap from="depth/image_out"     to="data_throttled_image_depth"/>
      <remap from="rgb/camera_info_out" to="data_throttled_camera_info"/>
    </node>
  </group>
</launch>
###############################################################

but we i launch this file i get below Error:

###############################################################
[FATAL] [1469699707.002415110]: Failed to load nodelet '/camera/driver` of type `openni2_camera/OpenNI2DriverNodelet` to manager `camera_nodelet_manager'
[FATAL] [1469699707.002417695]: Failed to load nodelet '/camera/rectify_color` of type `image_proc/rectify` to manager `camera_nodelet_manager'
[camera/rectify_color-3] process has died [pid 13890, exit code 255, cmd /opt/ros/indigo/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=rgb/image_raw image_rect:=rgb/image_rect_color __name:=rectify_color __log:=/home/hossein/.ros/log/5183b3e6-54a9-11e6-87a8-f0bf975b186a/camera-rectify_color-3.log].
log file: /home/hossein/.ros/log/5183b3e6-54a9-11e6-87a8-f0bf975b186a/camera-rectify_color-3*.log
[camera/driver-2] process has died [pid 13889, exit code 255, cmd /opt/ros/indigo/lib/nodelet/nodelet load openni2_camera/OpenNI2DriverNodelet camera_nodelet_manager ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered rgb/image:=rgb/image_raw depth/image:=depth_registered/image_raw __name:=driver __log:=/home/Jimmy/.ros/log/5183b3e6-54a9-11e6-87a8-f0bf975b186a/camera-driver-2.log].
log file: /home/Jimmy/.ros/log/5183b3e6-54a9-11e6-87a8-f0bf975b186a/camera-driver-2*.log

######################################################################################################

do you have any idea for fix it?
way to go! ;)
Reply | Threaded
Open this post in threaded view
|

Re: Remote Mapping

matlabbe
Administrator
Hi,

You don't have to do:
$ roslaunch openni2_launch openni2.launch 
if you are already starting openni2.launch in your remote.launch

Reply | Threaded
Open this post in threaded view
|

Re: Remote Mapping

Jimmy Notron
tnx it fixed
way to go! ;)