Re: RTAB-Map rgbd_launch error Map received with code error 1!
Posted by
Gabe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/RTAB-Map-rgbd-launch-error-Map-received-with-code-error-1-tp1379p1387.html
Hey,
So i just tried the remote mapping method (
http://wiki.ros.org/rtabmap_ros/Tutorials/RemoteMapping) and I try to do the first step where we create the freenect_throttle.launch file (i named it notfreenect_throttle.launch because I am not using freenect, my camera topics are already being published, as seen from the picture), and I make the following modifications to the launch file they tell us to copy:
- I remove the
<include file="$(find freenect_launch)/launch/freenect.launch">
<arg name="depth_registration" value="True" />
</include>
part, because once I again I am not using freenect. To me, it looks like it should work if I remove these 3 lines because the other lines are just setting parameters and using the /camera node which I already have. When I run roslaunch notfreenect_throttle.launch rate:=5 , however, I get the following error:
roslaunch notfreenect_throttle.launch rate:=6
... logging to /home/administrator/.ros/log/cb4d5d36-2898-11e6-90b6-a5e4b072b989/roslaunch-CPR-J100-0018-6254.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.0.13:53458/
SUMMARY
========
PARAMETERS
* /camera/data_throttle/decimation: 1
* /camera/data_throttle/rate: 6.0
* /rosdistro: indigo
* /rosversion: 1.11.16
NODES
/camera/
data_throttle (nodelet/nodelet)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[camera/data_throttle-1]: started with pid [6272]
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
[camera/data_throttle-1] process has died [pid 6272, exit code -6, cmd /opt/ros/indigo/lib/nodelet/nodelet load rtabmap_ros/data_throttle camera_nodelet_manager rgb/image_in:=rgb/image_rect_color depth/image_in:=depth_registered/image_raw rgb/camera_info_in:=rgb/camera_info rgb/image_out:=data_throttled_image depth/image_out:=data_throttled_image_depth rgb/camera_info_out:=data_throttled_camera_info __name:=data_throttle __log:=/home/administrator/.ros/log/cb4d5d36-2898-11e6-90b6-a5e4b072b989/camera-data_throttle-1.log].
log file: /home/administrator/.ros/log/cb4d5d36-2898-11e6-90b6-a5e4b072b989/camera-data_throttle-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
How could I go about throttling my image and using it on RTAB? THanks :) (as mentioned, if you want to see the topics my camera publishes, see my first post)
Best,
Gabriel