Ask Your Question

CreFroD's profile - activity

2019-01-17 19:30:31 -0600 received badge  Famous Question (source)
2018-10-30 03:59:29 -0600 received badge  Famous Question (source)
2018-10-30 03:59:29 -0600 received badge  Notable Question (source)
2018-10-30 03:59:29 -0600 received badge  Popular Question (source)
2018-06-19 10:17:01 -0600 received badge  Famous Question (source)
2018-04-09 22:16:31 -0600 received badge  Notable Question (source)
2018-02-13 05:16:49 -0600 received badge  Enthusiast
2018-02-11 01:39:54 -0600 edited question Is it possible to get odometry only with a depth map and/or IR image?

Is it possible to get odometry only with depth map and/or IR image? I am about to buy Intel RealSense D410 OEM camera mo

2018-02-11 01:39:53 -0600 edited question Is it possible to get odometry only with a depth map and/or IR image?

Is it possible to get odometry only with depth map and/or IR image? I am about to buy Intel RealSense D410 OEM camera mo

2018-02-11 01:36:54 -0600 asked a question Is it possible to get odometry only with a depth map and/or IR image?

Is it possible to get odometry only with depth map and/or IR image? I am about to buy Intel RealSense D410 OEM camera mo

2018-02-10 12:07:40 -0600 marked best answer RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

I am trying to get visual odometry using Intel RealSense R200 camera. I use realsense_camera package built from source for ROS Lunar on Ubuntu Server 16.04. I use the following launch file:

<launch>
    <group ns="rs">
        <include file="$(find realsense_camera)/launch/r200_nodelet_default.launch"/>
        <node pkg="nodelet" type="nodelet" name="convert_metric"
              args="load depth_image_proc/convert_metric camera/nodelet_manager">
                <remap from="image_raw" to="/rs/camera/depth/image_raw"/>
                <remap from="image" to="image_depth_metric"/>
        </node>
        <node pkg="nodelet" type="nodelet" name="register"
              args="load depth_image_proc/register camera/nodelet_manager">
            <remap from="rgb/camera_info" to="camera/color/camera_info"/>
            <remap from="depth/camera_info" to="camera/depth/camera_info"/>
            <remap from="depth/image_rect" to="image_depth_metric"/>
        </node>

    </group>

    <group ns="rtabmap">
        <remap from="rgb/image"       to="/rs/camera/color/image_raw"/>
        <remap from="depth/image"     to="/rs/depth_registered/image_rect"/>
        <remap from="rgb/camera_info" to="/rs/camera/depth/camera_info"/>
        <!-- Odometry -->
        <node pkg="rtabmap_ros" type="rgbd_odometry" name="rgbd_odometry" output="screen"/>
    </group>
</launch>

When I launch it, I get the following warning continuously:

[ WARN] [1518261180.467050803]: odometry: Could not get transform from base_link to camera_rgb_optical_frame (stamp=1518261180.341307) after 0.100000 seconds ("wait_for_transform_duration"=0.100000)! Error="canTransform: target_frame base_link does not exist.. canTransform returned after 0.102466 timeout was 0.1."

Here is the whole launch output:

crefrod@robot:~/rns$ roslaunch launch.xml
... logging to /home/crefrod/.ros/log/57bdd86c-0e53-11e8-9bfc-0007323fd956/roslaunch-robot-14181.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://robot:33565/

SUMMARY
========

PARAMETERS
 * /rosdistro: lunar
 * /rosversion: 1.13.5
 * /rs/camera/driver/base_frame_id: camera_link
 * /rs/camera/driver/camera_type: R200
 * /rs/camera/driver/color_fps: 30
 * /rs/camera/driver/color_frame_id: camera_rgb_frame
 * /rs/camera/driver/color_optical_frame_id: camera_rgb_optica...
 * /rs/camera/driver/depth_frame_id: camera_depth_frame
 * /rs/camera/driver/depth_optical_frame_id: camera_depth_opti...
 * /rs/camera/driver/fisheye_frame_id: camera_fisheye_frame
 * /rs/camera/driver/fisheye_optical_frame_id: camera_fisheye_op...
 * /rs/camera/driver/imu_frame_id: camera_imu_frame
 * /rs/camera/driver/imu_optical_frame_id: camera_imu_optica...
 * /rs/camera/driver/ir2_frame_id: camera_ir2_frame
 * /rs/camera/driver/ir2_optical_frame_id: camera_ir2_optica...
 * /rs/camera/driver/ir_frame_id: camera_ir_frame
 * /rs/camera/driver/ir_optical_frame_id: camera_ir_optical...
 * /rs/camera/driver/mode: manual
 * /rs/camera/driver/serial_no: 
 * /rs/camera/driver/usb_port_id: 

NODES
  /rs/
    convert_metric (nodelet/nodelet)
    register (nodelet/nodelet)
  /rtabmap/
    rgbd_odometry (rtabmap_ros/rgbd_odometry)
  /rs/camera/
    driver (nodelet/nodelet)
    nodelet_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [14191]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 57bdd86c-0e53-11e8-9bfc-0007323fd956
process[rosout-1]: started with pid [14204]
started core service [/rosout]
process[rs/camera/nodelet_manager-2]: started with pid [14221]
process[rs/camera/driver-3]: started with pid [14222]
process[rs/convert_metric-4]: started with pid [14223]
process[rs/register-5]: started with pid [14228]
process[rtabmap/rgbd_odometry-6]: started with pid [14245]
[ INFO] [1518261176.542350541]: Initializing nodelet with 4 worker threads.
[ INFO] [1518261176.948816400]: Initializing nodelet with 4 worker threads.
Intel RealSense F200_camera ; 2.60.0.0
Intel RealSense LR200_camera ; 2.0.71.18
Intel RealSense R200_camera ; 1.0.72.06
Intel RealSense SR300_camera ; 3.10.10.0
Intel RealSense ZR300_adapter ; 1.29.0.0
Intel RealSense ZR300_camera ; 2.0.71.28
Intel RealSense ZR300_motion_module ; 1.25.0.0
[ INFO] [1518261176.953064472]: /rs/camera/driver ...
(more)
2018-02-10 12:01:37 -0600 received badge  Popular Question (source)
2018-02-10 06:51:10 -0600 edited question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame I am tryin

2018-02-10 06:50:20 -0600 edited question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

How do I run rtabmap rgbd_odometry with RealSense R200? I am trying to get visual odometry using Intel RealSense R200 ca

2018-02-10 06:48:57 -0600 edited question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

How do I run rtabmap rgbd_odometry with RealSense R200? I am trying to get visual odometry using Intel RealSense R200 ca

2018-02-10 05:14:02 -0600 edited question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

How do I run rtabmap rugby_odometry with RealSense R200? I am trying to get visual odometry using Intel RealSense R200 c

2018-02-10 05:14:02 -0600 received badge  Editor (source)
2018-02-10 05:13:37 -0600 edited question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

How do I run rtabmap rugby_odometry with RealSense R200? I am trying to get visual odometry using Intel RealSense R200 c

2018-02-10 05:13:02 -0600 asked a question RTABMap rgbd_odometry and intel realsense: Could not get transform from base_link to camera_rgb_optical_frame

How do I run rtabmap rugby_odometry with RealSense R200? I am trying to get visual odometry using Intel RealSense R200 c

2018-02-09 15:17:51 -0600 marked best answer How do I run realsense_camera package built with catkin without running a script before?

The realsense_camera package is not available for ROS Lunar, therefore I have built it from source as described in this tutorial. At the end of the tutorial an example on how to use the package is given:

source ~/catkin_ws/devel/setup.bash
roslaunch realsense_camera r200_nodelet_default.launch

So I want to avoid running this script every time and just run the package as if I installed it from repository:

roslaunch realsense_camera r200_nodelet_default.launch

I haven't ever used catkin before so I don't understand what the commands in tutorial actually do. Here is the contents of ~/catkin_ws/devel/setup.bash

#!/usr/bin/env bash
# generated from catkin/cmake/templates/setup.bash.in

CATKIN_SHELL=bash

# source setup.sh from same directory as this file
_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
. "$_CATKIN_SETUP_DIR/setup.sh"

How do I do this? If I understand it correctly, the package is not installed in the system. Does catkin has something like make install?

2018-02-09 15:17:51 -0600 received badge  Scholar (source)
2018-02-09 15:17:50 -0600 commented answer How do I run realsense_camera package built with catkin without running a script before?

Thank you! But I decided to add the script to /opt/ros/lunar/setup.bash, which I source anyway on the start of the syste

2018-02-08 17:49:39 -0600 received badge  Notable Question (source)
2018-02-08 14:07:19 -0600 received badge  Popular Question (source)
2018-02-08 12:47:10 -0600 commented answer How do I run realsense_camera package built with catkin without running a script before?

Thank you for your answer. I tried to execute the command you gave with sudo, but I get error: sudo: catkin_make_isolate

2018-02-08 12:41:12 -0600 received badge  Supporter (source)
2018-02-08 09:16:27 -0600 asked a question How do I run realsense_camera package built with catkin without running a script before?

How do I run realsense_camera package built with catkin without running a script before? The realsense_camera package is

2018-02-08 09:16:26 -0600 asked a question How to run realsense_camera built from source without calling setup.bash?

How to run realsense_camera built from source without calling setup.bash? The realsense_camera package is not available